You can cash out your 401(k), but the IRS charges penalties and taxes unless you meet specific conditions

Yes, you can withdraw money from your 401(k) before age 59½, but the IRS treats early withdrawals as taxable income and usually adds a 10% penalty on top. That means if you withdraw $10,000 and you're in the 22% tax bracket, you could owe $3,200 in taxes and penalties combined — leaving you with $6,800 of your original $10,000. The only way to avoid the 10% penalty is to meet one of the IRS's narrow exceptions, which include disability, medical expenses above 7.5% of your income, or a series of equal payments spread over your lifetime.

A full cash-out — closing the account entirely and taking all the money at once — is the most expensive option for most people. If you straightforward need access to some of your money, a loan from your 401(k) or a partial withdrawal may cost you less. Understanding which option applies to your situation requires knowing both what the IRS allows and what your specific plan allows, since employers can set rules stricter than the federal minimum.

Key Takeaways

  • Early withdrawals before age 59½ are taxed as ordinary income plus a 10% IRS penalty, unless you may have access to for a narrow exception like disability or medical hardship.
  • A 401(k) loan lets you borrow from your own balance and repay yourself with interest, avoiding taxes and penalties as long as you repay on schedule.
  • Substantially equal periodic payments (SEPP) let you withdraw a calculated amount each year without the 10% penalty, but the amount is locked in and you must continue for five years or until age 59½, whichever is longer.
  • Your employer's plan document sets the rules for what withdrawals are allowed — some plans forbid any withdrawal until you leave the job, while others allow hardship withdrawals while you're still employed.
  • If you leave your job, you can roll your 401(k) into an IRA or a new employer's plan to keep the money growing tax-deferred and preserve your withdrawal options.

The cost of a straight withdrawal: taxes plus the 10% penalty

When you withdraw money from your 401(k) before age 59½, two things happen when ready. First, the withdrawal counts as ordinary income for that tax year, so it's taxed at your regular income tax rate — which varies by state and your total income, but typically ranges from 10% to 37% federally. Second, the IRS adds a flat 10% penalty on the amount withdrawn. Your plan administrator will usually withhold 20% right away to cover some of these taxes, but that withholding is often not enough.

The real cost becomes clear at tax time. If you withdraw $20,000 and your tax bracket is 24%, you owe $4,800 in federal income tax plus $2,000 in penalty — $6,800 total. Your plan withheld $4,000 (20%), so you still owe $2,800 when you file. If you live in a state with income tax, add another 3% to 13% depending on where you live. Many people discover they owe money they didn't expect when they file their return.

Exceptions that waive the 10% penalty

The IRS allows penalty-free withdrawals in specific situations, though you still owe income tax on the money. These exceptions are narrow and require documentation. Disability means you cannot work due to a physical or mental condition expected to last at least 12 months or result in death — you'll need medical evidence. Medical expenses that exceed 7.5% of your adjusted gross income in that year can be withdrawn penalty-free, but only the amount above the threshold, and only if you itemize deductions. Substantially equal periodic payments (SEPP) let you withdraw a fixed amount each year based on your life expectancy and account balance — this is the most complex exception and requires using one of three IRS-approved calculation methods.

Other exceptions include withdrawals due to a may have access to domestic relations order (divorce decree), certain distributions to beneficiaries after the account holder's death, and withdrawals to pay back taxes owed to the IRS. Some plans also allow hardship withdrawals while you're still employed — for example, to prevent eviction or foreclosure, or to pay unreimbursed medical costs — but this is optional for employers and not all plans offer it. Check your plan document or ask your HR department which exceptions your specific plan recognizes.

Borrowing from your 401(k) instead of withdrawing

A 401(k) loan lets you borrow from your own account balance and repay yourself with interest, avoiding taxes and the 10% penalty entirely. The IRS allows you to borrow up to $50,000 or half your vested balance, whichever is less. You repay the loan through payroll deductions, usually over five years, though some plans allow longer terms for a home purchase. The interest rate is typically the prime rate plus 1% to 2%, set by your plan — you're paying interest to yourself, not to a bank.

The catch is that if you leave your job before the loan is repaid, the outstanding balance becomes a taxable withdrawal. If you owe $30,000 on the loan and you quit, that $30,000 is treated as an early withdrawal subject to income tax and the 10% penalty. Some plans give you 60 to 90 days to repay the balance after you leave, but not all. A loan works well if you're confident you'll stay in your job or can repay quickly, but it's risky if your employment is uncertain.

Substantially equal periodic payments: the five-year lock-in

If you're under 59½ and need ongoing income, substantially equal periodic payments (SEPP) let you withdraw a calculated amount each year without the 10% penalty. The IRS requires you to use one of three approved calculation methods — the required minimum distribution method, the fixed amortization method, or the fixed annuitization method — each producing a different annual withdrawal amount. You must continue these payments for at least five years or until you reach age 59½, whichever is longer. If you stop early or change the amount, the IRS retroactively applies the 10% penalty to all previous withdrawals, plus interest.

This exception is useful if you're retiring early and need steady income, but it requires discipline. You cannot adjust the withdrawal amount to match changing expenses, and you're locked into the schedule. If you need more money one year, you cannot take it without triggering the penalty. If you need less, you still have to take the full amount. SEPP calculations are complex and mistakes can be expensive — many people work with a tax professional or financial advisor to set this up correctly.

What happens when you leave your job

Leaving your job gives you new options that may be cheaper than withdrawing while employed. You can roll your 401(k) into a traditional IRA, which keeps the money growing tax-deferred and opens access to different withdrawal rules. You can also roll it into your new employer's 401(k) plan if that plan accepts rollovers. Both options preserve the tax-deferred status and let you delay withdrawal until age 73, when required minimum distributions begin.

If you do withdraw after leaving, the rules are the same — income tax plus 10% penalty before age 59½ — but rolling over buys you time and keeps more options open. Some people use this transition to convert part of the balance to a Roth IRA, which involves paying taxes now but allows tax-free withdrawals later. The key is that leaving your job doesn't force you to withdraw; it straightforward changes what options are available.

Hardship withdrawals: what counts and what doesn't

Some employers allow hardship withdrawals while you're still employed, but this is optional — your plan may not offer it. The IRS defines a hardship as an when ready and heavy financial need, including preventing eviction or foreclosure, paying unreimbursed medical expenses, paying tuition and education expenses, or repairing damage to your home from a casualty. You must also show that you've exhausted other resources, like taking a 401(k) loan first or using other savings.

Even if your plan allows hardship withdrawals, the amount is limited to what you need to cover the hardship plus taxes owed on the withdrawal. You still owe income tax on the amount withdrawn, and you still owe the 10% penalty unless you also may have access to for one of the penalty exceptions. Hardship withdrawals are expensive and should be a last resort after exploring loans and other options. Ask your HR department or plan administrator whether your plan allows them and what documentation you'll need to provide.

Frequently Asked Questions

What if I'm 59½ or older — can I withdraw without penalty?

Yes. Once you reach 59½, you can withdraw from your 401(k) without the 10% penalty. You still owe income tax on the withdrawal, but the penalty disappears. If you're still employed, your plan may require you to wait until you retire or separate from service, so check your plan document.

Can I withdraw just enough to cover a specific expense?

For a hardship withdrawal, yes — you can withdraw only the amount needed for the hardship plus taxes. For other withdrawals, most plans let you choose the amount, but some plans require you to withdraw the entire balance. Check with your plan administrator about partial withdrawal rules.

Will my employer know if I take a withdrawal?

Yes. Your employer's plan administrator processes all withdrawals and receives a record. If you take a hardship withdrawal, your employer may require documentation of the hardship. Withdrawals are also reported to the IRS on Form 1099-R, which you'll receive and must report on your tax return.

Is a 401(k) loan better than a withdrawal?

Usually, yes — you avoid taxes and penalties, and you're repaying yourself. But if you leave your job before repaying, the loan balance becomes a taxable withdrawal with penalties. A loan works best if you're confident you'll stay employed or can repay quickly.

What if I need the money but I'm not 59½ and don't may have access to for an exception?

You can still withdraw, but you'll owe income tax plus the 10% penalty. You could also explore a 401(k) loan, a hardship withdrawal if your plan allows it, or rolling the balance to an IRA to explore other options like Roth conversion or SEPP. A tax professional can help you weigh the costs of each route.