You can borrow from your 401k without any tax or penalty by taking a plan loan that stays within federal limits and gets repaid on schedule. Under the tax code, a qualifying loan from your employer’s plan is not treated as a distribution, so no income tax and no 10 percent early withdrawal penalty apply to the money you receive. If your plan doesn’t offer loans or a loan won’t cover what you need, several specific exceptions also let you withdraw retirement funds before age 59½ without the 10 percent additional tax.
The Loan Route: No Tax, No Penalty If You Follow the Rules
Federal law treats a loan from a qualified employer plan as a taxable distribution unless it meets specific requirements for amount, repayment, and documentation.1Office of the Law Revision Counsel. 26 USC 72 Annuities; Certain Proceeds of Endowment and Life Insurance Contracts When those requirements are met, the money you borrow is not taxed at all, and the interest you pay goes back into your own retirement account rather than to an outside lender.
Two threshold conditions matter before you apply. Your plan has to allow loans in its plan documents, and not every employer offers the feature. You also have to be actively employed by the sponsoring employer; once you leave that job, you generally cannot take a new loan from that plan even if the balance stays there.2Internal Revenue Service. Retirement Topics – Plan Loans
How Much You Can Borrow
The ceiling is the lesser of $50,000 or 50 percent of your vested account balance.2Internal Revenue Service. Retirement Topics – Plan Loans If your vested balance is $80,000, half is $40,000, and that becomes your cap because it’s below $50,000. A small-balance exception lets you borrow up to $10,000 even when 50 percent of your vested balance would come in lower, though plans are not required to include this option.1Office of the Law Revision Counsel. 26 USC 72 Annuities; Certain Proceeds of Endowment and Life Insurance Contracts
Recent borrowing shrinks the $50,000 figure. If you had a loan from the same plan during the 12 months before the new loan date, the $50,000 cap is reduced by the difference between your highest outstanding balance in that period and your balance on the new loan date.3Internal Revenue Service. Borrowing Limits for Participants With Multiple Plan Loans Say your highest balance over the past year was $32,000 and your current balance is $25,000. The $50,000 cap drops by $7,000 to $43,000, and after subtracting the $25,000 still outstanding, you could borrow up to $18,000 on a new loan.
Repayment Terms That Keep It Penalty-Free
General-purpose loans have to be repaid within five years in level installments made at least quarterly, covering both principal and interest.1Office of the Law Revision Counsel. 26 USC 72 Annuities; Certain Proceeds of Endowment and Life Insurance Contracts Most plans handle this through automatic payroll deductions. One exception stretches the clock: a loan used to buy your primary residence can carry a longer repayment period if the plan allows it.2Internal Revenue Service. Retirement Topics – Plan Loans
The Department of Labor requires a reasonable interest rate, typically keyed to the prime rate. Because the interest flows back into your own account, you’re effectively paying yourself. Keep in mind that you repay with after-tax dollars into a pre-tax account, so those repayment dollars get taxed again when you eventually withdraw them in retirement.
Miss payments or fail to repay on time and the outstanding balance is reclassified as a distribution. At that point it’s subject to income tax and, if you’re under 59½, the 10 percent early withdrawal penalty.4eCFR. 26 CFR 1.72(p)-1 This is the main way a loan ends up costing you tax.
If You Leave Your Job Before Repaying
Most plans require you to repay the full outstanding balance shortly after leaving your employer. If you can’t, the remaining balance is offset against your account and treated as a distribution, which the plan administrator reports on Form 1099-R.5Internal Revenue Service. Plan Loan Offsets
You can avoid the tax and penalty by rolling the offset amount into an IRA or another eligible retirement plan. For a loan offset caused by separation from employment, you have until your tax filing deadline for that year, including extensions, to complete the rollover.5Internal Revenue Service. Plan Loan Offsets File on time but miss the rollover deadline and an automatic six-month extension from the original filing date is available to correct it. The rollover money has to come from other funds, since the plan already applied your account balance to the debt.
When a Loan Isn’t an Option: Penalty-Free Withdrawal Exceptions
If your plan doesn’t allow loans, you’ve already left the employer, or you need more than the loan rules permit, federal law exempts certain withdrawals from the 10 percent early distribution tax. These are not loans. The money is permanently out of the plan, and regular income tax still applies to the amount withdrawn.6Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
Rule of 55
If you leave your job during or after the calendar year you turn 55, you can take penalty-free withdrawals from the 401k tied to that employer.7Internal Revenue Service. 401(k) Resource Guide – Plan Participants – General Distribution Rules It only reaches the plan tied to the employer you separated from, not older 401k accounts from previous jobs. Public safety employees of state or local governments qualify at 50.6Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
Birth or Adoption
Each parent can withdraw up to $5,000 per child for qualified birth or adoption expenses without the 10 percent penalty.6Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions If both parents have eligible accounts, both can take the $5,000 for the same child. You have three years from the day after the distribution to recontribute it to an eligible retirement plan as a rollover.
Other Qualifying Exceptions
Several longstanding exceptions also waive the 10 percent penalty:
- Unreimbursed medical expenses that exceed 7.5 percent of your adjusted gross income.8Internal Revenue Service. Topic No. 558, Additional Tax on Early Distributions From Retirement Plans Other Than IRAs
- Distributions made after the participant becomes totally and permanently disabled.8Internal Revenue Service. Topic No. 558, Additional Tax on Early Distributions From Retirement Plans Other Than IRAs
- Distributions paid to a spouse or former spouse under a qualified domestic relations order in a divorce.8Internal Revenue Service. Topic No. 558, Additional Tax on Early Distributions From Retirement Plans Other Than IRAs
- Substantially equal periodic payments calculated using your life expectancy and taken at least annually. Once started, the payments generally can’t be modified until you reach 59½ or five years have passed, whichever is later. Stopping early or changing the amount triggers a recapture tax equal to the 10 percent penalty on all prior SEPP distributions, plus interest.9Internal Revenue Service. Substantially Equal Periodic Payments
Newer Exceptions Under SECURE 2.0
The SECURE 2.0 Act, enacted in late 2022, added several new exceptions to the 10 percent penalty for distributions made after December 31, 2023. Your plan has to adopt the provisions for them to be available.
Emergency Personal Expense
One penalty-free distribution per calendar year is allowed for an unforeseeable personal or family emergency, limited to the lesser of $1,000 or your vested balance above $1,000.6Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions You can repay it within three years, and you cannot take another emergency distribution until the previous one is repaid, unless three years have already passed.
Terminal Illness
If a physician certifies you have a terminal illness, distributions escape the 10 percent penalty with no dollar cap.6Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Ordinary income tax still applies, but you can repay within three years to reverse that.
Domestic Abuse Survivor
A victim of domestic abuse by a spouse or domestic partner can take a penalty-free distribution during the one-year period beginning on the date of the abuse. The limit is the lesser of $10,500 for 2026, adjusted annually for inflation, or 50 percent of the vested balance.10Internal Revenue Service. 2026 Amounts Relating to Retirement Plans and IRAs, as Adjusted Eligibility is established by written or electronic self-certification.11Internal Revenue Service. Certain Exceptions to the 10 Percent Additional Tax Under Code Section 72(t) Repayment is allowed within three years.
Federally Declared Disaster
If you live in an area hit by a federally declared major disaster, you can withdraw up to $22,000 penalty-free from all your retirement plans and IRAs combined.12Internal Revenue Service. Retirement Plans and IRAs Under the SECURE 2.0 Act of 2022 The income can be spread evenly over three tax years, and you have three years to repay. A repaid amount is treated as a direct rollover, so no income tax is owed on the repaid portion.
Hardship Distributions Are Not Automatically Penalty-Free
A hardship distribution is a separate category and worth flagging because it’s often confused with the exceptions above. A hardship withdrawal lets you access funds for an immediate and heavy financial need, but it does not by itself exempt you from the 10 percent early withdrawal penalty. If you’re under 59½ and no other exception applies, the penalty still hits on top of regular income tax.13Internal Revenue Service. Retirement Topics – Hardship Distributions Hardship distributions also cannot be repaid or rolled over.7Internal Revenue Service. 401(k) Resource Guide – Plan Participants – General Distribution Rules
Some needs that qualify under the hardship rules, such as medical expenses, may independently meet one of the penalty exceptions. The two analyses are separate: qualifying for a hardship withdrawal doesn’t waive the penalty; qualifying for an exception does.
Applying and What to Expect
Start with your plan administrator or your employer’s retirement plan portal. A loan request specifies the dollar amount and repayment period, and many plans process general-purpose loans entirely online with automatic payroll deductions set up for repayment. Some plans require spousal consent for loans above $5,000, but most 401k plans structured as profit-sharing plans do not require it as long as the full death benefit goes to the surviving spouse and the plan doesn’t offer an annuity option.2Internal Revenue Service. Retirement Topics – Plan Loans Plans merged from pension plans with annuity features may still require consent.
For penalty-free withdrawals, documentation depends on the exception. A birth certificate or adoption decree supports a birth or adoption distribution; itemized bills support a medical expense withdrawal. Some plans accept self-certification under newer rules, but keeping records is prudent in case the IRS asks later.
Routine loan approvals typically come within a few business days because the plan is checking a straightforward set of limits. Electronic transfers reach your bank within two to five business days after approval; a mailed check takes longer. One tax wrinkle to remember when comparing options: any taxable distribution paid directly to you is subject to mandatory 20 percent federal withholding, even if you plan to roll it over.7Internal Revenue Service. 401(k) Resource Guide – Plan Participants – General Distribution Rules Loans carry no withholding at all, which is a practical reason the loan route often leaves more cash in your hand than a withdrawal of the same size.