The difference between a 401(k) loan and a withdrawal comes down to whether the money leaves your retirement account for good. A loan lets you borrow from your own vested balance and repay it, usually through payroll deductions, with interest that flows back into your account. A withdrawal is a permanent distribution: the money is gone, it’s added to your taxable income, and if you’re under 59½ it usually carries a 10% early distribution penalty on top of ordinary income tax.
That single distinction — temporary versus permanent — drives everything else that follows.
Tax and Penalty Comparison
A 401(k) loan is not a taxable event. The IRS treats it as debt, so you owe nothing on the borrowed amount when the check hits your account, as long as you keep making the scheduled payments.1Internal Revenue Service. Retirement Topics – Loans
A withdrawal is the opposite. The full amount is added to your ordinary income for the year and taxed at your regular federal rate. If you’re under 59½, the IRS adds a 10% early distribution penalty on top.2Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Between federal income tax and that penalty, 30% to 40% of the distribution can disappear before state taxes are even factored in.
There’s also a cash-flow surprise built into withdrawals. When a plan pays you a rollover-eligible distribution directly, it must withhold 20% for federal income taxes before you see the money.3Internal Revenue Service. 401(k) Resource Guide – Plan Participants – General Distribution Rules Request $10,000 and you’ll get $8,000 in hand. The withheld amount credits against your tax bill at filing, but you don’t have it available when you need it.
The tax-free treatment of a loan lasts only as long as you follow the repayment schedule. Miss enough payments and the outstanding balance becomes a “deemed distribution,” which the IRS then treats exactly like a withdrawal: taxable income plus the 10% penalty if you’re under 59½. Most plans give you through the end of the calendar quarter after a missed payment before this triggers.4Internal Revenue Service. Retirement Plans FAQs Regarding Loans
How a 401(k) Loan Works
With a loan, the plan sells enough of your investments to fund the amount you’re borrowing, sends you the proceeds, and puts you on a repayment schedule. Most plans require at least quarterly payments, and the full balance must be repaid within five years. A loan used to buy your primary home can qualify for a longer term.5Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts
Federal law caps the loan at the lesser of $50,000 or 50% of your vested balance. There’s also a floor: if half your vested balance comes out to less than $10,000, you can borrow up to $10,000 as long as you have that much vested.6Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts The $50,000 cap shrinks if you’ve had an outstanding loan in the past 12 months, reduced by the difference between your highest balance in that window and your current balance.4Internal Revenue Service. Retirement Plans FAQs Regarding Loans
The interest rate is usually the prime rate plus a percentage point or two. Unlike a bank loan, that interest goes back into your own 401(k) account. You are effectively paying yourself.
One caveat before you assume this option is on the table: not every 401(k) plan offers loans. Whether you can borrow depends on your employer’s plan document, so check with the plan administrator.7Internal Revenue Service. 401(k) Plan Fix-It Guide – Participant Loans
How a 401(k) Withdrawal Works
A withdrawal permanently removes money from the tax-sheltered account. There’s no repayment mechanism. Future growth on those dollars is lost, and you’d need to rebuild through new contributions from a lower balance.3Internal Revenue Service. 401(k) Resource Guide – Plan Participants – General Distribution Rules
If you’re still working and under 59½, most plans only allow distributions under hardship rules. The IRS recognizes a set of safe-harbor reasons that qualify as an “immediate and heavy financial need,” including unreimbursed medical expenses, payments to prevent eviction or foreclosure on your primary residence, funeral costs, postsecondary tuition, costs of buying your primary home, and certain repairs to your primary residence.8Internal Revenue Service. Retirement Topics – Hardship Distributions Your employer can rely on your written statement that you can’t meet the need from other resources, unless it has actual knowledge otherwise. The amount is limited to what you actually need, including any taxes and penalties the distribution itself will generate.
Once you reach 59½, in-service withdrawals (where the plan allows them) don’t require a hardship justification and don’t carry the 10% penalty. You’ll still owe ordinary income tax on the amount.
Penalty Exceptions Worth Knowing
The 10% early distribution penalty has more exceptions than most people realize. If one of these fits your situation, the withdrawal becomes considerably cheaper, though you’ll still owe ordinary income tax.
Separation From Service at Age 55 or Later
If you leave your job during or after the calendar year you turn 55, distributions from that employer’s 401(k) are exempt from the 10% penalty. This is often called the Rule of 55. Public safety employees qualify at age 50.2Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions The exception applies only to the plan at the employer you separated from, not to old 401(k)s from previous jobs or to IRAs.
Substantially Equal Periodic Payments
You can avoid the 10% penalty at any age by setting up a series of substantially equal periodic payments based on your life expectancy. The commitment is real: you must continue the payments for the longer of five years or until you reach 59½, or the IRS retroactively imposes the 10% penalty on every distribution, plus interest.9Office of the Law Revision Counsel. 26 US Code 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts
Birth or Adoption
Parents can withdraw up to $5,000 per child within one year of a birth or finalized adoption without the 10% penalty. You can also repay the distribution back into a retirement account later.2Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
SECURE 2.0 Emergency Provisions
Starting in 2024, you can take a single penalty-free withdrawal of up to $1,000 per calendar year for unforeseeable personal or family emergencies. No further emergency distribution is available for three years unless you repay the first. Domestic abuse victims can withdraw the lesser of $10,000 (adjusted for inflation) or 50% of their vested balance without the 10% penalty, with a three-year repayment option. Individuals certified as terminally ill by a physician can take penalty-free distributions without a dollar limit.
What Happens if You Leave Your Job
This is where a loan gets dangerous. If you resign or are let go with an outstanding balance, most plans require full repayment. If you can’t repay, the remaining balance becomes a “plan loan offset” that the plan reports as a taxable distribution.1Internal Revenue Service. Retirement Topics – Loans
There is a lifeline. You can roll over the offset amount into an IRA or another eligible retirement plan by your tax filing deadline for the year the offset occurs, including extensions, and avoid both the income tax and the 10% penalty.10Federal Register. Rollover Rules for Qualified Plan Loan Offset Amounts The practical problem is finding the cash for that rollover deposit after you’ve already spent the loan proceeds.
A withdrawal creates no such trap. The money was already distributed and taxed. There’s nothing to repay after you leave.
The Double-Tax Quirk on Loan Interest
“You pay interest to yourself” makes a 401(k) loan sound free. It isn’t quite. In a traditional 401(k), the interest portion of your repayments gets taxed twice.
Your original contributions were pre-tax. But loan repayments come out of your take-home pay, which has already been taxed. That after-tax interest lands in your 401(k) alongside your pre-tax balance, and when you eventually withdraw it in retirement, the whole balance is taxed as ordinary income. So the interest dollars are hit once when you earn them and again when you take them out.
To put numbers on it: if you pay $2,000 in interest over the life of the loan and you’re in the 22% bracket, it takes about $2,564 in gross earnings to cover that $2,000 after payroll taxes. Withdrawing that $2,000 in retirement costs roughly another $440 in tax at the same rate. Total tax on the interest alone runs past $1,000. It doesn’t make the loan a bad choice, but it does undercut the “free money” framing.
Long-Term Cost of Each Option
The most underappreciated cost of either choice is compounding. When money leaves your 401(k), whether as a loan or a withdrawal, it stops earning market returns until it returns.
With a loan, the balance gradually flows back into your investments over the repayment term. During the loan, however, the borrowed portion typically earns only the loan interest rate — often 5% to 6% — instead of whatever your portfolio would have returned. If your investments average 8% and your loan rate is 5%, you’re giving up about three percentage points a year on the borrowed amount. Over five years on a $20,000 loan, analyses have shown that gap can leave your account a few hundred dollars short of where it would have been, and the shortfall compounds over the decades until retirement.
A withdrawal is worse because the money never comes back. A $20,000 withdrawal at age 35, at a 7% average annual return, would have grown to roughly $150,000 by age 65. Add the taxes and penalty paid at the time of withdrawal, and an early distribution is almost always the most expensive way to tap a 401(k). A loan preserves most of the long-term growth potential, provided you actually repay it.