Borrowing from your own 401(k), and what happens if you leave before it is repaid
A 401(k) loan is cheap and tax-free for as long as the payments keep arriving. The rules that matter are the ones about what happens when they stop, and the most common reason they stop is a new job.
On this page
A 401(k) loan is the one way to take money out of a workplace retirement account without paying tax on it, as long as you put it back. You borrow from your own balance, repay it through payroll, and the interest goes into your own account. The catch is that the tax-free treatment depends on every payment arriving on schedule, and the schedule is tied to a job you might not keep for five years.
The short answer
You can borrow the lesser of $50,000 or half your vested balance, and you must repay it within five years, in payments made at least every quarter.[1] The five-year limit does not apply to a loan used to buy your main home.[1] Your employer decides whether the plan offers loans at all, how many you may have, and what interest rate you pay.
If the payments stop, the unpaid balance is treated as if you had withdrawn it: it becomes taxable income, and before age 59 and a half it may also carry a 10% additional tax.[3] The easiest way for payments to stop is leaving the employer, because the plan can demand the full balance when you go.[1] That is the rule to plan around before you sign anything.
How much you can borrow
The ceiling is set by statute and measured against your vested balance, not the total on your statement. The IRS gives two examples: with $80,000 vested you may borrow up to $40,000, and with $120,000 vested you are capped at $50,000, because half the balance ($60,000) is more than the dollar limit.[1] At the low end there is an optional floor: if half your vested balance is under $10,000, the plan may let you borrow up to $10,000, but plans are not required to include that exception.[1]
Unvested employer money does not count toward the limit, which is why someone a year into a job with a slow schedule can borrow less than their statement suggests. If your balance is mostly match, how much of the match you actually own today decides the size of the loan as well as what you keep when you leave.
| Vested balance | Half of it | Legal maximum loan |
|---|---|---|
| $12,000 | $6,000 | $6,000, or $10,000 if the plan includes the floor |
| $40,000 | $20,000 | $20,000 |
| $80,000 | $40,000 | $40,000 |
| $120,000 | $60,000 | $50,000 |
The lesser of $50,000 or 50% of the vested balance, with the optional $10,000 floor. Your plan may set a lower limit or a minimum loan size. The $40,000, $80,000 and $120,000 rows follow the IRS's own examples.
The plan is free to be stricter. It may cap loans below the legal maximum, set a minimum loan size, limit how many you can have, and require your spouse’s written consent; some plans ask for it on loans over $5,000.[1] In practice most plans keep it simple: among Vanguard plans that offered loans in 2025, 52% allowed one loan at a time, 40% allowed two, and 8% allowed three or more.[4]
No reason is required. A loan is not a hardship withdrawal, and the IRS says the purpose of the loan, or whether you could borrow the same amount elsewhere, is irrelevant once the plan offers loans.[2] The difference in price is the reason to check the loan first: a hardship withdrawal is taxed as income and cannot be repaid, while a loan that keeps to its schedule is not taxed at all.
The lookback on a second loan
If your plan allows more than one loan, the $50,000 is not a fresh allowance each time. Every loan you hold, plus the new one, must fit under a limit that remembers the past year: the $50,000 is reduced by the difference between your highest total loan balance in the 12 months before the new loan and the balance you owe on the day you take it.[2]
The IRS works this through for a participant with $80,000 vested who borrowed $27,000 eight months ago and still owes $18,000. The dollar limit becomes $50,000 minus ($27,000 minus $18,000), or $41,000, and half the vested balance is $40,000. The lower figure wins, so total loans may reach $40,000 and the second loan can be $22,000.[2]
The surprising part is what happens if that person pays off the first loan before applying. The 12-month high is still $27,000 and today’s balance is zero, so the dollar limit drops to $23,000.[2] Repaying $18,000 early buys a second loan only $1,000 larger. The lookback exists so that a loan cannot be refinanced in a loop to stay permanently near the cap.
Five years, paid at least quarterly
A plan loan has to be repaid within five years in substantially equal payments of principal and interest, made at least quarterly.[2] Payroll deduction is the usual method, so the payments leave each paycheck before you see them. Repayments are not plan contributions; they put back what you borrowed.[2]
Two exceptions stretch the schedule. A loan used to buy your principal residence may run longer than five years.[2] And a plan may pause payments: during active military service, with the loan term extended by that period, or during a leave of absence of up to a year when your pay is too low to cover them.[1] The leave exception does not extend the term. When you come back, you make up the missed amounts, through larger payments or a lump sum, so the loan still ends on its original date.[2]
The rate is set by the plan, not by your credit. Among Vanguard plans in 2025, 71% charged the prime rate plus 1 percentage point, 15% charged prime, and 10% charged prime plus 2.[4] The Federal Reserve’s bank prime loan rate was 7.00% for every day of the week ending November 13, 2026,[5] so the most common formula prices a new loan at about 8.00% today. Prime is the same benchmark behind the rate on a home equity line of credit, which is a useful comparison if you own a home and are weighing the two.
What a missed payment turns into
A loan that is not repaid on its terms becomes a deemed distribution: the whole outstanding balance, not just the missed payment, is treated as a taxable distribution from the plan.[2] The plan may give you a grace period, called a cure period, that runs to the end of the calendar quarter after the quarter of the missed payment. The IRS example: payments are due at each quarter end, the June 30 payment is missed, the loan is in default as of June, and it becomes a distribution at the end of September.[2]
A deemed distribution is taxed like a real one, including the early distribution tax, but it is not eligible to be rolled over.[2] That is the expensive difference between this case and the job-change case below. The debt also does not disappear. If you are still in the plan, you are still expected to make the payments, and those later payments become after-tax basis that is not taxed again when it eventually comes out.[1]
Leaving the job with a balance
When repayment runs through payroll, it ends on your last day. Plans may require the full outstanding balance when you leave or when the plan is terminated.[1] If you cannot pay it, the plan reduces your account by the unpaid amount. That reduction is a plan loan offset, and unlike a deemed distribution it counts as an actual distribution, which means it can be rolled over.[2]
The deadline is longer than people expect. Since January 1, 2018, an offset caused by leaving your job or by the plan ending can be rolled over until the due date, including extensions, of your federal return for the year of the offset, rather than within the usual 60 days.[2] You do it by depositing your own cash, equal to some or all of the offset, into an IRA or another eligible plan. The offset is reported to the IRS on Form 1099-R, and the rollover shows up on Form 5498.[1]
There is sometimes a third option. Vanguard found that 48% of its plans let participants who leave with an outstanding loan keep repaying it,[4] which turns a deadline into the original schedule. Ask the plan administrator before your last day, because the payments will have to come from a bank account rather than a paycheck. If the job is ending because of a layoff rather than a choice, the loan is one of several clocks that start at once, and the rest of a layoff runway has to be planned around the same cash.
Worked example: $20,000 and a job change
Take someone with a $50,000 vested balance, so their legal maximum is $25,000. They borrow $20,000 over five years at prime plus 1, or 8.00%, with monthly payments. The payment is $405.53, and over the full term they pay $4,331.67 of interest, all of it into their own account. After 24 payments they take a new job. They still owe $12,941.13, and their old plan requires full repayment on separation and does not let former employees keep paying.
The rollover does not need to happen at once. Because the deadline is the due date of the return for the year they left, including extensions,[2] someone who changes jobs early in a year has well over a year to rebuild $12,941 from their new paychecks and deposit it. A partial rollover is allowed too: putting back $8,000 leaves only $4,941 taxable.[1]
The loan’s cost while it was open was smaller and harder to see. The $20,000 earned the loan’s fixed rate rather than whatever the investments returned, and Vanguard notes that cash borrowed this way earns fixed income rather than equity market returns.[4] In a year when the market falls, that trade helps. In a year when it rises, it costs.
Before you borrow
A 401(k) loan needs no stated reason, its approval does not depend on whether you could borrow elsewhere,[2] and its interest goes back into your own account. It also lowers your retirement balance for as long as it is open, and among Vanguard participants in 2025, those with no loans had balances 22% higher than those with loans.[4] That gap is a description of who borrows, not proof that borrowing caused it, but it is a reminder that the loan comes out of the same money you are saving for later.
- Confirm the plan offers loans, and read its limit, minimum, rate and spousal consent rule.
- Check your vested balance, not the total, and work out half of it.
- Find out what happens to the loan if you leave, and whether you can keep paying.
- Price the payment against your take-home pay, since it comes out of every check.
- Keep the loan papers: the amortization schedule is what you reconcile against.
A loan you take because a bill arrived is usually a sign the cash cushion was too thin, and sizing an emergency fund to your actual expenses is what keeps the next one from reaching the retirement account. If you do borrow, track the loan as a debt with its own rate and term. LumaLedger lets you add the loan as a liability that carries its rate and term, next to the 401(k) it came from. Interest posts on schedule, so the balance you see is the one the plan will ask for if you leave.
LumaLedger links your banks and cards, finds every recurring charge, and keeps a true double-entry ledger of your net worth. It’s free during the private beta.
Open your ledgerFrequently asked questions
How much can I borrow from my 401(k)?
The most the law allows is the lesser of $50,000 or 50% of your vested account balance. With a vested balance of $80,000 the limit is $40,000; with $120,000 it is $50,000. If half your vested balance is under $10,000, a plan may let you borrow up to $10,000, but it is not required to. Your plan can set a lower limit than the law, never a higher one, and it does not have to offer loans at all.
What happens to my 401(k) loan if I quit or get fired?
Your plan may require you to repay the whole outstanding balance when you leave. If you do not, the plan reduces your account by the unpaid amount, called a loan offset, and reports it on Form 1099-R. You can avoid the income tax by rolling over an amount equal to the offset into an IRA or another eligible plan by the due date, including extensions, of your federal return for that year. Some plans let former employees keep making payments instead; 48% of Vanguard plans did in 2025.
Is a 401(k) loan taxable?
Not while it follows the rules. A loan within the dollar limit, repaid in substantially level payments at least quarterly over no more than five years, is not a distribution. A loan that breaks those rules, or that you stop repaying, becomes a deemed distribution: the unpaid balance is taxed as income, and before age 59 and a half it may carry a 10% additional tax unless an exception applies.
Can I take a loan from my IRA?
No. IRAs and IRA-based plans such as SEP and SIMPLE IRAs cannot offer loans. If you borrow from an IRA, the IRS says the account stops being an IRA and its whole value is included in your income. Pledging part of an IRA as collateral is treated as distributing that part.
Sources
- 1.Internal Revenue Service, Retirement topics: Loans (accessed November 2026).
- 2.Internal Revenue Service, Retirement plans FAQs regarding loans (accessed November 2026).
- 3.Internal Revenue Service, Considering a loan from your 401(k) plan? (accessed November 2026).
- 4.Vanguard, How America Saves 2026, 25th edition (June 2026).
- 5.Federal Reserve Board, H.15 Selected Interest Rates, release of November 16, 2026 (November 2026).
This article is for general education and isn't financial, tax, or legal advice. Figures come from the sources cited above as of their publication dates; examples use illustrative numbers.
Keep reading
Taking money out of a 401(k) early, priced honestly
What a 401(k) hardship withdrawal requires, why 10% withholding is not the tax you owe, and what a $20,000 withdrawal really costs.
Sinking Funds: The Budget Category Almost Everyone Forgets
Insurance, tires, property tax and December gifts are not emergencies. How to find your irregular expenses, size a sinking fund for each, and where to keep it.
Are scholarships taxable? The part above tuition is, and it can be worth reporting
Scholarships are tax-free only up to tuition, required fees and course materials. What is taxable, what the 1098-T misses, and when reporting more pays off.
