Retirement · Explainer
401(k) Loans Explained: How Borrowing From Your Own Retirement Plan Works
Tapping a 401(k) for a loan can feel like free money, but IRS rules, repayment timelines, and job-change triggers make it riskier than it looks.
The short answer
- A 401(k) loan lets you borrow from your own vested balance, generally up to the lesser of $50,000 or 50% of your vested account, per IRS rules under Section 72(p).
- Most loans must be repaid within five years through payroll deduction, except loans used to buy a primary residence, which can have a longer term.
- If you leave your job with an outstanding loan, the balance is typically due quickly or treated as a taxable distribution, though tax law gives you until your tax-filing deadline to roll it over.
- Unpaid 401(k) loans become a 'deemed distribution,' triggering income tax and, if you are under 59½, a 10% early-withdrawal penalty.
- Not every plan offers loans, and plan sponsors set their own rules within IRS limits, so terms vary by employer.
A 401(k) loan is money you borrow from your own retirement account balance rather than from a bank or credit card issuer. Unlike a hardship withdrawal, a loan must be repaid with interest, and the interest you pay goes back into your own account. It can sound like a no-lose proposition: no credit check, no outside lender, and you're paying interest to yourself. But federal tax rules and the realities of job changes make 401(k) loans more complicated than they first appear.
How Much You Can Borrow
Under Internal Revenue Code Section 72(p) and related Treasury regulations, a 401(k) loan generally cannot exceed the lesser of $50,000 or 50% of your vested account balance. If your vested balance is $10,000 or less, some plans allow you to borrow up to the full $10,000, subject to plan terms. These are IRS ceilings; individual employer plans can set lower limits or decline to offer loans altogether, since 401(k) loans are optional features, not a guaranteed right under federal law.
Repayment Terms
- Most 401(k) loans must be repaid within five years, typically through automatic payroll deductions.
- An exception applies to loans used to purchase a primary residence, which plans may allow to be repaid over a longer period.
- Payments generally must be made at least quarterly and in substantially level amounts of principal and interest.
- The interest rate is set by the plan, often tied to a benchmark such as the prime rate, and is paid back into your own account rather than to an outside lender.
Because the loan is secured by your own account balance, there is no traditional credit underwriting. But the trade-off is that the money you borrow is no longer invested in the market while the loan is outstanding, which means you could miss out on investment gains during that period. Whether that matters depends on how markets perform while the loan is out, something no one can predict in advance.
What Happens If You Change Jobs
One of the biggest risks with 401(k) loans surfaces when you leave your employer, whether by choice, layoff, or otherwise. Many plans require the outstanding loan balance to be repaid quickly, sometimes within days or weeks of separation. If you cannot repay it, the unpaid balance is treated as a loan offset distribution. Tax law changed in 2017 under the Tax Cuts and Jobs Act to give affected participants until the due date of their federal income tax return, including extensions, for the year the offset occurs to roll over the outstanding balance into an IRA or another employer plan and avoid taxes and penalties on that amount. Missing that deadline means the balance becomes taxable income, and if you are under age 59½, it is typically also subject to the IRS's 10% early-withdrawal penalty, unless an exception applies.
Defaulted Loans Are Treated as Distributions
Even if you stay employed, missing scheduled loan payments can trigger a default. Plans generally allow a grace period, often through the end of the calendar quarter following the quarter in which the missed payment was due, before the loan is deemed in default. Once a loan defaults, the outstanding balance becomes a deemed distribution for tax purposes. You will owe ordinary income tax on that amount and, if applicable, the 10% early-withdrawal penalty, even though you never received the money as cash in hand after default. The loan itself does not disappear from your account's internal records, but its tax treatment changes.
Weighing the Trade-Offs
A 401(k) loan can be a lower-cost alternative to a personal loan or credit card balance for some borrowers, since you avoid a credit check and pay interest back to yourself. But the opportunity cost of being out of the market, the risk of acceleration upon job loss, and the tax consequences of default are real considerations. Financial professionals often suggest treating a 401(k) loan as a last resort after exhausting emergency savings and other borrowing options, given how the consequences compound if your employment situation changes before the loan is repaid. This article is for informational purposes only and does not constitute investment, tax, or legal advice; consult a qualified professional about your specific situation.
Sources
- Retirement Topics - Plan Loans — IRS
- 401(k) Plans - Loans — IRS
- Publication 575, Pension and Annuity Income — IRS
- Meeting Your Fiduciary Responsibilities — U.S. Department of Labor
Spotted an error? Tell our corrections desk.
How this article was produced
- Responsible desk:
- Retirement
- Published:
- 22 Oct 2026, 10:01 UTC
- Last updated:
- 22 Oct 2026, 10:01 UTC
- Verification:
- Figures and quotations checked against primary sources under our fact-checking policy and editorial standards.
- Independence:
- No advertiser or affiliate partner had any involvement in this article — see editorial independence and how we make money.
- Corrections:
- Report a factual error.
This article is general financial information and journalism, not personalised financial, investment, tax or legal advice.
