Your 401(k) exists to build financial security for retirement — not to serve as a regular source of spending money. Still, unexpected hardships arise, and some plans let participants access savings through a loan or a hardship withdrawal. Both can provide short-term relief and both can carry long-term consequences, so it’s worth understanding how each works and what it really costs.
What is a 401(k) loan?
A 401(k) loan lets you borrow against your own retirement savings rather than from a bank. You repay it over time, typically through payroll deductions. Unlike a withdrawal, a loan generally doesn’t create a taxable event as long as it’s repaid under the plan’s rules. Not all plans offer loans, and the amount you can borrow is subject to IRS limits and your plan’s provisions.
How does a loan work?
When you take a loan, the borrowed amount is temporarily removed from your investments and paid to you. You repay it over a set period, usually with interest. The interest is generally paid back into your account, but the money you borrowed is not invested while the loan is outstanding.
Suppose you borrow $20,000 from your 401(k) for home repairs and repay it through payroll deductions over five years. While you’re repaying, that $20,000 isn’t invested — so you could miss out on growth if the market performs well.
What is a hardship withdrawal?
A hardship withdrawal permanently removes money from your retirement account to meet an immediate and significant financial need, if your plan permits it. Common qualifying hardships may include:
- Certain medical expenses
- Funeral expenses
- Costs related to purchasing a primary residence
- Tuition or educational expenses in certain situations
- Expenses to prevent eviction or foreclosure
- Certain disaster-related expenses
Your employer’s plan determines whether hardship withdrawals are available and what documentation is required.
What’s the real cost?
A hardship withdrawal permanently reduces your retirement savings, because the money can’t be repaid into the account. A loan avoids an immediate tax bill if repaid properly, but your investments lose valuable time in the market while the money is out.
Imagine withdrawing $25,000 at age 40. If that money could have earned an average annual return for the next 25 years, it might have grown to well over $100,000 by retirement. The immediate need is met, but the long-term opportunity cost can be significant.
What happens if you don’t repay a loan?
If you leave your employer or fail to repay under your plan’s rules, the remaining balance may be treated as a taxable distribution. Depending on your age and circumstances, you might:
- Owe ordinary income taxes on the unpaid balance
- Be subject to an early withdrawal penalty if you’re under age 59½ and no exception applies
- Permanently reduce your retirement savings
Before taking a loan, understand your plan’s repayment requirements — especially if you anticipate changing jobs.
Should you consider other options first?
Before borrowing from or withdrawing from your retirement account, look at the alternatives. Depending on your situation, better options may include:
- Using an emergency fund
- Reducing discretionary expenses
- Negotiating payment plans with creditors
- Exploring low-interest financing options
Your retirement savings are meant to support you for decades after your working years, so preserving them whenever possible strengthens your long-term outlook.
The bottom line
A loan or hardship withdrawal can provide needed relief during a difficult time, but both come with real downsides. Understand your plan’s rules and weigh the short-term benefit against the long-term impact before you access the account. Your plan provider or a financial professional can help you evaluate the options.
This article is for general educational purposes only and is not tax, legal, or investment advice. Consider your own situation and consult a qualified professional before making decisions about your retirement account.

