Can You Borrow From a 401(k) Without Penalty?

You can borrow from a 401(k) without penalty in two different ways, and it helps to know which one you actually need. A plan loan lets you take money from your vested balance and pay yourself back; because it is a loan, not a distribution, no income tax and no 10% early withdrawal penalty apply as long as you stay current. Actual withdrawals before age 59½ normally do trigger the 10% penalty, but federal law lists specific exceptions that let you take the cash penalty-free. Income tax still applies to those withdrawals, but the penalty piece alone can save thousands.

Taking a 401(k) Loan

A 401(k) loan is the cleanest way to access retirement money early without a tax hit. You borrow from your own vested balance, pay yourself back with interest through payroll deductions, and the IRS treats the transaction as debt rather than a distribution.1Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts Not every employer plan offers loans. Your Summary Plan Description will say, and the plan administrator can confirm.

How Much You Can Borrow

The cap is the lesser of $50,000 or half your vested account balance.1Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts A $10,000 floor applies for small balances, meaning you could borrow up to $10,000 even if that exceeds half your vested amount. Most plans won’t let you go beyond your actual vested balance.

One rule catches people. The $50,000 cap is reduced by your highest outstanding loan balance during the previous 12 months. If you borrowed $30,000 last year and paid it down to $5,000, your new ceiling isn’t $50,000. It’s $50,000 minus the $25,000 difference between the prior high and your current balance, so $25,000.2Internal Revenue Service. Issue Snapshot – Borrowing Limits for Participants With Multiple Plan Loans

Repayment Rules

You have five years to pay the loan back, with level payments made at least quarterly. The one exception is a loan used to buy your primary home, which can carry a longer term.1Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts Interest is usually the prime rate plus a point or two and goes back into your own account. You cannot structure a 401(k) loan as a credit card or other revolving arrangement.

Miss enough payments and the loan defaults. When that happens, the outstanding balance becomes a taxable distribution: income tax on the full remaining amount, plus the 10% penalty if you’re under 59½.3Internal Revenue Service. Retirement Topics – Plan Loans What started as a tax-free way to access money can turn into one of the most expensive.

Some plans require your spouse’s written consent for loans over $5,000, though most 401(k)s are structured so this doesn’t apply.3Internal Revenue Service. Retirement Topics – Plan Loans

The Double-Tax Catch

You repay a 401(k) loan with after-tax dollars from your paycheck. When you eventually withdraw that same money in retirement, it gets taxed again as ordinary income. The interest portion faces the same treatment. A 401(k) loan can still make sense, but the real cost is higher than the stated rate.

What Happens If You Leave Your Job With a Loan Outstanding

This is where 401(k) loans blindside people. If you quit, get laid off, or retire while still owing money on the loan, the plan will treat the unpaid balance as a distribution and report it on Form 1099-R.3Internal Revenue Service. Retirement Topics – Plan Loans That means income tax on the full remaining balance and, if you’re under 59½, the 10% penalty on top.

You can undo this. If the distribution happened because you separated from service, you have until your federal tax filing deadline for that year, including extensions, to roll the outstanding loan amount into an IRA or another eligible retirement plan.4Internal Revenue Service. Plan Loan Offsets That’s much longer than the standard 60-day rollover window. You do need to come up with the cash from other sources, since the plan already netted the loan against your account, but a timely rollover erases the tax consequences.

Penalty-Free Withdrawal Exceptions

Beyond loans, federal law lets you take an actual distribution before 59½ without the 10% penalty in specific situations. Income tax still applies (the money is treated as ordinary income), but the exceptions save you the penalty layer.

Rule of 55

If you leave your job during or after the year you turn 55, you can withdraw penalty-free from the 401(k) tied to that employer.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Public safety employees of state or local governments qualify starting at age 50. The exception applies only to the plan at the employer you’re separating from. Balances in old 401(k)s from previous jobs don’t qualify.

Disability

Total and permanent disability qualifies you for penalty-free distributions. A physician must certify that your condition prevents substantial work and is expected to last indefinitely or result in death.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions

Terminal Illness

A physician’s certification that your condition is reasonably expected to result in death within 84 months lets you withdraw penalty-free. This provision came from the SECURE 2.0 Act. If your health improves, you have the option to repay the distribution within three years.

Substantially Equal Periodic Payments

Sometimes called SEPP or the 72(t) method, this lets you avoid the penalty at any age by committing to fixed annual withdrawals based on life expectancy. The IRS accepts three calculation methods: required minimum distribution, fixed amortization, and fixed annuitization.6Internal Revenue Service. Substantially Equal Periodic Payments

You’re locked into the schedule for the later of five years or the date you reach 59½. Start at 52 and you continue for roughly seven and a half years. Start at 57 and you go at least five full years, past 59½. Break the schedule early and the IRS retroactively applies the 10% penalty to every withdrawal you took, plus interest.6Internal Revenue Service. Substantially Equal Periodic Payments SEPP fits a long-term income need, not a one-time cash crunch.

Birth or Adoption

Each parent can withdraw up to $5,000 within one year of a child’s birth or a finalized adoption.1Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts Both parents can each take $5,000 from their own plans. Repayment is allowed but not required.

SECURE 2.0 Withdrawals

Several newer categories were added by SECURE 2.0. These are optional for plan sponsors, so check whether your plan has adopted them:

  • Emergency personal expenses: one withdrawal per year up to $1,000 for unforeseeable financial needs, repayable within three years. If you don’t repay, you can’t take another until the three-year window closes.
  • Domestic abuse: victims can withdraw the lesser of $10,000 or 50% of the vested balance within 12 months of the abuse, with a three-year repayment option.
  • Federally declared disasters: up to $22,000 penalty-free if you live in an area affected by a qualifying disaster, taken within 180 days. The income tax can be spread over three years.

Qualified Domestic Relations Order

If a court issues a QDRO dividing your 401(k) in a divorce, the alternate payee (usually your former spouse) can take distributions from the plan without the 10% penalty.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions This exception is specific to qualified plans and does not extend to IRAs.

IRS Levy

If the IRS levies your retirement plan to collect unpaid taxes, the resulting distribution is exempt from the 10% penalty.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions It’s not a voluntary option, just what happens when the government forces a withdrawal.

Unreimbursed Medical Expenses

You can withdraw penalty-free to cover unreimbursed medical expenses above 7.5% of your adjusted gross income.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Only the amount above the threshold qualifies. With an $80,000 AGI and $10,000 in medical bills, $4,000 of the withdrawal is eligible.

Hardship Withdrawals Are Not Automatically Penalty-Free

Hardship withdrawals get confused with penalty exceptions, and the distinction matters. A hardship withdrawal permanently removes money from the plan. You cannot repay it and cannot roll it over.7Internal Revenue Service. Retirement Topics – Hardship Distributions The full amount is taxed as ordinary income, and unless you also independently qualify for one of the exceptions above, you still owe the 10% penalty.

Qualifying hardship reasons under IRS safe harbor rules include unreimbursed medical expenses, costs of buying a primary residence, tuition and related education costs for the next 12 months, payments to prevent eviction or foreclosure, funeral expenses, and certain home repairs.7Internal Revenue Service. Retirement Topics – Hardship Distributions Meeting one of these reasons gets you the money; it does not, on its own, spare you the penalty.

The Mandatory 20% Withholding

When you take a cash distribution rather than rolling it directly to another retirement account, the plan must withhold 20% of the taxable amount for federal income tax. You cannot opt out.8Office of the Law Revision Counsel. 26 USC 3405 – Special Rules for Pensions, Annuities, and Certain Other Deferred Income Request $30,000 and $24,000 lands in your account. The other $6,000 goes to the IRS as a prepayment against your tax bill.

A direct rollover avoids the withholding entirely, because the plan sends the money straight to another eligible plan or IRA without it passing through your hands.9Internal Revenue Service. 401(k) Resource Guide – Plan Participants – General Distribution Rules If you take the cash intending to roll it over yourself within 60 days, you have to replace the withheld 20% from other funds or the shortfall counts as a taxable distribution.

Roth 401(k) Money Behaves Differently

Roth 401(k) contributions were made with after-tax dollars, so an early withdrawal is split proportionally between contributions and earnings. The contribution portion comes out tax-free and penalty-free. Only the earnings piece faces income tax and the 10% penalty. Once you’re past 59½ and the Roth account has been open at least five years, the whole balance including gains comes out completely tax-free.

Claiming the Exception on Your Tax Return

Every distribution generates a Form 1099-R from your plan administrator by January 31 of the following year.10Internal Revenue Service. 2025 Instructions for Forms 1099-R and 5498 Box 7 carries a distribution code. Code 1 means an early distribution with no known exception. Code 2 means an exception applies, like separation from service after 55.

Watch for this: several penalty-exempt distributions, including birth or adoption withdrawals and emergency expense distributions, are still reported with Code 1. You claim the exception yourself on Form 5329 when you file.10Internal Revenue Service. 2025 Instructions for Forms 1099-R and 5498 Keep the supporting documentation (physician certification, birth certificate, disaster declaration) in case the IRS asks.

Loans in good standing don’t generate a 1099-R. The form appears only if the loan later becomes a distribution because of default or job separation.