When Can I Withdraw My 401k Without Paying Taxes?

You can withdraw money from a 401k without paying any federal income tax in a narrow set of situations: qualified distributions from a Roth 401k, direct rollovers into another eligible retirement account, and 401k loans repaid on schedule. Everything else people describe as a “tax-free” 401k withdrawal is really penalty-free, meaning you skip the 10% early withdrawal penalty but still owe ordinary income tax on the money. Knowing when you can withdraw your 401k without paying taxes comes down to which of those three categories your situation actually fits.

Qualified Roth 401k Withdrawals

A Roth 401k is the only account type that lets you pull out both your contributions and your investment earnings with zero federal income tax. Roth contributions go in with after-tax dollars, so the government has already taken its share. To get the earnings out tax-free too, you have to clear two hurdles at once.

The first is the five-year holding period. The clock starts on January 1 of the first year you made any Roth contribution to that employer’s plan. A first contribution in March 2022 means the five-year window runs from January 1, 2022 through December 31, 2026. The second is a qualifying event: reaching age 59½, becoming disabled, or death (with a beneficiary taking the distribution). Meet both and the whole withdrawal comes out tax-free and penalty-free.1Office of the Law Revision Counsel. 26 USC 402A – Optional Treatment of Elective Deferrals as Roth Contributions

Miss either requirement and you can still get your original Roth contributions back tax-free, because that money was already taxed. The earnings portion, though, becomes ordinary income and typically catches the 10% penalty if you’re under 59½.2Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions

Rolling a Roth 401k Into a Roth IRA

Leaving a job with a Roth 401k? Rolling those funds into a Roth IRA keeps the tax-free treatment intact and drops the required minimum distribution rules that used to apply to Roth 401k accounts (SECURE 2.0 eliminated the Roth 401k RMD starting in 2024, but Roth IRAs have never had lifetime RMDs).

One trap: the Roth IRA’s own five-year clock governs whether earnings come out tax-free after the rollover. Your Roth 401k holding period does not transfer. If you already have any Roth IRA that’s at least five years old, you’re covered because the clock runs across all your Roth IRAs. If this rollover opens your first Roth IRA, a new five-year period starts.

Rollovers That Defer Tax on a Traditional 401k

Traditional 401k money is pre-tax, so a true tax-free withdrawal isn’t possible. What you can do is move the funds into another retirement account without triggering tax right now. A direct rollover, where the money goes trustee-to-trustee and you never touch it, is treated as a non-event by the IRS. It works into another employer’s 401k, a traditional IRA, or any other qualified plan.3Office of the Law Revision Counsel. 26 USC 401 – Qualified Pension, Profit-Sharing, and Stock Bonus Plans

The big reason to insist on a direct rollover: if an eligible rollover distribution is paid to you instead of another plan, your employer must withhold 20% for federal taxes.4Office of the Law Revision Counsel. 26 USC 3405 – Special Rules for Pensions, Annuities, and Certain Other Deferred Income A direct rollover avoids that withholding entirely.5eCFR. 26 CFR 1.401(a)(31)-1 – Requirement to Offer Direct Rollover of Eligible Rollover Distributions

The 60-Day Indirect Rollover

If the check is made out to you personally, you have 60 days to redeposit the full amount into another eligible plan or IRA to keep it tax-free. This is the risky path. The 20% withholding still applies, so to roll over the full original amount you have to make up that 20% out of pocket and deposit it with the rest. Anything short of the full amount is treated as a taxable distribution.6Internal Revenue Service. 401(k) Resource Guide – Plan Participants – General Distribution Rules

Miss the 60-day deadline and the whole amount becomes taxable that year, plus the 10% penalty if you’re under 59½. The IRS does allow self-certification for late rollovers caused by qualifying circumstances such as hospitalization, postal error, or a death in the family, if you complete the rollover within 30 days of the obstacle clearing.7Internal Revenue Service. Retirement Plans FAQs Relating to Waivers of the 60-Day Rollover Requirement

401k Loans

Borrowing from your own 401k gives you cash without any tax as long as you repay on schedule. Federal law caps the loan at the lesser of $50,000 or half your vested balance. Smaller accounts get a floor: if half your vested balance is under $10,000, you can borrow up to $10,000, but never more than the total vested amount. Not every plan permits loans, so confirm with your administrator first.8Office of the Law Revision Counsel. 26 USC 72(p) – Loans Treated as Distributions

To keep the loan from being reclassified as a taxable distribution, you have to repay it with substantially level payments at least quarterly, and the balance must be paid off within five years. A loan used to buy your primary residence can run longer, depending on the plan.9Internal Revenue Service. Retirement Plans FAQs Regarding Loans

The catch appears if you leave your job with an outstanding balance. The plan may offset your account by the unpaid amount, and that offset counts as a distribution. Under post-TCJA rules, you have until your tax filing deadline (including extensions) for the year of separation to roll the offset amount into another retirement account and avoid tax.10Federal Register. Rollover Rules for Qualified Plan Loan Offset Amounts Miss that window and the offset becomes taxable income, with the 10% penalty possible on top.

Penalty-Free Does Not Mean Tax-Free

Several federal rules let you avoid the 10% early withdrawal penalty on a traditional 401k, but the distribution itself is still taxed as ordinary income. This is where most confusion comes in. If your goal is truly paying nothing, these routes won’t get you there; they just soften the cost of pulling money out early.

The Rule of 55

If you leave your job during or after the year you turn 55, you can take distributions from that employer’s 401k without the 10% penalty. Quit, laid off, or retired all count.2Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Two limits catch people. The exception only applies to the 401k at the employer you just left, not to IRAs or to old 401ks sitting at prior employers. And you still owe ordinary income tax. Qualified public safety workers can use this exception starting at age 50.

Substantially Equal Periodic Payments (72(t))

If you’ve separated from your employer and need income before 59½, you can set up a series of substantially equal periodic payments and skip the 10% penalty. The IRS allows three calculation methods, each tied to life expectancy tables.11Internal Revenue Service. 2Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Starting in 2024, plans that adopt the provision can allow one penalty-free emergency withdrawal per calendar year of up to $1,000, with a three-year repayment period before another one can be taken.12Internal Revenue Service. Certain Exceptions to the 10 Percent Additional Tax Under Section 72(t) – Notice 2024-55 A participant who self-certifies as a domestic abuse survivor can withdraw the lesser of $10,000 or 50% of the vested balance penalty-free if the abuse occurred within the prior year and the distribution is taken within one year after.

QDROs in Divorce

A qualified domestic relations order can split 401k funds between spouses as part of a divorce without triggering the 10% penalty. The receiving ex-spouse can roll the money into their own IRA or qualified plan tax-free, or take a cash distribution that’s taxed as ordinary income but exempt from the penalty. The receiving spouse reports the income on their own return.13Internal Revenue Service. Retirement Topics – QDRO: Qualified Domestic Relations Order Distributions paid under a QDRO to a child or other dependent are taxed to the plan participant, not the child.

Net Unrealized Appreciation on Company Stock

If your 401k holds shares of your employer’s stock, a strategy called net unrealized appreciation can shift most of the tax bill to capital gains rates. Instead of rolling the stock into an IRA, you distribute the shares to a regular taxable brokerage account as part of a lump-sum distribution. You pay ordinary income tax on the original cost basis of the shares. The growth above that basis (the NUA) is not taxed until you sell, and when you sell, it’s taxed at long-term capital gains rates regardless of how long the shares sat in the brokerage account.14Internal Revenue Service. Net Unrealized Appreciation in Employer Securities – Notice 98-24

To qualify, the entire vested plan balance must be distributed in a single tax year, and the distribution must be triggered by separation from service, reaching 59½, disability, or death. The strategy only pays off when there’s a large gap between the cost basis and the current share price.

State Taxes Still Apply

Federal tax-free doesn’t always mean state tax-free. State income tax rates on retirement distributions range from 0% in states with no income tax to over 13% at the high end. Some states exempt some or all retirement income above certain ages or below specific dollar thresholds. A direct rollover or qualified Roth distribution that owes nothing federally typically owes nothing at the state level, but penalty-free traditional 401k withdrawals remain fully taxable in nearly every state that has an income tax.

How to Actually Execute a Tax-Free Withdrawal

Request the distribution or rollover form from your plan administrator, usually through the benefits portal or HR. For a direct rollover you’ll need the receiving institution’s full legal name, mailing address, account number, and “For Benefit Of” routing instructions. The check goes to the new trustee, not to you.

If you’re taking a Roth 401k distribution and claiming it’s tax-free, confirm your five-year participation date with the administrator before submitting. Pull the old statement showing your first Roth contribution to that plan. Getting the date wrong can produce an unexpected tax bill on the earnings.

In January or February after the transaction, you’ll receive a Form 1099-R. For a direct rollover, Box 7 shows distribution code “G” and Box 2a shows $0 taxable, confirming no tax is owed.15Internal Revenue Service. Instructions for Forms 1099-R and 5498 Report it on your return anyway. The IRS expects to see the transaction, and the 1099-R is what you use to show that nothing was owed on it.