What Is a Primary Residence Loan From a 401(k)?

A primary residence loan from a 401(k) lets you borrow from your own retirement account to buy a home you’ll live in, with a repayment window that stretches beyond the five-year limit that applies to other 401(k) loans. The cap is generally the lesser of $50,000 or half your vested balance, and you repay yourself with interest through payroll deductions.1Internal Revenue Service. Retirement Topics – Loans The appeal is obvious. The rules are strict, and the cost of getting them wrong can be steep.

First, Check Whether Your Plan Offers One

Federal law permits 401(k) plans to include a loan feature. It does not require them to.2U.S. Department of Labor. FAQs About Retirement Plans and ERISA Some employers don’t allow loans at all. Others allow general-purpose loans but don’t extend the repayment period for a home purchase, which is the whole reason the primary residence loan exists. The only way to know is to read your summary plan description or ask your plan administrator. If your plan doesn’t offer the longer term, you could still borrow for a down payment under the standard five-year rule, but the monthly payments on that short of a schedule are rarely workable alongside a new mortgage.

What the Loan Can Be Used For

The tax code lifts the five-year repayment rule only when the loan is used to “acquire any dwelling unit” that will serve as your principal residence within a reasonable time after the loan is made.3Office of the Law Revision Counsel. 26 USC 72 – Annuities, Certain Proceeds of Endowment and Life Insurance Contracts “Acquire” is the operative word. You can use the funds for the full purchase price, as a down payment alongside a mortgage, or to build a new home. You cannot use the loan to renovate a home you already own, to pay off an existing mortgage, or to consolidate other debts. Those uses would knock the loan out of the primary residence exception.

The “dwelling unit” definition is broader than most buyers assume. Federal regulations treat a houseboat, a mobile home, or a cooperative apartment as a principal residence if you actually live there.4eCFR. 26 CFR 1.121-1 – Exclusion of Gain From Sale or Exchange of a Principal Residence Condominiums and townhouses qualify as well. The structure doesn’t matter; the use does.

If the IRS later determines the loan wasn’t actually used to acquire a primary residence, the entire balance gets reclassified as a taxable distribution. That means income tax on the full amount, plus the 10% early withdrawal penalty if you’re under 59½.5Internal Revenue Service. Topic No. 557, Additional Tax on Early Distributions From Traditional and Roth IRAs

How Much You Can Borrow

The borrowing limit is the lesser of $50,000 or half your vested account balance.3Office of the Law Revision Counsel. 26 USC 72 – Annuities, Certain Proceeds of Endowment and Life Insurance Contracts If your vested balance is $80,000, your maximum is $40,000. If it’s $200,000 or more, the cap is $50,000.

A floor exists for smaller accounts. If half your vested balance is less than $10,000, the law allows the limit to be set at $10,000 instead. So someone with a $14,000 vested balance could potentially borrow $10,000 rather than $7,000. Plans are not required to adopt this provision, so yours may not include it.1Internal Revenue Service. Retirement Topics – Loans

If you already have an outstanding 401(k) loan, the $50,000 cap shrinks. The IRS reduces it by the difference between your highest loan balance during the previous 12 months and your current outstanding balance on the date of the new loan.6Internal Revenue Service. Retirement Plans FAQs Regarding Loans This stops people from cycling loans to pull more than $50,000 out of the plan. The math gets complicated fast; ask your administrator to run the numbers before you apply.

The limits apply across all plans maintained by the same employer or related employer group. You cannot work around the cap by borrowing from two plans within the same employer family.3Office of the Law Revision Counsel. 26 USC 72 – Annuities, Certain Proceeds of Endowment and Life Insurance Contracts

Repayment Term and Interest Rate

Standard 401(k) loans have to be repaid within five years. The primary residence exception removes that cap, and the tax code sets no specific replacement deadline.3Office of the Law Revision Counsel. 26 USC 72 – Annuities, Certain Proceeds of Endowment and Life Insurance Contracts Your plan sets the maximum term. Common choices are 10, 15, or 20 years, and some plans go to 30. Check the plan document for your specific limit.

Whatever the term, the law requires substantially level amortization with payments made at least quarterly.1Internal Revenue Service. Retirement Topics – Loans In practice, almost everyone repays through automatic after-tax payroll deductions.

Plan administrators are required to charge a “reasonable rate of interest.”2U.S. Department of Labor. FAQs About Retirement Plans and ERISA Most plans set it at the prime rate plus 1% to 2%. With the prime rate at 6.75% as of late 2025, that puts typical 401(k) loan rates in the 7.75% to 8.75% range. The rate is usually locked at the time you take the loan. The interest you pay doesn’t go to a bank. It goes back into your own 401(k) account, which is one of the genuinely attractive features of the arrangement.

If You Go on Leave

Your plan may suspend loan payments for up to a year during an unpaid leave of absence. When you return, you make up the missed amount by increasing your regular payment or paying a lump sum. The plan cannot extend the original maximum repayment period to accommodate the suspension.7Internal Revenue Service. 401(k) Plan Fix-It Guide – Participant Loans

Military Service

Active military service gets different treatment. Payments can be suspended for longer than a year, and the repayment period is extended by the length of the service.7Internal Revenue Service. 401(k) Plan Fix-It Guide – Participant Loans

What Happens If You Leave Your Job

This is where the primary residence loan gets dangerous. If you leave your employer with an outstanding balance, the plan will typically treat the unpaid amount as a distribution and report it to the IRS on Form 1099-R.1Internal Revenue Service. Retirement Topics – Loans The remaining balance becomes taxable income for that year. If you’re under 59½, the 10% early withdrawal penalty applies on top.

There is one escape route. If the unpaid balance qualifies as a plan loan offset, you can roll that amount into an IRA or another eligible retirement plan by your tax filing deadline, including extensions. A six-month extension pushes the deadline from April 15 to October 15, giving you more time to come up with the cash.8Internal Revenue Service. Plan Loan Offsets The rollover must be in cash, since what you received was a loan balance rather than an investment holding. Miss the deadline and the tax bill is permanent.

Weigh this risk carefully before you borrow. A primary residence loan can run 15 or 20 years, and job changes over that span are hard to predict. An involuntary job loss while carrying a $40,000 balance can leave you owing taxes on money you already spent closing on a house.

Default While You’re Still Employed

Missing payments can trigger a default even if you keep your job. When a loan defaults, the entire unpaid balance plus accrued interest becomes a “deemed distribution,” meaning income tax on the full amount and potentially the 10% penalty.6Internal Revenue Service. Retirement Plans FAQs Regarding Loans Most plans provide a cure period, often through the end of the calendar quarter following the missed payment, before declaring the default.

Deemed distributions have an unusual feature. Even after you’ve been taxed on the balance, you still owe the repayment obligation to the plan.9Internal Revenue Service. Plan Loan Failures and Deemed Distributions And unlike an offset, the deemed distribution cannot be rolled into an IRA. Avoiding default should be a top priority, because the consequences are nearly impossible to unwind.

The Cost You Won’t See on a Statement

Money you borrow from your 401(k) stops earning investment returns while it’s out. You’re replacing market growth with the interest rate on your loan, which is typically lower than long-term equity returns. On a $30,000 loan repaid over 15 years, the gap between earning 8% annually in a diversified portfolio and receiving 7.75% in loan interest can add up to thousands of dollars by retirement. The longer the term and the larger the balance, the wider the gap.

This opportunity cost doesn’t show up anywhere, which is why people overlook it. You’re not losing money in the traditional sense, but you’re trading higher expected returns for guaranteed lower ones. For a small loan paid back quickly, the effect is modest. For a large loan carried over a decade or more, it can meaningfully shrink your eventual retirement balance.

Spousal Consent

If your plan is subject to the qualified joint and survivor annuity rules, your spouse must consent in writing before you can use your account balance as collateral for the loan. The consent must be given within the 90-day period ending on the date the loan is secured.10Internal Revenue Service. Issue Snapshot – Spousal Consent Period to Use an Accrued Benefit as Security for Loans Many standard 401(k) profit-sharing plans have opted out of the joint and survivor annuity requirements, so the rule may not apply to yours. Confirm with your administrator.

Applying for the Loan

The process varies by plan, but the core steps are consistent. You’ll need a signed purchase agreement showing the price and the parties, along with an estimate of closing costs. Those documents prove the loan qualifies for the primary residence exception. Most administrators run the application through an online portal where you specify the loan amount, repayment term, and disbursement method. Mismatches between your application and your supporting documents can delay or derail approval.

Processing fees usually run $50 to $150, deducted from the loan proceeds or charged to your account.11U.S. Department of Labor. A Look at 401(k) Plan Fees Factor that into your closing math so you know the net amount available. Processing typically takes five to ten business days after all documents are submitted. Once approved, the plan liquidates the loan amount from your investment holdings and sends the funds, usually by electronic transfer within a few business days. Coordinate the timing with your closing date so the money arrives when you need it.