Truly tax-free access to a 401(k) is narrower than most people think. Knowing when you can withdraw from a 401(k) without paying taxes comes down to three paths: a qualified Roth 401(k) distribution, a direct rollover into another retirement account, and a plan loan you repay on schedule. Everything else people call a “tax-free” option is really penalty-free: it waives the 10% early withdrawal surcharge but still leaves the distribution taxable as ordinary income. Confusing the two is the mistake that costs people thousands at tax time.
Qualified Roth 401(k) Distributions
A Roth 401(k) is the cleanest tax-free withdrawal. Your contributions went in after tax, so the IRS already collected its share. When you take a qualified distribution, both your contributions and all the investment earnings come out with no federal income tax.1Internal Revenue Service. Roth Comparison Chart
Two conditions must both be met. The account must have been open for at least five tax years, and you must be at least 59½, disabled, or the distribution is made after death.1Internal Revenue Service. Roth Comparison Chart If either condition is missing, your original contributions still come out tax-free, but the earnings portion is taxed as ordinary income and may face the 10% penalty.
The five-year clock starts on January 1 of the first year you made a Roth contribution to that specific plan. If you roll Roth funds from a former employer’s plan into a new employer’s Roth 401(k), the clock at the new plan may reset depending on the plan’s terms. Confirm this with the plan administrator before you withdraw, because missing the five-year mark by a day converts a tax-free withdrawal into a taxable one on the earnings.
Direct Rollovers to Another Retirement Account
A direct rollover keeps the money inside the retirement system, so nothing is taxed. Your plan administrator transfers your balance straight to another eligible retirement plan or IRA, the funds never pass through your hands, and the IRS treats the transaction as if no distribution occurred.2Office of the Law Revision Counsel. 26 USC 402 – Taxability of Beneficiary of Employees Trust You give the receiving institution’s name and account number, and the transfer happens custodian to custodian.
Indirect rollovers are the version that goes wrong. If the plan cuts a check payable to you instead of the new custodian, it must withhold 20% for federal income tax before releasing the funds.3Office of the Law Revision Counsel. 26 USC 3405 – Special Rules for Pensions, Annuities, and Certain Other Deferred Income To avoid tax on the full original amount, you have 60 days to deposit that entire amount, including the withheld 20% from your own pocket, into a new eligible plan. Deposit only what you received and the missing 20% becomes a taxable distribution, plus the 10% penalty if you’re under 59½.
Plan Loans
Borrowing from your 401(k), if the plan allows it, is not a distribution. You’re lending money to yourself, so the IRS doesn’t tax the transaction: no income tax, no penalty, and nothing to report on your return as long as you follow the repayment rules.4Internal Revenue Service. Retirement Plans FAQs Regarding Loans
The maximum is the lesser of $50,000 or 50% of your vested account balance. If 50% of your balance is under $10,000, some plans let you borrow up to $10,000 anyway.4Internal Revenue Service. Retirement Plans FAQs Regarding Loans Repayment runs at least quarterly over no more than five years, though loans used to buy a primary residence can have a longer term.
The risk is what happens when repayment fails. Miss payments or leave your employer before paying the loan back in full, and the outstanding balance is treated as a deemed distribution. You’d then owe income tax on the unpaid amount, plus the 10% early withdrawal penalty if you’re under 59½.4Internal Revenue Service. Retirement Plans FAQs Regarding Loans Not every plan offers loans, so check your plan documents before counting on this option.
Penalty-Free Is Not Tax-Free
Most of the “exceptions” attached to 401(k) withdrawals waive the 10% penalty and nothing else. Every dollar from a traditional 401(k) is still taxed as ordinary income in the year you take it. If you’re searching for a way out of the tax itself, these paths won’t give it to you; they only soften the penalty side of the bill.
Age 59½
Once you reach 59½, the 10% early withdrawal penalty disappears for good on traditional 401(k) distributions.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions The money is still ordinary income, though. Federal brackets in 2026 range from 10% to 37%, and a large lump sum can push you into a higher one than you normally occupy, so spreading withdrawals across years often produces a lower total bill.6Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026
Rule of 55
If you separate from your employer during or after the calendar year you turn 55, you can take distributions from that employer’s 401(k) without the 10% penalty.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Quit, laid off, or retired: it doesn’t matter. The exception is tied to that specific plan. Funds in a 401(k) from a previous job don’t qualify, IRAs don’t qualify, and rolling your current 401(k) into an IRA before taking a distribution kills the exception until you reach 59½.7Internal Revenue Service. 401(k) Resource Guide – Plan Participants – General Distribution Rules
Firefighters, law enforcement officers, corrections officers, customs and border protection officers, air traffic controllers, and certain federal employees who separate at age 50 or older get the same penalty waiver at that earlier threshold.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
Substantially Equal Periodic Payments
If you need regular income before 59½ and don’t qualify for the Rule of 55, substantially equal periodic payments set up a fixed schedule that avoids the penalty. The IRS allows three calculation methods: required minimum distribution, fixed amortization, and fixed annuitization, each using your account balance, life expectancy, and an approved interest rate.8Internal Revenue Service. Determination of Substantially Equal Periodic Payments Notice 2022-6
The commitment is serious. Payments must continue for the longer of five full years or until you reach 59½. Start at 56 and you can’t stop until 61. Start at 52 and you’re locked in until 59½. Change the payment amount, skip a payment, or stop early and the IRS applies a recapture tax: the 10% penalty on every distribution taken since payments began, plus interest.9Internal Revenue Service. Substantially Equal Periodic Payments The income tax on each payment still applies throughout.
Disability and Terminal Illness
Total and permanent disability waives the 10% penalty at any age. The IRS defines it as a physical or mental condition that prevents any substantial work and is expected to result in death or last at least 12 continuous months.10Office of the Law Revision Counsel. 26 USC 22 – Credit for the Elderly and the Permanently and Totally Disabled You’ll generally need a physician’s documentation to support the claim on Form 5329.
SECURE 2.0 added a terminal illness exception. A physician’s certification that you have a condition expected to result in death within 84 months lets you take penalty-free distributions from a 401(k).5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions The certification must exist at or before the distribution. You can repay some or all of it within three years if your health improves. Income tax still applies in both cases.
Hardship Withdrawals Are Not Tax-Free
A common misconception is that hardship withdrawals avoid taxes because the money is going to something urgent like preventing eviction or paying medical bills. They don’t. Hardship distributions from a traditional 401(k) are included in gross income and may also be hit with the 10% penalty.11Internal Revenue Service. Retirement Plans FAQs Regarding Hardship Distributions The plan may permit the withdrawal, but the IRS gives no tax break for the difficulty of the situation.
Some specific reasons overlap with penalty-free exceptions and do waive the penalty. Others don’t. Before assuming a hardship withdrawal is treated favorably, check whether your situation matches one of the enumerated exceptions.
Other Penalty-Free Exceptions
Federal law lists several more situations where the 10% penalty doesn’t apply. Ordinary income tax still applies to each.
- A qualified domestic relations order paying a portion of your 401(k) to a former spouse or dependent is penalty-free for the recipient.12Office of the Law Revision Counsel. 26 USC 72 – Annuities, Certain Proceeds of Endowment and Life Insurance Contracts
- Up to $5,000 per child within a year of a birth or finalized adoption, penalty-free.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
- Beginning in 2024, victims of domestic abuse can withdraw the lesser of $10,000 (adjusted for inflation) or 50% of the vested balance, penalty-free, on self-certification, with three years to repay.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
- One emergency personal expense distribution per calendar year up to $1,000, with no further emergency distribution allowed until the previous one is repaid or three calendar years pass.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
- Unreimbursed medical expenses above 7.5% of adjusted gross income, up to that excess amount.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
- Amounts the IRS levies from your 401(k) to collect a tax debt.12Office of the Law Revision Counsel. 26 USC 72 – Annuities, Certain Proceeds of Endowment and Life Insurance Contracts
SECURE 2.0 also introduced penalty-free withdrawals of up to roughly $2,600 per year to pay qualified long-term care insurance premiums, effective for distributions beginning in 2026. Your plan must opt in to offer it.
Net Unrealized Appreciation on Company Stock
If your 401(k) holds shares of your employer’s stock, net unrealized appreciation isn’t a way to avoid tax entirely, but it shifts a large portion of the tax from ordinary income rates to lower long-term capital gains rates. On a lump-sum distribution of the whole account after a qualifying event like separation from service or reaching 59½, you can transfer the employer stock to a taxable brokerage account instead of rolling it into an IRA.13Internal Revenue Service. Net Unrealized Appreciation in Employer Securities Notice 98-24
You pay ordinary income tax only on the original cost basis of the stock, which is often much lower than its current value. The appreciation built up inside the plan gets taxed at long-term capital gains rates when you sell, regardless of how long you hold the shares after the distribution. Long-term rates top out at 20%, versus up to 37% on ordinary income, so the savings on a large block of appreciated stock can be substantial. The strategy requires a true lump-sum distribution of your full account balance in a single tax year, and getting the mechanics wrong erases the benefit.
Withholding and State Tax
Even when a distribution is penalty-free, your plan administrator withholds federal income tax before sending the money. On distributions eligible for rollover, default withholding is 20%, and you cannot elect a lower rate unless you complete a direct rollover.3Office of the Law Revision Counsel. 26 USC 3405 – Special Rules for Pensions, Annuities, and Certain Other Deferred Income On non-rollover-eligible payments the default is 10%, adjustable by filing Form W-4R with the plan. Withholding is a prepayment toward your actual tax bill, not an extra charge; if your effective rate is lower, you get the difference back when you file.
State income tax is a separate matter from anything covered above. A handful of states impose no personal income tax at all. Others tax retirement distributions at rates up to 13.3%, and several offer partial exemptions or reduced rates for retirees above a certain age. For a large withdrawal, or a decision about where to retire, the state picture can move the total tax bill significantly, so check how your state treats retirement income before you take the distribution.