401(k) Loans and Hardship Withdrawals: Rules, Costs and Risks
A 401(k) can sometimes be tapped before retirement through a plan loan or a hardship withdrawal, but the two work very differently. This explainer covers how each is set up, how repayment and taxes work, what happens if you leave your job, and the long-term costs of pulling money out of a tax-advantaged account.
When cash runs short, the balance in a 401(k) can look like an obvious source of funds. Some plans let you borrow from the account, and some let you withdraw money for specific hardships. They are very different tools with different costs. A loan is meant to be paid back to your own account; a hardship withdrawal is a permanent distribution. This article explains the mechanics, the tax treatment and the trade-offs, without recommending either route.
Two different tools
| 401(k) loan | Hardship withdrawal | |
|---|---|---|
| What it is | Money you borrow from your own balance | A distribution for an immediate and heavy financial need |
| Must the plan offer it? | No, optional | No, optional |
| Repaid? | Yes, with interest paid to your own account | No, and it cannot be rolled over |
| Taxed when taken? | Generally no, if it follows the rules | Generally yes, as ordinary income for pre-tax money |
| 10% additional tax if under 59½? | Not if the loan is repaid on schedule | Often yes, unless an exception applies |
| Main risk | Default if you leave your job or miss payments | Permanent loss of savings and a tax bill |
Because every plan sets its own rules inside federal limits, the first step is always to read your plan's documents or ask the plan administrator.
How 401(k) loans work
If your plan permits loans, federal rules set a general ceiling. In broad terms, the amount is limited to the lesser of a fixed dollar cap or half of your vested account balance, with a special allowance for people with small balances. The IRS explains the current limits on its plan loans page, and your plan may impose tighter limits of its own.
Key features:
- Repayment schedule. Loans generally must be repaid in substantially level payments, made at least quarterly, within five years. A longer period is typically allowed if the loan is used to buy your main home. Most plans take payments through payroll deductions.
- Interest. You pay interest, but it goes back into your own account rather than to a lender. The rate is set by the plan, often tied to a published prime rate.
- No credit check. Plan loans usually do not require a credit application, and they are not normally reported to credit bureaus unless you default and the plan does so.
- Fees. Some plans charge loan origination or maintenance fees.
- Limited number. Plans may restrict how many loans can be outstanding at once.
The hidden cost: money out of the market
Interest paid to your own account is not the same as investment growth. While the borrowed amount sits outside your investments, it does not benefit from market gains. If markets rise during that period, the account may end up smaller than it would have been. If markets fall, the effect can go the other way, but nobody can know in advance. Many people also reduce or pause regular contributions while repaying, which can mean giving up employer matching contributions as well. Our explainer on 401(k) employer match and vesting shows why missing a match can be costly.
The double-tax quirk
Loan repayments come from your paycheck after income tax has been withheld. Later, when you take that money out in retirement from a traditional 401(k), it is taxed again as ordinary income. This does not make a loan wrong in every case, but it is one reason the cost is larger than the stated interest rate suggests.
If you leave your job
The most serious loan risk is a change of employment. Plans commonly require repayment of the outstanding balance on separation, or they offset the loan against your account balance. An unpaid balance that is offset is treated as a distribution: it becomes taxable and, if you are under 59½, may trigger the 10% additional tax. Federal rules generally give you until the tax return due date for that year, including extensions, to roll the offset amount into an IRA or another plan to avoid the tax hit, but that requires finding the cash to do so. See our guide to what to do with a 401(k) when you leave a job for the wider set of choices.
How hardship withdrawals work
A hardship withdrawal is a distribution allowed when you have an immediate and heavy financial need and the amount is necessary to meet it. Not every plan offers them, and plans can be stricter than federal rules.
Federal guidelines describe situations that generally qualify, including:
- Certain medical expenses
- Costs related to buying a principal residence (not mortgage payments)
- Tuition and related educational fees
- Payments needed to prevent eviction or foreclosure from your main home
- Funeral expenses
- Certain costs to repair damage to your main home
The plan may ask you to certify that you have a qualifying need and that the money is not available elsewhere. The withdrawal is limited to the amount needed, which can include taxes created by the withdrawal itself.
Taxes and penalties
A hardship withdrawal is generally taxable as ordinary income to the extent it comes from pre-tax money. If you are younger than 59½, the 10% additional tax may also apply unless a separate exception covers your situation. Being eligible for a hardship withdrawal is not the same as being exempt from the penalty tax. For the exceptions that do exist, see our overview of early retirement withdrawals before 59½.
No way to repay
Unlike a loan, you cannot return a hardship withdrawal to the plan, and it is not eligible for rollover. The money, and its future tax-advantaged growth, is gone. For someone in their thirties or forties, the lost growth over decades can far exceed the amount taken out, though how much depends on returns that nobody can predict.
Newer emergency and exception rules
Congress has added some limited ways to take small amounts for emergencies or specific events in recent years, and many plans have been slow to adopt them. Whether your plan offers any of these, and on what terms, is a plan-level question. Check with your administrator and the IRS pages above for current rules rather than relying on summaries that may be outdated.
Questions to ask before tapping a 401(k)
- Is there another source? Compare the cost with other options, such as an emergency fund, a lower-cost loan, negotiating a payment plan or help from a hospital or school financial aid office.
- How stable is my job? A loan is much riskier if you might change employers soon.
- What will I give up? Include lost market growth, paused contributions and any missed employer match.
- What will it cost in taxes? Ask a tax professional to estimate the effect of a withdrawal on this year's return.
- Can I keep contributing? Continuing contributions, especially to the level of the employer match, limits the damage.
The takeaway
A loan keeps the money in your retirement plan on paper but carries a default risk if you leave your job; a hardship withdrawal solves a short-term need at the price of taxes and permanently reduced savings. Neither is free. If you are considering either one, read your plan documents, run the numbers with a tax professional, and compare alternatives first.
Frequently asked questions
Does every 401(k) plan allow loans?
No. Federal rules allow plans to offer loans, but they do not require it, and each plan sets its own terms within those limits. Your plan's summary plan description or administrator will say whether loans are available, how many you can have and what the interest rate is.
What happens to a 401(k) loan if I leave my job?
Many plans require the outstanding balance to be repaid soon after you leave or when the plan has to be offset. If the balance is not repaid, the unpaid amount can be treated as a distribution that is subject to income tax and, if you are under 59½, the 10% additional tax unless an exception applies. Federal rules give you until the tax filing deadline for that year, including extensions, to roll over the offset amount to avoid that result.
Is a hardship withdrawal taxed?
Generally yes. A hardship withdrawal from a traditional 401(k) is taxable income, and if you are under 59½ it may also trigger the 10% additional tax unless a specific exception applies. Unlike a loan, you cannot put the money back, and being allowed a hardship withdrawal does not by itself exempt you from the tax.