HELOC vs a 401(k) Loan

Elena Navarro

Elena Navarro

Last updated November 4, 2026

In this article

I grew up watching my parents run a mid-sized agricultural supply company, and home repairs were never just “home” expenses. A busted roof could change cash flow, force tough borrowing decisions, and add a new layer of stress to an already busy season. Years later as a CFP, I see the same dynamic with homeowners today: when something big breaks, you need funding that fixes the problem without creating a bigger one.

Two popular ways homeowners come up with money are a HELOC (home equity line of credit) and a 401(k) loan. They can both work, but they carry very different risks and “fine print” consequences.

This guide walks through how each option typically works, then uses one realistic homeowner example so you can compare rate, payment, foreclosure risk, job-separation rules, and the tax consequences if a 401(k) loan goes sideways.

A homeowner sitting at a kitchen table reviewing loan paperwork next to a laptop with a budget spreadsheet.

Quick definitions

HELOC

A HELOC is a revolving line of credit secured by your home. You are borrowing against your home equity. Most HELOCs have a draw period (when you can borrow and repay repeatedly) followed by a repayment period (when you pay it back over time). Many HELOC rates are variable, meaning the rate can change with market rates.

401(k) loan

A 401(k) loan is borrowing from your own retirement plan balance under your employer plan rules. You typically pay interest back into your own account, but there are constraints: limits on how much you can borrow, payroll-deduction repayments, and important rules if you leave your job.

Meet one homeowner

Let’s use one homeowner, Maya, to keep the comparison grounded.

  • Goal: $25,000 for a home repair (think roof replacement plus some unexpected water damage).
  • Situation: She owns a home with equity and also has a workplace 401(k) that allows loans.
  • Priority: She wants manageable payments, but she is also worried about “what if I change jobs?” and “what if the economy slows down?”
A roofing contractor on a ladder inspecting shingles on a suburban home during daylight.

How fast can you get the money

HELOC timing

A HELOC is a real loan with underwriting. Depending on the lender, your documentation, and whether an appraisal is required, funding can take from days to a few weeks. If your repair is urgent, ask the lender what a realistic close timeline looks like for your situation.

401(k) loan timing

401(k) loans can be relatively fast because there is no credit underwriting. Many plans can process a loan quickly once you submit the request. The limiting factor is usually plan rules and payroll processing, not your credit score.

Loan limits and terms

401(k) loan limits

Most plans follow the standard federal cap: the maximum is generally the lesser of $50,000 or 50% of your vested account balance, though there are nuances based on prior loans and smaller-balance rules. Whether Maya can borrow $25,000 depends on her vested balance and her plan’s specific loan policy.

401(k) loan term

A common maximum term is five years, unless the loan is used to purchase a primary residence (some plans allow longer terms in that case). For repairs, you should assume a five-year clock unless your plan documents say otherwise.

HELOC limits

HELOC limits depend on your lender’s maximum combined loan-to-value guidelines, your credit, your income, and the home’s appraised value. If your home value has fallen or your income has changed, your available line can be smaller than you expect.

Interest rate

HELOC rates

HELOC rates often track broader interest rate conditions and are commonly variable. That means your starting rate might look appealing, but the payment can rise if rates rise. Lenders also price HELOCs based on credit, home equity, and overall risk.

What to watch: variable-rate features, introductory teaser rates, and how quickly the rate can reset.

401(k) loan rates

401(k) loan interest rates are set by plan rules and are often described as something like “prime plus 1%” or similar. The key headline feature is that you are paying interest to yourself. The key financial reality is that the interest rate is only part of the cost.

Opportunity cost to consider: when you borrow from your 401(k), that amount is typically moved out of your chosen investments and into a loan balance that is credited with the loan interest. You are trading market exposure for that loan-interest credit during the loan term.

What the payment can look like

Numbers help, so here is a simple illustration for Maya. These are not quotes, just reasonable example math to show how the moving parts behave.

Example assumptions

  • HELOC: $25,000 balance, 9.00% variable APR, interest-only during the draw period.
  • 401(k) loan: $25,000, 5-year term, 9.50% interest (for example, prime + 1%), repaid via payroll deductions.

Illustrative payments

  • HELOC interest-only payment: about $188 per month ($25,000 x 9.00% ÷ 12). That is the appeal, and also the trap if you never pay principal.
  • 401(k) loan amortizing payment: roughly $525 per month for 60 months at 9.50% (principal and interest).

Where HELOC payment shock shows up

If Maya pays interest-only for a while and still owes the full $25,000 when repayment kicks in, the payment can jump because she now has to amortize principal. For example, $25,000 amortized over 10 years at 9.00% is roughly $317 per month, and that payment could still move if the rate moves.

The point is not the exact dollar. It is the shape of the risk: HELOC payments can start low and rise later, while a 401(k) loan is usually a steady, forced-paydown schedule.

Monthly payment style

HELOC payments

Many HELOCs start with interest-only minimum payments during the draw period, which can keep early payments lower. That flexibility can be helpful during a repair-heavy year, but it can also tempt people into paying less than they should, leaving a balance that later converts into a larger amortizing payment.

Payment shock risk: when the draw period ends, payments can rise because you are now paying principal, and possibly at a different rate.

401(k) loan payments

401(k) loan payments are typically made through payroll deductions on a set schedule. For many people, that structure is a benefit because it is automatic and predictable.

Cash flow reality: your take-home pay drops. Maya feels it immediately in her paycheck, even if the rate seems reasonable on paper.

What is on the line

HELOC

A HELOC is secured by your home. If you cannot repay, the lender can pursue collection remedies and can ultimately pursue foreclosure, depending on the loan’s lien position (first lien vs second lien), your state’s rules, and the lender’s approach. Foreclosure is not typically the result of one missed payment, but it is the defining risk: you are putting your house on the line.

401(k) loan

A 401(k) loan is not secured by your home. If you default, you do not face foreclosure because of the 401(k) loan itself. The trade-off is different: the downside shows up as taxes, penalties, and retirement setbacks rather than a housing lien risk.

A suburban single-family home exterior at dusk with porch lights on.

Job changes

This is the part I wish more people understood before they click “accept.”

What can happen if you leave your job

401(k) loans are tied to your employer plan. If Maya is laid off, quits, or is terminated, the plan may require a payoff. In many cases, if the loan is not paid back, the plan will treat the remaining balance as a plan loan offset, meaning the unpaid amount is removed from the plan and reported for tax purposes.

The key update since TCJA: if a loan balance becomes a plan loan offset after separation, the borrower can often avoid current taxes and the 10% additional tax by rolling over an equivalent amount into an IRA or another employer plan by the tax filing deadline (including extensions). That can be a lifesaver, but it requires having the cash available to complete the rollover.

Why this matters: a job change can turn a manageable monthly payment into either (1) an urgent payoff request or (2) a plan loan offset and a scramble to come up with rollover money by the deadline.

HELOC and job changes

A HELOC is not tied to your employer. If Maya changes jobs, the HELOC does not usually become immediately due solely because she switched employers. Her income might change, which affects affordability, but the loan itself does not typically accelerate because her employer changed.

If a 401(k) loan fails

If a 401(k) loan is not repaid according to the plan’s rules and it becomes a taxable event, the remaining balance is generally treated as taxable income.

  • Income taxes: the offset or deemed distribution amount is typically added to taxable income for the year.
  • Possible 10% additional tax: if Maya is under age 59.5, she may also owe an additional 10% tax unless an exception applies. Exceptions exist, but they are limited and very specific.
  • Retirement setback: beyond taxes, she may lose years of compounding on that money.

It is not just “I pay myself interest.” In a bad-timing scenario, a 401(k) loan can create a tax bill when you are least prepared to handle one, unless you can complete a rollover in time.

Other costs to check

HELOC fees and rules

Some HELOCs have minimal upfront costs, while others have application fees, appraisal fees, annual fees, or early closure fees. It varies widely by lender and market. Ask for a fee schedule in writing.

Also ask about draw freezes: some lenders can reduce, suspend, or freeze access to the line under certain conditions, such as a major drop in home value or a change in your credit profile. If you are relying on future draws for phased repairs, that matters.

401(k) loan fees

Many plans charge an origination fee and sometimes an annual maintenance fee. The dollar amounts might look small compared to a HELOC’s potential closing costs, but they still matter, especially for smaller loans.

Tax angle most homeowners miss

HELOC interest deduction

HELOC interest is not automatically deductible. In general, interest may be deductible only if the money is used to buy, build, or substantially improve the home that secures the loan, and only if you itemize deductions and meet other IRS rules and limits. Roof replacement and major repairs often qualify as an improvement, but the details matter.

If deductibility is a deciding factor for you, confirm how you are planning to use the funds and check with a tax pro. A deduction that you do not actually qualify for is not a benefit.

401(k) loan interest

Interest you pay on a 401(k) loan generally is not deductible. You are paying it back into your plan, not paying deductible mortgage interest to a lender.

Other options

If neither of these feels right, it is worth at least asking what else is on the table: an insurance claim (if applicable), contractor financing, a personal loan, a cash-out refinance, or simply staging the repair and using some cash savings. Sometimes the best move is mixing sources so no single risk dominates.

Decision guide for $25,000

Here is how I would coach Maya to think about it, in plain language.

A HELOC may fit if

  • She has stable income and a strong plan to repay, and she is comfortable with her home being collateral.
  • She wants flexibility to draw only what she needs as the repair progresses.
  • She wants the option to pay interest-only early, while understanding the later payment jump risk.

A 401(k) loan may fit if

  • She wants predictable payments through payroll deduction and can absorb the reduction in take-home pay.
  • She has limited access to affordable credit elsewhere, but has significant retirement savings.
  • She is very confident she will remain employed with the same employer long enough to repay, or she has a realistic plan to handle a payoff or rollover if she leaves.

When I would slow down

  • High job uncertainty: if layoffs are possible or she is already job hunting, a 401(k) loan risk climbs.
  • Thin emergency fund: either option can backfire if one surprise expense forces missed payments.
  • Already stretched housing budget: adding a HELOC payment on top of a tight mortgage situation can create cascading risk.

Side-by-side recap

FeatureHELOC401(k) loan
CollateralHomeRetirement account balance
Rate typeOften variableSet by plan rules, often tied to prime
Payment styleFlexible draws, may start interest-onlyUsually fixed schedule via payroll deduction
Major riskCollections and possible foreclosure over time if unpaidPlan loan offset or deemed distribution, taxes and possible penalty, retirement setback
Job change impactTypically none to loan termsMay require payoff or trigger plan loan offset, rollover option by tax deadline may apply
SpeedOften days to weeksOften faster, depends on plan
Other gotchaPossible line freeze or reduced accessMissed market exposure while loan is outstanding

FAQ

Is a 401(k) loan better because you pay interest to yourself

Not automatically. You may still pay fees, you may miss market growth while the money is out of your investments, and the job-separation and plan loan offset rules can be costly if you cannot roll over funds in time. “Paying yourself” is a real feature, but it is not the whole picture.

Can a HELOC lender raise my rate or payment

If your HELOC has a variable rate, changes in market rates can raise your rate, which can raise your payment. Also, if you are in an interest-only draw period, your payment can jump later when repayment begins.

What if I leave my employer with a 401(k) loan

Your plan may require payoff, or the loan may be treated as a plan loan offset. If that happens, you may be able to avoid taxes and the 10% additional tax by rolling over an equivalent amount by your tax filing deadline (including extensions). If you cannot, the offset amount is generally taxable, and you may owe an additional 10% tax if you are under 59.5 and no exception applies.

Should I talk to a tax pro or financial planner first

If the amounts are large, your job situation is uncertain, you might be relying on an interest deduction, or you are already carrying high-interest debt, it is worth getting advice. One short conversation can prevent a very expensive surprise.

The bottom line

For Maya’s $25,000 repair, a HELOC is usually the “housing risk” option: it may offer flexibility, but it puts the home on the line and the payment can change. A 401(k) loan is usually the “job and retirement risk” option: it can be clean and automatic until a job change triggers payoff pressure or a plan loan offset, and then the tax rules get real in a hurry.

If you are deciding between the two, start with two questions: How stable is my job situation over the next couple of years? and How dangerous would it be to add debt secured by my home? Your answers often make the decision much clearer than the interest rate headline.