Cashing out a 401k at 40 to cover a financial gap can cost you nearly a third of the withdrawal before the money hits your account. That's the standard math — not a worst-case — when you pull 401k early without meeting an IRS exception. Understanding how to withdraw from 401k accounts, and what it'll actually cost you, is worth knowing well before you need the money.
The Real Cost of a 401k Early Withdrawal
Pulling money from a 401k before age 59½ triggers two separate charges: ordinary income tax on every dollar, plus a 10% early withdrawal penalty on top of that.
Take $30,000 at age 40 while in the 22% federal tax bracket: you'd owe $6,600 in income taxes plus $3,000 in the penalty. You walk away with roughly $20,400. State taxes haven't entered the picture yet.
That 401k withdrawal tax penalty is a floor, not a ceiling. In higher brackets, the combined rate can eat 40–50% of a distribution. A large withdrawal can also push your annual income into a higher bracket, affecting credits, deductions, or health insurance subsidies you'd otherwise qualify for.
For standard cash-out distributions — like taking your full balance when you leave a job — most plan administrators, whether through Fidelity, Vanguard, or Merrill Lynch, are required to withhold 20% upfront for federal taxes. That withholding often isn't enough to cover the full bill, so expect a balance due when you file. Hardship withdrawals work differently: they're not eligible rollover distributions, so the mandatory 20% rule doesn't apply. Instead they default to a voluntary 10% withholding, which you can reduce or opt out of entirely when you submit the request.
401k Disbursement Rules: Exceptions That Remove the 10% Penalty
The IRS built a longer list of exceptions to the early withdrawal penalty than most people realize. You still owe income tax in almost every case, but eliminating the 10% hit changes the math considerably.
Age 59½. The cleanest exit. Once you hit 59½, withdrawals are penalty-free. Income tax still applies to every dollar from a traditional 401k.
Age 73 — Required Minimum Distributions. Starting at 73, the IRS requires annual withdrawals calculated on your account balance and life expectancy. Skip one, and the penalty is 25% of the amount that should have been taken — reducible to 10% if corrected within two years.
The Rule of 55. Leave your job in or after the year you turn 55, and you can pull 401k early from that employer's plan without the 10% penalty. This only covers the plan tied to the job you just left — not old 401ks from previous employers.
Hardship withdrawals. If the need is immediate and severe — unreimbursed medical expenses, preventing eviction or foreclosure, tuition costs, funeral expenses, or certain home repairs — your plan may allow a hardship distribution. A common misconception: being approved for a hardship withdrawal doesn't automatically waive the 10% penalty. The withdrawal just gives you access to the funds. Whether the penalty applies depends on whether your situation qualifies under a separate IRS exception. Medical expenses exceeding 7.5% of your adjusted gross income are their own IRS exception, so a hardship withdrawal for that reason can avoid the penalty. Using a hardship withdrawal to cover tuition or prevent eviction? You'll still owe the 10%. Income tax applies in all cases. Your plan sets the documentation requirements, and not every employer opts into this feature.
SECURE 2.0 emergency distributions. A provision from 2022 now allows up to $1,000 per year in penalty-free emergency withdrawals, repayable over three years. Small, but a useful backstop.
Section 72(t) — Substantially Equal Periodic Payments. You can begin taking structured, calculated withdrawals at any age without triggering the penalty — but you're locked into the payment schedule for the longer of five years or until you turn 59½. Changing or stopping the payments triggers the penalty retroactively on every prior distribution, so this is a long-term commitment.
If you're targeting early retirement — the kind the FIRE movement targets — the 72(t) rule or the Rule of 55 are the most commonly used paths to access retirement funds before the normal age without penalty.
Borrow Money from Your 401k Without the Tax Hit
Many plans let you borrow money from your 401k rather than withdraw it outright. As long as you repay the loan on schedule, no taxes and no penalties are triggered.
Borrowing limits: Up to 50% of your vested balance or $50,000, whichever is less. If 50% of your balance falls below $10,000, you can borrow up to $10,000 instead. The $50,000 cap is also reduced by any outstanding loan balances from the past 12 months — so prior borrowing eats into your current headroom.
Repayment: Five years, with at least quarterly payments required. If you're using the loan to purchase a primary residence, the five-year window is extended. The interest you pay goes back into your own account — you're essentially paying yourself — though those repayment dollars are after-tax and will be taxed again on withdrawal.
Job change risk: If you leave your employer with an outstanding 401k loan, you have until Tax Day of the following year (April 15, or October 15 if you file an extension) to repay the full balance. If you can't, the remaining amount is treated as a distribution — taxable income plus the 10% penalty if you're under 59½.
The less-visible cost of borrowing is opportunity: the loaned portion sits outside the market during the repayment period. In a strong market, that missed growth can rival or exceed the interest you're paying yourself.
Roth 401k Withdrawal Rules
Roth 401k accounts follow a different set of rules because contributions go in after-tax. The IRS has already collected on that money, so the withdrawal side is more favorable.
For a qualified distribution — meaning completely tax-free, earnings included — two conditions must both be met: the account must be at least five years old, and you must be 59½ or older (or disabled, or the distribution goes to a beneficiary after death).
For non-qualified early withdrawals, the IRS prorates the distribution between contributions and earnings. The contribution portion comes out tax- and penalty-free; you already paid on it. The earnings portion is subject to income tax and the 10% penalty.
One meaningful Roth 401k advantage that took effect under SECURE 2.0: no required minimum distributions. Traditional 401k holders must begin withdrawing at 73 whether they need the money or not. Roth 401k holders can leave the balance untouched indefinitely, which is a significant estate and tax-planning tool.
The five-year clock starts January 1 of the year you make your first Roth 401k contribution — not the actual date of the contribution. A first contribution made in October 2026 still starts the clock on January 1, 2026.
How to Actually Request a 401k Withdrawal
The mechanics depend on your plan provider. If your 401k is held with Merrill Lynch, Fidelity, Vanguard, or another administrator, the process typically starts on the provider's online portal. You'll select the distribution type, confirm your eligibility for any applicable exception, and set your withholding preference. Most platforms walk through this clearly.
Before initiating anything, request your plan's Summary Plan Description (SPD). This document details which distribution types and loan options your specific plan allows. Not every employer includes hardship withdrawals or loans — they're optional features an employer may or may not offer.
If you're changing jobs, a direct rollover to a new employer's plan or a traditional IRA sidesteps taxes, penalties, and withholding entirely. It's almost always the right move over taking a cash distribution if you don't actually need the money now.
The 401k is one of the most expensive sources of emergency cash available to you. Before withdrawing, check whether an emergency fund or other liquid savings can cover the need — those don't carry a 30–40% exit tax. The situations where early 401k access clearly makes sense are narrow: a debt spiral with worse long-term math, a serious medical crisis, or preventing foreclosure. Outside of those, the penalty and tax drag represent a cost that can take years to recover from.
