You can take money out of your 401k, but the method matters — and so does your age

Yes, you can pull money from your 401k before you turn 59½, but the IRS charges a 10% early withdrawal penalty on top of income tax unless you meet specific exceptions. The most common way to avoid the penalty is a loan from your own account, which you repay to yourself. Other penalty-free routes exist — hardship withdrawals, substantially equal periodic payments, and a few life circumstances — but each has strict rules about what counts and what you must prove.

If you are 59½ or older, you can withdraw money whenever you want and pay only income tax, no penalty. If you are younger and do not meet an exception, expect to lose roughly 30% to 40% of what you withdraw to taxes and penalties combined, depending on your tax bracket.

Key Takeaways

  • A 401k loan lets you borrow from your own balance and repay it over five years (or longer if the money is for a home purchase), with no tax penalty as long as you repay on schedule.
  • Hardship withdrawals are penalty-free only for specific situations — medical bills, home purchase, tuition, or eviction prevention — and your plan must offer them; not all do.
  • Early withdrawals before 59½ that do not meet an exception trigger a 10% IRS penalty plus income tax, reducing what you actually receive by 30% to 40% or more.
  • If you leave your job, you can roll your 401k into an IRA or a new employer's plan to keep the money invested and preserve withdrawal options.
  • Substantially equal periodic payments (SEPP) let you withdraw penalty-free before 59½ if you commit to taking the same amount every year for at least five years or until you turn 59½, whichever is longer.

401k loans: borrowing from yourself without a penalty

A 401k loan is the most common way to access your money early without triggering the 10% penalty. You borrow from your own account balance and repay it through payroll deductions, usually over five years. The interest you pay goes back into your own account, not to a bank. If you leave your job before the loan is repaid, you typically have 60 to 90 days to pay back the remaining balance or it becomes a taxable withdrawal.

Not every 401k plan offers loans — your employer decides. Check your plan documents or ask your plan administrator whether loans are available. If they are, you can usually borrow up to 50% of your vested balance, with a minimum of $1,000 and a maximum of $50,000 (these limits vary by plan). The interest rate is set by your plan, often prime rate plus 1% to 2%.

The main risk: if you cannot repay the loan and you are still employed, your plan may allow you to extend the repayment period. If you leave your job, the clock starts on repayment. If you do not repay in time, the IRS treats the unpaid balance as a withdrawal, and you owe the 10% penalty plus income tax on that amount.

Hardship withdrawals: penalty-free for specific situations

A hardship withdrawal lets you take money out penalty-free if you face an immediate and heavy financial need. The IRS defines may have access to hardships narrowly: unreimbursed medical expenses, tuition and education fees, a down payment or mortgage payments to prevent eviction or foreclosure, burial or funeral expenses, or expenses to repair damage to your primary home. Some plans add other situations, so check your plan documents.

To request a hardship withdrawal, you must show the plan administrator that you have a genuine need and that you have no other way to pay for it — you cannot have other savings or loans available. You will need to submit documentation: medical bills, tuition statements, eviction notices, or repair estimates. The process typically takes two to four weeks.

Hardship withdrawals are penalty-free, but you still owe income tax on the amount you withdraw. Also, many plans require you to stop contributing to your 401k for six months after a hardship withdrawal, which means you lose employer matching during that time. Not all plans offer hardship withdrawals, so confirm with your administrator before you count on this option.

Early withdrawal exceptions that avoid the 10% penalty

Beyond loans and hardships, the IRS allows penalty-free withdrawals in a few other situations. If you become permanently disabled, you can withdraw at any age without the 10% penalty (you still owe income tax). If you are receiving court-ordered payments to a former spouse or dependent as part of a divorce, those payments can come out penalty-free under a may have access to Domestic Relations Order (QDRO).

If you are a military member called to active duty, you may withdraw up to $100,000 penalty-free. If you are a victim of a federally declared disaster, you may have access to penalty-free withdrawals for recovery expenses — these rules change by disaster, so contact your plan administrator if this applies to you.

Substantially Equal Periodic Payments (SEPP) is another route: you can withdraw penalty-free before 59½ if you commit to taking the same amount every year for at least five years or until you turn 59½, whichever is longer. The IRS calculates the amount using three approved methods based on your life expectancy and account balance. Once you start SEPP, you cannot change the amount or stop early without owing the 10% penalty on all prior withdrawals, so this is a long-term commitment.

What happens to your taxes when you withdraw

Any money you withdraw from a traditional 401k is taxed as ordinary income in the year you withdraw it. If you withdraw $10,000, that $10,000 is added to your other income for the year, and you pay income tax at your normal rate — 12%, 22%, 32%, or higher depending on your bracket. Your employer will withhold tax from the withdrawal (usually 20% automatically), but that withholding may not cover your full tax bill, and you may owe more when you file your return.

If you also owe the 10% early withdrawal penalty, that is a separate cost on top of income tax. A $10,000 withdrawal before 59½ with no exception could cost you $3,000 to $4,000 in taxes and penalties combined, leaving you $6,000 to $7,000 in hand. The exact amount depends on your tax bracket and whether your state taxes retirement withdrawals.

If you have a Roth 401k (not a traditional 401k), the rules are different: you can withdraw your contributions tax-free and penalty-free at any time, but earnings are taxed and penalized if you withdraw before 59½ and do not meet an exception.

Rolling over your 401k when you leave your job

If you leave your job, you do not have to withdraw your 401k immediately. You can roll it into an Individual Retirement Account (IRA) or into your new employer's 401k plan if they accept rollovers. A rollover keeps the money invested and preserves your withdrawal options — you can still take loans, request hardship withdrawals, or wait until 59½ to withdraw penalty-free.

A direct rollover is the cleanest route: your old plan sends the money directly to your new IRA or plan, and you never touch it. An indirect rollover means the plan sends you a check, and you have 60 days to deposit it into an IRA or new plan. If you miss the 60-day window, the IRS treats it as a withdrawal and you owe taxes and penalties.

Rolling into an IRA gives you more investment choices and lower fees than many 401k plans, but it also changes your withdrawal rules slightly. For example, you cannot take a loan from an IRA the way you can from a 401k. If you think you might need to borrow money, staying in your new employer's 401k may be better.

Withdrawals after you turn 59½

Once you reach 59½, you can withdraw as much as you want from your 401k whenever you want, and the 10% early withdrawal penalty no longer applies. You still owe income tax on the withdrawal, but there is no penalty. This is the point where your 401k becomes a true retirement account with no age restrictions on access.

At age 73 (as of 2023), the IRS requires you to take a minimum distribution each year — a set amount based on your age and account balance. If you do not take it, you owe a 25% penalty on the amount you should have withdrawn (reduced to 10% if you correct it within two years). If you are still working and your employer's plan allows it, you may be able to delay required distributions until you actually retire.

Frequently Asked Questions

What happens to my 401k if I leave my job?

Your money stays in the account unless you withdraw it. You can leave it there, roll it to an IRA, roll it to your new employer's plan, or cash it out. If you cash it out before 59½, you owe the 10% penalty plus income tax unless you meet an exception. A rollover preserves your options and keeps the money invested.

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

Yes, but the penalty rules are the same. If you are under 59½ and withdraw, you owe the 10% penalty plus income tax unless you meet an exception like a hardship or SEPP. If you roll the money to an IRA instead, you preserve your options and can take a loan or hardship withdrawal later if needed.

What is the difference between a 401k loan and a withdrawal?

A loan is money you borrow from your account and repay over time — no tax or penalty as long as you repay on schedule. A withdrawal is money you take out and keep — you owe income tax and a 10% penalty if you are under 59½ and do not meet an exception. Loans must be repaid; withdrawals do not.

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

No, not on the loan itself. You repay the loan with after-tax dollars, and the interest goes back into your account. However, if you leave your job and cannot repay the loan in time, the unpaid balance becomes a taxable withdrawal and you owe income tax and the 10% penalty on that amount.

Can I withdraw money from my 401k to pay off credit card debt?

You can, but it is expensive. Credit card debt does not may have access to as a hardship withdrawal, so you would owe the 10% penalty plus income tax if you are under 59½. A 401k loan is a better option if your plan offers it — you borrow from yourself and repay over five years with no penalty. Otherwise, consider a personal loan or credit counseling before tapping your retirement savings.