You can withdraw from your 401k before age 59½, but the IRS charges a 10% penalty on most early withdrawals, plus you owe income tax on the amount taken out.

The standard rule is simple: wait until you turn 59½. At that age, you can withdraw as much as you want without the 10% early withdrawal penalty. Before that age, the penalty applies to most withdrawals — meaning if you take out $10,000 at age 45, you lose $1,000 to the penalty alone, and then owe income tax on the full $10,000 on top of that.

However, the IRS recognizes certain hardships and life situations where you can withdraw early without the penalty. These are specific categories, not a judgment call. If your situation fits one of them, you can pull money out penalty-free. If it does not, you pay the 10% penalty whether you think the reason is urgent or not.

Key Takeaways

  • You can withdraw from your 401k at any age, but withdrawals before 59½ are subject to a 10% IRS penalty plus income tax unless a specific exception applies.
  • Exceptions to the early withdrawal penalty include disability, medical expenses over 7.5% of your adjusted gross income, and substantially equal periodic payments under Rule 72(t).
  • Withdrawals due to financial hardship (job loss, eviction, medical bills) may be allowed by your plan, but the IRS penalty still applies unless you meet an official exception.
  • Your 401k plan document sets its own rules about which withdrawals it permits; federal law allows the penalty exceptions, but your employer can be more restrictive.
  • Loans from your 401k do not count as withdrawals and have no IRS penalty, but you must repay them or face tax consequences when you leave the job.

The IRS Exceptions That Eliminate the 10% Penalty

The IRS recognizes seven situations where you can withdraw early without paying the 10% penalty. You still owe income tax on the withdrawal, but the penalty does not apply. These are the only exceptions the IRS allows — your plan cannot add others, though it can be more restrictive and disallow some of them.

Disability: If you are unable to work due to a physical or mental condition that is expected to last at least 12 months or result in death, you can withdraw penalty-free. You will need medical documentation, and the IRS definition of disability is strict — it is not the same as may have access to for Social Security Disability.

Medical expenses: You can withdraw penalty-free to pay medical expenses that exceed 7.5% of your adjusted gross income (AGI) in that year. This applies only to expenses you actually paid, not insurance premiums you expect to pay. If your AGI is $60,000 and your medical bills were $6,000, you exceed the threshold by $1,500, so you can withdraw up to $1,500 penalty-free.

Substantially equal periodic payments (Rule 72(t)): If you set up a series of equal payments based on your life expectancy, you can withdraw penalty-free at any age. The payments must continue for five years or until you turn 59½, whichever is longer. This is a technical calculation — most people work with a tax professional to set it up correctly, because if you break the payment schedule, you owe the penalty retroactively on all prior withdrawals.

Separation from service: If you leave your job in the year you turn 55 or later, you can withdraw from that employer's 401k without the 10% penalty (though you still owe income tax). This applies only to the plan at the employer you just left, not to old 401k accounts from previous jobs.

Death or beneficiary status: If the account holder dies, beneficiaries can withdraw without the 10% penalty. The beneficiary still owes income tax, but not the early withdrawal penalty.

may have access to domestic relations order (QDRO): If a court orders part of your 401k to go to a spouse or former spouse as part of a divorce, that portion can be withdrawn without the 10% penalty.

IRS levy: If the IRS seizes part of your 401k to pay back taxes, no early withdrawal penalty applies (though the IRS gets the money).

Hardship Withdrawals: Your Plan Allows It, But the Penalty Still Applies

Many 401k plans allow hardship withdrawals for situations like job loss, eviction, foreclosure, or major medical bills. These are not IRS exceptions — they are plan rules that your employer sets. If your plan allows hardship withdrawals, you can take the money out, but you still owe the 10% IRS penalty plus income tax unless you also meet one of the seven IRS exceptions above.

Your plan decides what counts as a hardship. Common reasons include preventing eviction or foreclosure, paying for medical treatment, paying for higher education, or covering funeral expenses. You typically have to prove the hardship — provide an eviction notice, medical bills, or a termination letter — and show that you have no other way to cover the expense.

Even if your plan approves a hardship withdrawal, you cannot avoid the 10% penalty unless your situation also fits an IRS exception. For example, if you withdraw $5,000 due to eviction and your plan allows it, you still owe the 10% penalty ($500) plus income tax on the $5,000.

401k Loans: No Penalty, But You Must Repay

A loan from your 401k is not a withdrawal. You borrow money from your own account and repay it with interest. The IRS does not charge a penalty, and you do not owe income tax on the loan itself. However, the interest you pay goes back into your account, not to the plan administrator.

Most plans allow you to borrow up to 50% of your vested balance, with a maximum of $50,000. You typically have five years to repay, though some plans allow longer terms if the loan is for a home purchase. If you leave your job before the loan is repaid, you usually have to pay back the full balance within 60 days or the unpaid amount is treated as a withdrawal subject to the 10% penalty and income tax.

Loans are useful if you need cash but want to avoid the penalty and keep your money invested. The downside is that while you are repaying the loan, that money is not growing in your account, and if you cannot repay it, the tax hit can be severe.

Roth 401k Withdrawals: Different Rules for Contributions and Earnings

If you have a Roth 401k (not a traditional 401k), the withdrawal rules are more complex because contributions and earnings are treated differently. You can withdraw your own contributions at any time without penalty or tax. However, earnings on those contributions follow the same early withdrawal rules as a traditional 401k — you owe the 10% penalty and tax unless you meet an exception.

To withdraw earnings penalty-free from a Roth 401k, you must be at least 59½ and have held the account for at least five years. If you meet both conditions, all withdrawals are tax-free and penalty-free. If you do not, the earnings portion is subject to the 10% penalty and income tax.

What Happens to Your Withdrawal: Taxes and Withholding

When you withdraw from a traditional 401k, your plan administrator withholds federal income tax automatically — usually 20% of the amount withdrawn. This withholding is sent to the IRS, but it is not the same as your actual tax bill. Depending on your income and tax bracket, you may owe more or less than 20%.

If you withdraw $10,000, your plan withholds $2,000 and sends you $8,000. When you file your tax return, you report the full $10,000 as income. If your tax bracket means you owe $3,000 in tax on that income, you owe an additional $1,000 beyond what was withheld. If you owe only $1,500, you get a refund of $500.

The 10% early withdrawal penalty is calculated on the full amount withdrawn and is reported on your tax return. If you withdrew $10,000 before age 59½ without an exception, you owe $1,000 in penalty tax plus your regular income tax on the $10,000.

Frequently Asked Questions

Can I withdraw from my 401k if I lost my job?

Job loss is a common hardship that many plans allow, but it does not eliminate the 10% IRS penalty. You can withdraw the money if your plan permits it, but you owe the penalty plus income tax. The exception is if you are at least 55 and separated from service in the year you turned 55 or later — then the penalty does not apply, though you still owe income tax.

What if I need the money for medical bills?

If your medical expenses exceed 7.5% of your adjusted gross income in the year you withdraw, you can take out the amount over that threshold without the 10% penalty. You still owe income tax. If your expenses do not exceed 7.5% of your AGI, the penalty applies, though your plan may still allow the withdrawal as a hardship.

Do I have to pay the penalty if I roll my 401k to an IRA?

No. A direct rollover from your 401k to a traditional IRA is not a withdrawal and has no penalty or tax. You must do a direct transfer — the plan sends the money to the IRA custodian, not to you. If the plan sends you a check, you have 60 days to deposit it into an IRA or it is treated as a withdrawal subject to withholding and penalties.

Can I withdraw from my 401k while I am still working?

Most plans do not allow withdrawals while you are employed, with the exception of loans. Some plans allow hardship withdrawals even while you work, but this is plan-specific. Check your plan document or ask your HR department what withdrawals are permitted before you separate from service.

What if I withdraw and then change my mind?

You can put the money back into your 401k within 60 days as a rollover, and the withdrawal is treated as if it never happened — no tax, no penalty. However, this works only if you do it within the 60-day window and only once per year. After 60 days, the withdrawal is final and you owe the tax and penalty.