When and How You Can Withdraw Money From Your 401(k)
You can withdraw from your 401(k) before retirement, but the IRS charges a 10% penalty on most early withdrawals, plus you owe income tax on the amount taken out. The main exceptions are hardship withdrawals, loans against your balance, and withdrawals after you leave your job at 55 or older.
Key Takeaways
- Withdrawals before age 59½ typically trigger a 10% early withdrawal penalty on top of ordinary income tax, unless you meet a specific IRS exception.
- Hardship withdrawals for immediate financial need (medical bills, eviction, funeral costs) waive the penalty but not the income tax.
- You can borrow against your 401(k) balance instead of withdrawing—you repay yourself with interest, and no tax is due unless you fail to repay.
- If you leave your job at 55 or older, you can withdraw without the 10% penalty, though income tax still applies.
- Roth 401(k) contributions (not earnings) can be withdrawn tax-free at any time, but earnings follow the same penalty rules as traditional 401(k)s.
The 10% Penalty and Income Tax on Early Withdrawals
When you withdraw money from a traditional 401(k) before age 59½, the IRS charges a 10% penalty on the amount withdrawn. That penalty is in addition to ordinary income tax. If you withdraw $10,000 at age 45, you owe $1,000 in penalty plus income tax on the full $10,000 at your current tax bracket.
Your employer withholds federal income tax automatically—usually 20% of the withdrawal amount. That withholding is sent to the IRS, but it may not cover your full tax bill. When you file your tax return, you calculate what you actually owe. If the withholding was too low, you pay the difference. If it was too high, you get a refund.
The penalty applies to the withdrawal itself, not to what your employer withholds. So if you withdraw $10,000, you owe the $1,000 penalty regardless of how much tax was held back.
Hardship Withdrawals: Waiving the Penalty
A hardship withdrawal lets you take money out before 59½ without the 10% penalty, but you still owe income tax. Your plan must offer hardship withdrawals—not all do—and you must show immediate and heavy financial need. The IRS recognizes these situations: unreimbursed medical expenses, costs related to a home foreclosure or eviction, funeral or burial costs, tuition and education fees, and certain expenses to repair damage to your primary home.
You cannot simply declare a hardship. Your plan administrator reviews your request and decides whether your situation meets the plan's definition. You typically must provide documentation: medical bills, an eviction notice, a funeral bill, a tuition invoice, or a contractor's estimate for home repair. Some plans also require you to show that you have no other funds available—that you have already withdrawn from other retirement accounts or taken out loans.
The amount you can withdraw is limited to what you need to cover the expense plus taxes owed on the withdrawal itself. If you need $5,000 for medical bills and expect to owe $1,500 in tax, you might withdraw $6,500. Plans vary on how strictly they enforce this limit.
401(k) Loans: Borrowing From Yourself
Instead of withdrawing, you can borrow from your 401(k) balance. You repay the loan to yourself with interest, and no tax is due as long as you repay on schedule. The IRS allows you to borrow up to 50% of your vested balance or $50,000, whichever is less. If your balance is $100,000 and you are fully vested, you can borrow up to $50,000.
Your plan sets the interest rate—usually the prime rate plus 1% to 2%. You repay through payroll deductions, typically over five years (longer if the loan is for a home purchase). The interest you pay goes back into your 401(k) account, so you are paying interest to yourself.
The risk: if you leave your job, most plans require you to repay the loan within 60 to 90 days. If you cannot repay, the outstanding balance is treated as a withdrawal, and you owe the 10% penalty plus income tax. If you are over 55 when you leave, the penalty is waived, but income tax still applies to the unpaid balance.
The Rule of 55: Withdrawals After Leaving Your Job
If you leave your job in the year you turn 55 or later, you can withdraw from that employer's 401(k) without the 10% early withdrawal penalty. This is called the Rule of 55 (or the Separation from Service exception). You still owe income tax on the withdrawal, but the penalty does not apply.
This rule applies only to the 401(k) at the employer you just left. If you have a 401(k) from a previous employer, the Rule of 55 does not apply to it—you would owe the 10% penalty if you withdraw before 59½. If you roll your old 401(k) into your new employer's plan, the Rule of 55 no longer applies to those funds either.
The rule is useful if you retire early or leave a job and need to bridge income until Social Security or another pension starts. You can withdraw what you need, pay income tax, and leave the rest to grow.
Substantially Equal Periodic Payments (SEPP)
The IRS allows you to withdraw from your 401(k) before 59½ without penalty if you commit to taking substantially equal periodic payments (SEPP), also called a 72(t) distribution. You calculate the payment amount using one of three IRS-approved methods based on your life expectancy and account balance. Once you start, you must continue for at least five years or until you reach 59½, whichever is longer.
SEPP is complex and inflexible. If you stop the payments early or change the amount, you owe the 10% penalty retroactively on all withdrawals, plus interest. The calculation methods are technical—most people work with a tax professional to set up SEPP correctly. If you make a mistake, the IRS can assess penalties years later.
SEPP works best if you are certain you can commit to the payment schedule and do not need to adjust it. It is useful for people who retire at 50 or 52 and need steady income until 59½.
Roth 401(k) Contributions and Earnings
If your plan offers a Roth 401(k), the rules differ. You can withdraw your contributions (the money you put in) at any time, tax-free and penalty-free. You cannot withdraw the earnings (investment gains) before 59½ without owing the 10% penalty and income tax, unless you meet an exception like hardship or the Rule of 55.
Your plan statement separates contributions from earnings. If you contributed $50,000 and your balance is now $65,000, you can withdraw the $50,000 contribution anytime. The $15,000 in earnings is subject to the early withdrawal rules.
After you reach 59½ and have held the Roth 401(k) for at least five years, you can withdraw both contributions and earnings tax-free and penalty-free. If you leave your job, you can roll the Roth 401(k) into a Roth IRA, which gives you more withdrawal flexibility.
What Happens to Your Employer Match
Money your employer contributed to your 401(k) (the match) is subject to the same withdrawal rules as your own contributions. If you take a hardship withdrawal or use the Rule of 55, the employer match comes out along with your contributions, and the same tax treatment applies.
However, you can only withdraw the portion of the employer match that is vested—that is, that you have earned the right to keep. If your plan has a three-year vesting schedule and you have worked there for two years, you may not be fully vested in the match. Your plan document specifies the vesting schedule. If you leave before you are fully vested, you forfeit the unvested portion.
Frequently Asked Questions
What happens if I withdraw from my 401(k) and then want to put the money back?
You can roll the money back into a 401(k) or IRA within 60 days of the withdrawal. This is called a rollover. If you meet the 60-day deadline, the withdrawal is not taxed and the penalty does not apply. Your new plan or IRA must accept the rollover. If you miss the 60-day window, the withdrawal is taxed and penalized as normal.
Can I withdraw my 401(k) if I am laid off or fired?
Being laid off or fired does not automatically waive the early withdrawal penalty. However, if you are 55 or older in the year you leave, the Rule of 55 applies and you can withdraw without penalty. If you are younger, you would need to meet another exception—hardship, SEPP, or a loan—or you owe the 10% penalty plus income tax.
Do I have to withdraw my entire 401(k) at once?
No. You can take partial withdrawals. Each withdrawal is subject to the same rules: if you are under 59½ and do not meet an exception, you owe the 10% penalty and income tax on that amount. Your plan may limit how often you can withdraw or require a minimum withdrawal amount.
What if I need money but do not want to withdraw or borrow?
Some plans allow you to take a distribution to pay for specific expenses without calling it a hardship withdrawal. Ask your plan administrator what options are available. You might also explore whether you can reduce your contributions temporarily to free up cash from your paycheck, or whether your employer offers an employee stock purchase plan or other benefit that could help.
Will a 401(k) withdrawal affect my Social Security or other benefits?
A 401(k) withdrawal does not affect Social Security benefits. It may affect means-tested benefits like Medicaid or Supplemental Security Income if you are receiving them, because those programs count your income and assets. If you receive any government benefits, check with the program administrator before taking a large withdrawal.