You can take money out of your 401k before retirement, but the rules depend on your age, your reason, and whether your plan allows it

A 401k is designed to stay locked until you turn 59½. If you withdraw before that age, you typically owe income tax on the money plus a 10 percent penalty — meaning you lose roughly 30 to 40 percent of what you take out, depending on your tax bracket. The IRS does allow some exceptions where you can withdraw without the penalty, but the money is still taxed as income. Your employer's plan document sets the final rules about what your specific 401k allows.

The most common paths are: waiting until 59½, leaving your job and using the "Rule of 55" if you're 55 or older, taking a loan against your balance, or withdrawing under hardship rules if your plan offers them. Each has different tax consequences and different paperwork. Understanding which one applies to your situation saves you thousands in unnecessary taxes.

Key Takeaways

  • Withdrawals before age 59½ usually trigger both income tax and a 10 percent IRS penalty, reducing what you receive by 30 to 40 percent.
  • The Rule of 55 lets you withdraw penalty-free if you leave your job at 55 or older, though you still pay income tax on the money.
  • A 401k loan lets you borrow against your own balance and repay it with interest, avoiding taxes and penalties if you repay on time.
  • Hardship withdrawals are available only for specific situations like medical bills or eviction, and your plan must offer them; the 10 percent penalty still applies.
  • Once you turn 59½, you can withdraw any amount without penalty, though income tax is due on the full withdrawal.

Withdrawals before 59½ and the 10 percent penalty

If you are under 59½ and take money out of your 401k, the IRS charges you a 10 percent penalty on top of regular income tax. This means a $10,000 withdrawal might cost you $3,000 to $4,000 in taxes and penalties combined, leaving you with $6,000 to $7,000. The exact amount depends on your tax bracket — someone in the 22 percent bracket loses roughly 32 percent, while someone in the 24 percent bracket loses roughly 34 percent.

This penalty applies to the amount you withdraw, not to your entire 401k balance. If your balance is $100,000 and you withdraw $10,000, only that $10,000 is penalized. The remaining $90,000 stays in the account and continues to grow tax-deferred. Your employer's plan administrator will withhold taxes and the penalty from your check automatically, so you receive the net amount after those deductions.

The Rule of 55: withdrawing penalty-free after leaving your job

If you leave your job in the year you turn 55 or later, you can withdraw from that employer's 401k without the 10 percent penalty. This is called the Rule of 55, and it is one of the few ways to access your 401k early without paying the penalty. You still owe income tax on the withdrawal — the penalty is what you avoid. This rule applies only to the 401k from the job you just left, not to 401ks from previous employers or to IRAs.

The timing matters: you must leave the job in the year you turn 55 or later. If you turn 55 in January and leave in December of that year, you may have access to. If you turn 55 in December and leave in January of the next year, you do not. Once you meet the age and separation requirement, you can take withdrawals in any amount and any year after that, as long as you are still separated from service. If you return to work for that same employer, the rule closes and you cannot use it anymore.

Borrowing from your 401k instead of withdrawing

A 401k loan lets you borrow money from your own account and repay it with interest. You avoid both the 10 percent penalty and income tax on the amount borrowed, as long as you repay the loan on schedule. The interest you pay goes back into your own account, not to a bank. Most plans allow you to borrow up to 50 percent of your vested balance, with a maximum of $50,000, though your plan document sets the exact limit.

The catch is repayment: you typically have five years to repay the loan, with payments due every quarter. If you leave your job before the loan is repaid, the outstanding balance is usually treated as a withdrawal, which means you owe the 10 percent penalty and income tax on whatever you have not paid back. If you cannot repay it, the loan defaults and becomes a taxable withdrawal. A loan makes sense only if you are certain you can repay it on time and stay in your job long enough to do so.

Hardship withdrawals for specific financial emergencies

Some 401k plans allow hardship withdrawals for immediate and heavy financial need. The IRS defines hardship narrowly: medical expenses, costs related to buying a primary home, tuition and education fees, payments to prevent eviction or foreclosure, burial or funeral expenses, or expenses to repair damage to your primary home. Your plan must offer hardship withdrawals — not all do — and you must exhaust other resources first, such as loans or credit.

Even if your plan allows hardship withdrawals, you still owe income tax and the 10 percent penalty on the amount you withdraw. The main difference from a regular early withdrawal is that you do not have to prove financial hardship to the IRS; your plan administrator verifies that your situation meets the plan's definition. The process usually takes one to two weeks. You will need to submit documentation — medical bills, an eviction notice, a tuition statement — depending on the type of hardship.

Withdrawals at 59½ and beyond

Once you reach 59½, you can withdraw from your 401k without the 10 percent penalty. You still owe income tax on the full amount withdrawn, but the penalty disappears. This is the primary reason 401ks are designed to open at this age: it is when most people can access their retirement savings without a tax hit beyond ordinary income tax.

At age 72, the IRS requires you to take a minimum distribution each year, whether you need the money or not. This is called a required minimum distribution, or RMD. The amount is calculated based on your age and your account balance. If you do not take the RMD, you owe a 25 percent penalty on the amount you should have withdrawn (this penalty was reduced from 50 percent in 2023). Your plan administrator will calculate the RMD and notify you, but it is your responsibility to take the withdrawal.

What happens to your 401k if you change jobs

When you leave a job, you have options for what to do with your 401k. You can leave it with your former employer if the balance is above a certain amount (usually $5,000), roll it into your new employer's plan if that plan accepts rollovers, or roll it into an IRA. Each option has different withdrawal rules and tax consequences. A rollover to an IRA or new plan does not trigger taxes or penalties — the money moves directly from one account to another.

If you cash out your 401k when you leave a job, you owe income tax and the 10 percent penalty on the full amount (unless you are 55 or older and using the Rule of 55). Your plan administrator will withhold 20 percent for federal taxes automatically, but you may owe more when you file your tax return. Rolling over instead of cashing out preserves the tax-deferred status of the money and keeps your options open.

Frequently Asked Questions

Can I withdraw from my 401k if I am laid off or fired?

Being laid off or fired does not change the withdrawal rules. You still owe the 10 percent penalty if you are under 59½, unless you use the Rule of 55 (you must be 55 or older and separated from service). If you are laid off, you may be able to roll your 401k into an IRA to preserve it, or leave it with your former employer if the balance is high enough.

What if I need money for medical bills right now?

If your plan offers hardship withdrawals, you can request one for medical expenses. You will still owe income tax and the 10 percent penalty, so you lose roughly 30 to 40 percent to taxes. A 401k loan is often better if you can repay it — you avoid the penalty and taxes. If neither option is available, you could explore medical payment plans, hospital financial assistance programs, or personal loans before withdrawing from your 401k.

Do I have to pay taxes on a 401k loan?

No. A 401k loan is not a withdrawal, so you do not owe income tax or penalties on the amount borrowed. You do owe interest, which you repay to your own account. If you fail to repay the loan on schedule or leave your job before it is repaid, the outstanding balance becomes a taxable withdrawal and you owe the 10 percent penalty.

What if I roll my 401k into an IRA — can I withdraw from that?

An IRA has the same basic rules: you owe the 10 percent penalty if you withdraw before 59½, with some exceptions. The Rule of 55 does not apply to IRAs, but other exceptions like hardship or medical expenses may. Rolling over does not change your access to the money — it just moves it to a different account type with potentially lower fees and more investment options.

Can my employer stop me from taking a 401k loan?

Your employer cannot stop you if the plan allows loans, but not all plans do. Check your plan document or ask your HR department whether loans are available. If your plan does allow loans, your employer can set limits on the amount and repayment terms, but they cannot deny you a loan if you meet those terms.