How to Withdraw Money From Your 401(k) Before Retirement
The basic ways to take money out of a 401(k)
You can pull money from a 401(k) in three main ways: a loan from your plan, a hardship withdrawal, or a regular withdrawal after you leave your job or reach age 59½. Each has different rules about how much you can take, what happens to taxes, and whether you have to pay it back. The route that works for you depends on your age, your reason for needing the money, and whether your specific plan offers each option.
A 401(k) loan lets you borrow from your own balance and repay it over time — usually five years, though longer periods are allowed for home purchases in some plans. You do not owe income tax on the money you borrow, but you do have to repay it or face taxes and penalties. A hardship withdrawal is permanent — you keep the money — but it comes with a 10% penalty if you are under 59½, plus income tax on the full amount withdrawn. A regular withdrawal after leaving your job or turning 59½ also triggers income tax and the 10% penalty if you are under 59½, unless an exception applies.
Key Takeaways
- A 401(k) loan does not trigger income tax or the early withdrawal penalty, but you must repay it within the plan's timeline or it becomes a taxable withdrawal.
- Hardship withdrawals are permanent and subject to income tax plus a 10% penalty before age 59½, even though the IRS defines specific hardships that may have access to.
- Once you leave your job, you can withdraw from your 401(k) without the hardship test, though the 10% penalty still applies if you are under 59½.
- At age 59½, you can withdraw any amount without the 10% penalty, though you still owe income tax on the withdrawal.
- If you do not repay a 401(k) loan before you leave your job, the unpaid balance is treated as a withdrawal and taxed accordingly.
401(k) loans: borrowing from yourself
A 401(k) loan lets you borrow up to 50% of your vested balance, with a maximum of $50,000, depending on your plan's rules. You repay the loan through payroll deductions, usually over five years, though some plans allow longer repayment for a home purchase. The interest rate is typically the prime rate plus 1%, and that interest goes back into your own account — you are not paying a bank.
The main advantage is that you avoid the 10% early withdrawal penalty and do not owe income tax on the amount borrowed. The main risk is what happens if you leave your job before the loan is repaid. Most plans require you to repay the full outstanding balance within 60 to 90 days of separation, or the unpaid amount is treated as a taxable withdrawal. If you are under 59½, that unpaid balance also gets hit with the 10% penalty. Not all 401(k) plans offer loans, so you will need to check your plan documents or ask your plan administrator whether this option is available to you.
Hardship withdrawals: permanent access for specific situations
The IRS allows hardship withdrawals for a limited list of situations: when ready and heavy financial need due to medical expenses, home purchase or repair, education costs, preventing eviction or foreclosure, funeral expenses, or certain natural disasters. Your plan administrator decides whether your situation meets the definition, and different plans may interpret the rules differently. You must also show that you have no other way to cover the expense — for example, that you cannot take a loan from the plan or borrow elsewhere.
A hardship withdrawal is permanent; you do not repay it. However, you owe income tax on the full amount withdrawn, and if you are under 59½, you also owe a 10% early withdrawal penalty. Some plans allow you to withdraw only the amount needed to cover the hardship, while others let you take more. After you take a hardship withdrawal, most plans suspend your ability to contribute to the plan for six months. Not all plans offer hardship withdrawals, and the rules vary by plan, so check your plan documents before requesting one.
Regular withdrawals after leaving your job
Once you separate from your employer, you can withdraw from your 401(k) without proving a hardship. You can take as much or as little as you want, whenever you want. However, the same tax rules explore: you owe income tax on the withdrawal, and if you are under 59½, you also owe the 10% early withdrawal penalty — unless an exception applies.
The penalty exceptions include withdrawals after age 59½, withdrawals due to disability, withdrawals to cover unreimbursed medical expenses above 7.5% of your adjusted gross income, and a few others. If you are under 59½ and do not fit an exception, the 10% penalty is automatic. You can avoid the penalty by rolling the money into an IRA or another employer plan instead of withdrawing it, which lets you keep the money invested and tax-deferred. Your plan will send you a notice explaining your rollover options when you separate.
Withdrawals at age 59½ and beyond
At age 59½, you can withdraw from your 401(k) without the 10% early withdrawal penalty. You still owe income tax on the withdrawal, but the penalty disappears. This is the age at which the IRS considers you old enough to access retirement savings without restriction. If you are still working for the employer that sponsors the plan, you may not be able to withdraw until you actually separate from the job, depending on your plan's rules — this is called the "still-employed restriction."
Once you turn 73, the IRS requires you to take required minimum distributions (RMDs) from your 401(k) each year, based on your age and account balance. If you do not take the RMD, you owe a 25% penalty on the amount you should have withdrawn (or 10% if you correct it within two years). You can withdraw more than the RMD if you want, but you must withdraw at least the RMD amount each calendar year.
What happens to taxes and penalties
Any withdrawal from a 401(k) is subject to income tax in the year you withdraw it. Your plan will withhold a percentage of the withdrawal for federal income tax — usually 20% for a direct withdrawal, though you can request a different amount. The withheld amount is sent to the IRS on your behalf, but it may not cover your full tax bill if you are in a higher tax bracket. You will owe the difference when you file your tax return.
The 10% early withdrawal penalty applies to withdrawals before age 59½ unless an exception applies. The penalty is calculated on the full amount withdrawn, not just the portion that exceeds your contributions. For example, if you withdraw $10,000 before age 59½ and do not fit an exception, you owe $1,000 in penalties plus income tax on the full $10,000. The penalty is reported on Form 5329 when you file your tax return. If you take a loan instead of a withdrawal, you avoid both the tax and the penalty on the borrowed amount, as long as you repay the loan on schedule.
Rolling over to an IRA instead of withdrawing
When you leave your job, you can roll your 401(k) balance into a traditional IRA instead of withdrawing it. A rollover moves the money directly from your 401(k) plan to the IRA without you touching it, which avoids the 20% withholding and lets you keep the money invested and tax-deferred. You have 60 days from the time you receive the money to complete the rollover, or the distribution is treated as a taxable withdrawal.
An IRA rollover is useful if you want to avoid when ready taxes and penalties, or if you want more investment options than your 401(k) plan offers. You can also roll a 401(k) into another employer's 401(k) plan if that plan accepts rollovers. If you have after-tax contributions in your 401(k), rolling over becomes more complicated, and you may want to speak with a tax professional about the best approach. Your plan administrator can explain the rollover process and provide the forms you need.
Frequently Asked Questions
What happens to my 401(k) loan if I get fired or laid off?
If you separate from your job, most plans require you to repay the outstanding loan balance within 60 to 90 days. If you do not repay it by the important date, the unpaid amount is treated as a taxable withdrawal. If you are under 59½, you also owe the 10% early withdrawal penalty on the unpaid balance. Some plans allow you to extend the repayment important date or roll the loan into an IRA, so contact your plan administrator when ready if you face this situation.
Can I withdraw from my 401(k) if I am still working?
It depends on your plan. Some plans allow in-service withdrawals after you reach age 59½, even if you are still employed. Hardship withdrawals and loans may also be available while you are working. Check your plan documents or ask your plan administrator what options are available to you. If your plan does not allow withdrawals while you are employed, you will have to wait until you separate from the job.
How much will I owe in taxes if I withdraw $20,000?
Your plan will withhold 20% for federal income tax, which is $4,000. However, your actual tax bill depends on your total income and tax bracket. If you are in a 22% tax bracket, you will owe $4,400 in federal tax, meaning you will owe an additional $400 when you file your return. You may also owe state income tax. If you are under 59½ and do not fit an exception, add the 10% early withdrawal penalty ($2,000) on top of the income tax.
Is a 401(k) loan better than a hardship withdrawal?
A loan is usually better if you can repay it, because you avoid the 10% penalty and income tax. A hardship withdrawal makes sense only if you cannot repay a loan and the money is truly necessary. With a loan, you keep the money invested and growing. With a hardship withdrawal, the money is gone and you owe taxes and penalties on top of losing the balance.
What is the difference between a rollover and a withdrawal?
A withdrawal puts the money in your hands, triggers 20% withholding, and is taxable. A rollover moves the money directly to an IRA or another 401(k) plan without withholding, and the money stays tax-deferred. If you receive the money and do not roll it over within 60 days, it becomes a taxable withdrawal. A rollover is the better choice if you want to avoid when ready taxes and penalties.
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.