The main ways to take money out of a 401k

You can withdraw money from a 401k in several ways, and which one you use depends on your age, your reason, and whether you still work at the company that sponsors the plan. The most common routes are a regular withdrawal (which triggers taxes and penalties if you're under 59½), a loan against your balance, a hardship withdrawal, or waiting until you separate from your employer to roll the money into an IRA or take a distribution.

Each method has different tax consequences and rules about how much you can take. A withdrawal before 59½ typically costs you income tax plus a 10 percent early withdrawal penalty, unless you meet a narrow exception. A loan lets you borrow from yourself and repay it, with no immediate tax hit — but if you leave the job, the loan balance usually becomes due within 60 days or it's treated as a taxable withdrawal. Hardship withdrawals exist for specific emergencies and skip the 10 percent penalty but not the income tax.

The route that makes sense for you depends on whether you need the money now or can wait, how much you need, and whether you can afford the tax bill. If you're still working, your plan administrator can tell you which options your specific plan allows — not all plans permit loans or hardship withdrawals.

Key Takeaways

  • Withdrawals before age 59½ are subject to income tax and usually a 10 percent early withdrawal penalty, unless you meet a specific exception like disability or a Roth conversion.
  • A 401k loan lets you borrow against your balance and repay it over time with no immediate tax, but the full balance becomes due if you leave your job.
  • Hardship withdrawals for immediate financial need skip the 10 percent penalty but still owe income tax, and your plan must offer this option.
  • If you leave your job, you can roll your 401k into an IRA or take a distribution, and the rules change depending on your age and the type of plan.
  • The tax bill on any withdrawal is calculated at your ordinary income tax rate, not a flat percentage, so the actual cost depends on your total income for the year.

Regular withdrawals and the tax cost

A regular withdrawal means you ask your plan administrator to send you money from your 401k balance. If you're under 59½, the IRS taxes it as ordinary income and adds a 10 percent penalty on top. If you're 59½ or older, you owe the income tax but not the penalty.

The tax is withheld from the check before you receive it — usually 20 percent for a direct withdrawal, though your plan may offer different withholding rates. That 20 percent is a deposit toward your tax bill, not the full bill. When you file your tax return, the IRS calculates your actual tax based on your total income for the year. If you owe more than 20 percent, you'll owe the difference. If you owe less, you may get a refund.

The 10 percent penalty applies only to the amount you withdraw, not to your entire balance. So if you withdraw $10,000 before 59½, you pay 10 percent penalty ($1,000) plus income tax on the full $10,000. If your tax bracket is 22 percent, that's $2,200 in tax plus $1,000 penalty, leaving you roughly $6,800 from the $10,000 you took out.

Exceptions to the early withdrawal penalty

The IRS allows you to withdraw before 59½ without the 10 percent penalty in specific situations. You still owe income tax, but the penalty is waived. These exceptions include disability (as defined by the IRS), death (your beneficiary can withdraw), medical expenses that exceed 7.5 percent of your adjusted gross income, and a series of substantially equal periodic payments (a complex calculation that locks you into regular withdrawals for at least five years or until 59½, whichever is later).

Another exception is a Roth conversion, where you move money from a traditional 401k into a Roth IRA. You pay income tax on the conversion but not the 10 percent penalty. The money then grows tax-free in the Roth, and you can withdraw your contributions (not the earnings) at any time without penalty.

If you were born before 1951 and separated from your employer in or after the year you turned 55, you can withdraw from that employer's 401k without the 10 percent penalty. This is called the Rule of 55. It applies only to the plan at the company where you separated; it does not apply to old 401ks from previous employers.

401k loans: borrowing from yourself

Many 401k plans allow you to borrow against your balance. You borrow from your own account, not from a bank, and you repay yourself with interest. The interest rate is typically the prime rate plus 1 or 2 percent, set by your plan administrator. The money you repay goes back into your 401k account.

The main advantage is that there's no immediate tax hit. You don't owe income tax or penalties on the loan itself. The repayment is made with after-tax dollars, so when you withdraw that money later in retirement, you won't pay tax on it twice. The loan must be repaid within five years, though some plans allow longer terms if the loan is used to buy a primary residence.

The catch is what happens if you leave your job. Most plans require the full loan balance to be repaid within 60 days of separation. If you don't repay it, the outstanding balance is treated as a taxable withdrawal. You owe income tax on the full amount, plus the 10 percent early withdrawal penalty if you're under 59½. So a $20,000 loan that you can't repay becomes a $20,000 taxable withdrawal, which could cost you $4,000 to $6,000 or more in taxes and penalties.

Not all plans offer loans, and those that do set their own rules about loan size, repayment terms, and whether you can have more than one loan at a time. Contact your plan administrator to find out whether loans are available and what the terms are.

Hardship withdrawals for immediate financial need

A hardship withdrawal lets you take money out before 59½ without the 10 percent penalty, but only for specific reasons. The IRS defines hardship as an immediate and heavy financial need, and the plan must determine that you have no other way to meet it. Common reasons include medical expenses, preventing eviction or foreclosure, funeral expenses, or damage to your primary residence from a casualty.

You still owe income tax on the withdrawal. The amount you can withdraw is limited to what's needed to cover the hardship plus taxes on the withdrawal itself. Your plan administrator will ask you to document the hardship — medical bills, an eviction notice, a casualty report — and certify that you've exhausted other resources like loans, savings, or employer assistance programs.

Not all plans offer hardship withdrawals, and those that do may have different definitions of what qualifies. Some plans are stricter than others. Contact your plan administrator to ask whether hardship withdrawals are available and what documentation you'll need to provide.

What happens when you leave your job

When you separate from your employer, you have several choices for your 401k balance. You can leave it in the plan (if your balance is above a certain amount, usually $5,000), roll it into an IRA, roll it into your new employer's plan if one is available, or take a distribution and receive the money directly.

If you're 55 or older and you separate from your job, you can withdraw from that employer's 401k without the 10 percent penalty under the Rule of 55. If you're younger, a withdrawal still triggers the 10 percent penalty plus income tax, unless you roll the money into an IRA and then use one of the penalty exceptions (like a Roth conversion or substantially equal periodic payments).

A rollover to an IRA gives you more investment choices and usually lower fees than a 401k. It also gives you access to Roth conversion options and other withdrawal strategies. A direct rollover, where the plan sends the money to the IRA custodian, avoids any withholding or tax complications. If you take a direct distribution instead, the plan withholds 20 percent for taxes, and you have 60 days to roll the remaining amount into an IRA or you'll owe tax on the full amount.

Calculating the actual cost of a withdrawal

The cost of withdrawing money depends on your tax bracket, the 10 percent penalty if it applies, and any state income tax. The federal income tax rate on a withdrawal is your marginal tax rate — the rate you pay on your last dollar of income for the year. In 2024, that ranges from 10 percent to 37 percent depending on your income and filing status.

If you withdraw $10,000 and you're in the 22 percent federal tax bracket with a 5 percent state tax bracket, you owe $2,700 in tax. If you're under 59½, add the $1,000 penalty, and your total cost is $3,700. You receive $6,300. If you're 59½ or older, you receive $7,300.

The withholding your plan deducts (usually 20 percent) is a deposit toward this bill. If your actual tax is higher than 20 percent, you'll owe more when you file your return. If it's lower, you may get a refund. Use a tax calculator or speak with a tax professional to estimate your actual bill before you withdraw.

Frequently Asked Questions

Can I withdraw from my 401k if I'm still working?

Yes, but it depends on your plan. Some plans allow withdrawals only after you separate from your employer. Others allow in-service withdrawals, which let you take money out while still employed. A few plans allow loans or hardship withdrawals while you're working. Contact your plan administrator to find out what your specific plan permits.

What's the difference between a withdrawal and a rollover?

A withdrawal means you receive the money directly and owe tax on it. A rollover means you move the money from your 401k into another retirement account (usually an IRA) without a tax bill, as long as you complete the rollover within 60 days. Rollovers preserve the tax-deferred status of the money; withdrawals trigger immediate taxation.

Do I have to pay back a 401k loan if I leave my job?

Yes. Most plans require the full loan balance to be repaid within 60 days of separation. If you don't repay it, the outstanding balance becomes a taxable withdrawal, and you'll owe income tax plus the 10 percent early withdrawal penalty if you're under 59½. Some plans allow a longer repayment window if you negotiate, but 60 days is standard.

What if I need money but I'm not 59½ yet and I don't have a hardship?

A loan is usually your best option if your plan offers one, because there's no immediate tax. If loans aren't available, a Roth conversion lets you move money to a Roth IRA and withdraw your contributions penalty-free. Substantially equal periodic payments is another option but locks you into regular withdrawals for five years or until 59½. Speak with a tax professional about which option fits your situation.

Will withdrawing from my 401k affect my taxes or benefits?

Yes. A withdrawal increases your taxable income for the year, which can push you into a higher tax bracket, reduce tax deductions or credits you're may have access to to, and affect means-tested benefits like Medicaid or subsidized health insurance. The impact depends on your total income for the year. Consider the full tax picture before you withdraw.