How to Avoid Paying Taxes on 401(k) Withdrawal — And Why Most Advice Gets It Wrong

No strategy will let you withdraw traditional 401(k) money completely tax-free. The IRS gave you a break on the way in, and it collects on the way out. Every article promising otherwise is either talking about a narrow exception or confusing withholding with actual tax liability. What you can control is the timing, the sequencing, and the structure of your withdrawals so you pay the lowest effective rate possible over your lifetime. For some retirees, that rate approaches zero in certain years. For others, bad planning turns a 12% bracket into a 22% one overnight. The gap between those two outcomes has nothing to do with loopholes. It comes down to how well you understand the mechanics before you start pulling money out. This article breaks down each lever, with actual numbers, so you can see where generic advice falls short and where real savings exist.

Table of Contents

You Can’t Avoid 401(k) Taxes — But You Can Choose When and How You Pay Them

The entire 401(k) system is built on a simple trade: you skip taxes today in exchange for paying them later. Most people forget the second half of that deal until they retire and see the bill. Understanding this structure is the starting point for every worthwhile tax strategy.

The fundamental deal you made: tax deferral is not tax elimination

When you contributed to a traditional 401(k), every dollar went in pre-tax. Your employer’s match also went in pre-tax. The investment gains compounded without being taxed along the way. None of that money has ever been taxed. The IRS didn’t forget about it. It deferred the collection to withdrawal time, when every dollar you pull out gets added to your ordinary income for that year. This applies whether you withdraw at 35 or 75. There is no age at which 401(k) withdrawals become tax-free. Even after 59½, when the 10% early withdrawal penalty disappears, the income tax remains. If you want a deeper breakdown of how this works mechanically, our guide on 401(k) and taxes covers every layer.

Why “tax-free withdrawal” is almost always a misleading framing

Search for “tax-free 401(k) withdrawal” and you’ll find dozens of articles listing exceptions. Most of them are describing penalty-free scenarios, not tax-free ones. Hardship withdrawals, the Rule of 55, substantially equal periodic payments: all of these eliminate the 10% early withdrawal penalty, but every dollar withdrawn still counts as taxable income. The only context where “tax-free” accurately describes a 401(k)-related withdrawal is when Roth contributions are involved, when you stay below the standard deduction threshold, or when you use a qualified charitable distribution. Everything else is a penalty exception marketed as a tax strategy.

The real question: paying taxes now at a known rate vs. later at an unknown rate

The useful framing isn’t avoidance. It’s optimization. You know your marginal tax rate today. You don’t know what it will be in 10, 15, or 25 years. Tax brackets could rise. Your income in retirement could be higher than expected once RMDs, Social Security, and pension income stack up. The core decision is whether it makes more sense to pay taxes now (through Roth conversions, for example) at a rate you can calculate, or to defer and hope rates stay the same or drop. Most people default to deferral without running the numbers. That’s not a strategy. It’s inertia.

The 20% Withholding Trap That Confuses Almost Everyone

One of the most common complaints about 401(k) withdrawals is the automatic 20% withholding. It feels like a tax penalty. It isn’t. But the confusion around it leads to real financial mistakes, including leaving money on the table at tax time.

Withholding ≠ tax owed — why some people overpay and never claim their refund

When you take a lump-sum distribution from a 401(k), your plan administrator is required to withhold 20% for federal taxes before sending you the check. This is not your actual tax rate. It’s a prepayment estimate mandated by the IRS. If your effective tax rate for the year turns out to be 12%, you overpaid and the difference comes back as a refund when you file. The problem is that many retirees, especially those who don’t itemize or work with a tax preparer, never realize they’re owed money back. They treat the 20% as the final number. On a $50,000 distribution, that’s potentially $4,000 or more left on the table if your actual bracket is lower.

Four ways to bypass the 20% mandatory withholding without dodging actual taxes

The 20% withholding only applies to lump-sum distributions paid directly to you. There are legitimate structures that sidestep it entirely. First, a direct rollover to another qualified plan or IRA avoids withholding because the money never hits your bank account. Second, substantially equal periodic payments (SEPPs) under Section 72(t) are exempt from mandatory withholding. Third, hardship withdrawals under qualifying circumstances (medical, funeral, foreclosure prevention) are often exempt from the 20% withholding requirement, though your plan may still withhold voluntarily. Fourth, 401(k) loans avoid withholding entirely because they’re classified as debt, not income. The distinction matters: you’re not reducing your tax bill with any of these. You’re just controlling when and how the tax gets paid.

The direct rollover loophole: how moving money avoids withholding entirely

If you’re leaving an employer and don’t need the cash immediately, requesting a direct rollover from your old 401(k) to an IRA or your new employer’s plan means zero withholding, zero tax event, and full preservation of your balance. The critical detail: the check must be made out to the new custodian “for the benefit of” (FBO) your name. If it’s made out to you personally, the 20% withholding kicks in automatically, and you have 60 days to deposit the full original amount (including replacing the withheld portion from your own pocket) into a new account. Miss that window and the withheld amount becomes a taxable distribution. This is one of the most common and most expensive mistakes in retirement account management.

The Tax-Free Zone Most Retirees Don’t Fully Exploit

There is a real range of income where federal tax on a 401(k) withdrawal is literally zero. Most retirees either don’t know it exists or don’t structure their withdrawals to take full advantage. It resets every year, and underusing it is the same as wasting it.

Standard deduction + senior bonus deduction = real $0 tax withdrawals in 2025

For tax year 2025, a single filer gets a standard deduction of $15,750. If you’re 65 or older, you get an additional $2,000, bringing the total to $17,750. For married couples filing jointly where both spouses are 65+, the combined standard deduction reaches $33,500. Any income below that threshold, including 401(k) distributions, is taxed at 0%. This is not a loophole. It’s the standard tax code. But the practical implication is significant: a retired couple with no other income source can withdraw over $33,000 from a traditional 401(k) each year and owe nothing in federal income tax. For context on how different states handle 401(k) withdrawals, the picture varies widely.

How a retiree with no other income can pull $23,750+ from a 401(k) and owe nothing

Take a single retiree, age 66, who has delayed Social Security and has no pension or employment income. Their standard deduction alone covers $17,750. The first $11,925 of taxable income above the deduction falls in the 10% bracket, but that’s still taxed, so the true zero-tax zone is the deduction itself. The opportunity here is to fill that gap every year with 401(k) distributions. Additionally, under recent legislation, taxpayers 65+ may qualify for an extra deduction of up to $6,000 per person, which can push the zero-tax threshold even higher depending on income. The strategy is simple: withdraw just enough to fill the deduction, invest or spend as needed, and repeat annually. Every dollar you pull now at 0% is a dollar that won’t be forced out later at 12%, 22%, or higher.

Why Social Security income quietly shrinks your tax-free withdrawal window

Once Social Security benefits enter the picture, the math changes. Up to 85% of your Social Security income can become taxable, depending on your “combined income” (AGI + nontaxable interest + half of Social Security). For a single filer, if combined income exceeds $34,000, the maximum 85% inclusion kicks in. Every dollar of 401(k) income adds to that combined income number, which simultaneously makes more of your Social Security taxable. This creates a stealth marginal rate that can exceed your official bracket. A retiree in the 12% bracket who triggers Social Security taxation might face an effective rate closer to 22% on the next dollar of 401(k) withdrawal. The window for truly zero-tax withdrawals shrinks dramatically once you start collecting benefits, which is why the years between retirement and Social Security claiming are the most valuable for tax-free drawdowns.

Roth Conversion Ladder — The Best Strategy Nobody Executes Correctly

Converting traditional 401(k) money into a Roth account is the single most powerful tool for reducing lifetime taxes on retirement savings. The concept is straightforward: pay taxes now at a low rate so future withdrawals are completely tax-free. The execution is where most people fail.

Converting in low-income years: the math behind paying 10-12% now to avoid 22%+ later

The ideal time to convert is any year where your taxable income is abnormally low: early retirement before Social Security, a gap year, a year of high deductions. If you’re a married couple in the 12% bracket with room before the $96,950 threshold (2025), you can convert enough 401(k) money to fill that bracket and pay just 12% on the converted amount. Once that money is in a Roth IRA, it grows tax-free and comes out tax-free for life. Without the conversion, the same dollars will eventually be forced out as RMDs, potentially at 22% or higher when stacked on top of Social Security and other income. On a $100,000 conversion spread over several years, the difference between paying 12% and 22% is $10,000 in federal tax savings. Over decades of compounding in a tax-free account, the total benefit multiplies.

The five-year clock that ruins early retirees who convert too late

Each Roth conversion starts its own five-year holding period. If you withdraw converted funds before that clock expires and you’re under 59½, you’ll pay the 10% penalty on the converted amount. This means early retirees planning to live off Roth conversions need to start the ladder at least five years before they need the money. A 50-year-old retiring at 55 must begin converting at 50 to access the first batch penalty-free at 55. Miss that window and you’re either stuck paying the penalty or relying on other funds to bridge the gap. The clock resets for each year’s conversion, so a staggered approach is essential. This timing requirement is almost never discussed in the articles that recommend Roth conversions.

Why converting too aggressively can trigger IRMAA surcharges on Medicare premiums

Medicare Part B and Part D premiums are income-tested. If your modified adjusted gross income (MAGI) exceeds certain thresholds, you pay an Income-Related Monthly Adjustment Amount (IRMAA) surcharge. For 2025, a single filer exceeding $106,000 in MAGI triggers the first surcharge tier. A large Roth conversion counts as income in the year it occurs. Convert $80,000 in a year where you already have $40,000 in other income, and your MAGI hits $120,000. That can add roughly $1,000 or more per year in extra Medicare premiums for the following year. The conversion might still be worth it long-term, but failing to account for IRMAA can erase a significant portion of the tax savings. The optimal approach is to convert up to the IRMAA threshold, not past it, unless the long-term benefit clearly justifies the surcharge.

Proportional Withdrawals vs. Sequential — The Strategy Debate That Actually Matters

Most financial advice tells retirees to drain accounts in a fixed order: taxable first, then tax-deferred, then Roth. That approach is simple, intuitive, and frequently suboptimal. How you blend withdrawals across account types has a larger impact on lifetime taxes than almost any other decision.

Why the classic “taxable → tax-deferred → Roth” order costs most people more in lifetime taxes

The sequential method creates uneven taxable income across retirement. In the early years, you draw from taxable accounts and have low income. Then you switch to traditional 401(k)/IRA distributions and your income spikes. Finally, you tap Roth accounts when the taxable damage is already done. This sequence produces a “tax bump” in the middle years of retirement where you’re pushed into higher brackets unnecessarily. The Roth money sits untouched during the years it could have been used to avoid bracket creep, and the traditional dollars get forced out in bulk. For anyone with savings spread across multiple account types, the sequential approach almost guarantees you’ll pay more in total taxes than necessary. Understanding how 401(k) withdrawals are taxed at each stage is the foundation for avoiding this trap.

How proportional withdrawals cut total taxes by 40% in Fidelity’s own modeling

Fidelity ran a hypothetical scenario comparing sequential and proportional strategies for a retiree with $500,000 across taxable, traditional, and Roth accounts. The proportional approach, withdrawing from all three account types each year in proportion to their share of total savings, reduced total lifetime taxes by over 40%. It also extended portfolio longevity by nearly a full year. The mechanism is straightforward: by spreading taxable income evenly across retirement, you avoid the spikes that push you into higher brackets. The tax bill becomes smaller and more predictable. This doesn’t require complex software. It requires knowing your account balances, your projected income, and your bracket thresholds each year.

The exception: when large unrealized capital gains make sequential withdrawals win

Proportional withdrawals aren’t universally optimal. If your taxable brokerage account holds positions with large embedded long-term capital gains, selling those positions generates taxable income on top of your other withdrawals. For a retiree whose total taxable income stays below $48,350 (single, 2025), long-term capital gains are taxed at 0%. Drawing exclusively from the taxable account in early retirement years, while keeping traditional withdrawals near zero, can let you harvest those gains at the zero-percent rate. Once the taxable account is depleted, you switch to proportional withdrawals from the remaining accounts. This hybrid approach works only if you have enough in taxable accounts to cover several years of expenses and enough unrealized gains to justify the prioritization. Otherwise, the standard proportional method wins.

Tax Bracket Management — The Skill That Replaces Tax Avoidance

Bracket management is the practical application of everything above. Instead of trying to avoid taxes entirely, you structure each year’s income to stay within the lowest bracket you can realistically achieve. Done consistently over a 20- to 30-year retirement, this single habit can save tens of thousands of dollars.

Filling the 12% bracket to the ceiling every year before RMDs force your hand

For married couples filing jointly in 2025, the 12% bracket ends at $96,950 of taxable income. Every dollar below that ceiling taxed at 12% is a dollar that won’t be taxed at 22% or higher when RMDs begin. If your Social Security, pension, and other income leave room below $96,950, the optimal move is to take additional 401(k) distributions or perform Roth conversions to fill the gap. Leaving that bracket space unused year after year is the retirement equivalent of leaving money on the table. Once RMDs start at age 73, you lose control over the amount, and larger forced distributions push you into brackets you could have avoided.

The hidden cost of “saving” your 401(k) too long — bigger RMDs, higher brackets, more taxable Social Security

A common instinct is to let the 401(k) grow untouched as long as possible. The problem is compound growth works against you when it inflates your RMD obligations. A $500,000 balance at age 73 requires roughly a $18,868 RMD (using IRS Uniform Lifetime Table). If that balance grows to $800,000 by age 78 because you never touched it, the RMD jumps to approximately $36,363. Stack that on top of Social Security, and suddenly you’re well into the 22% bracket with up to 85% of your benefits taxable. The people who pay the most taxes on 401(k) money are often those who “saved” it too aggressively in their 60s. Strategic early withdrawals between 59½ and 73 reduce the balance, lower future RMDs, and keep you in a manageable bracket.

How one extra dollar of 401(k) income can trigger 22% federal tax plus 85% Social Security inclusion

The interaction between 401(k) income and Social Security taxation creates a marginal rate that’s invisible on any standard tax bracket chart. Here’s the mechanism: every additional dollar of 401(k) income increases your combined income, which determines how much of your Social Security is taxable. At the $34,000 combined income threshold (single filer), 85% of Social Security becomes included in taxable income. So pulling one extra dollar from your 401(k) doesn’t just add $1 of taxable income. It can also make an additional $0.85 of Social Security taxable. If you’re in the 22% bracket, that extra dollar costs you 22 cents in tax on the withdrawal plus 22% of the newly taxable Social Security portion. The effective marginal rate on that single dollar can exceed 40% in some scenarios. This is the cliff that bracket management is designed to avoid.

Penalty-Free ≠ Tax-Free — The Exceptions That Still Cost You

The IRS provides a long list of exceptions to the 10% early withdrawal penalty. These exceptions get packaged as “ways to avoid taxes on your 401(k)” across dozens of websites. They aren’t. Every exception listed below waives the penalty. None of them waive the income tax.

Hardship withdrawals, Rule of 55, and 72(t): why escaping the 10% penalty doesn’t reduce your income tax bill

A hardship withdrawal lets you tap your 401(k) before 59½ for qualifying emergencies (medical bills, funeral costs, preventing eviction). No 10% penalty. Full income tax applies. The Rule of 55 allows penalty-free withdrawals if you separate from your employer during or after the year you turn 55. Again, income tax applies to every dollar. Section 72(t) lets you set up substantially equal periodic payments at any age without penalty, but those payments are taxed as ordinary income and must continue for at least five years or until you reach 59½, whichever is later. For complete details on when you can withdraw from a 401(k) without penalty, the rules are worth knowing. Just don’t confuse “no penalty” with “no tax.”

The divorce QDRO exception most people don’t realize exists

If you’re awarded a portion of your ex-spouse’s 401(k) through a Qualified Domestic Relations Order (QDRO), you can take distributions from that account without the 10% penalty, regardless of your age. This applies only to 401(k) plans, not IRAs. The money is still taxed as ordinary income, but the penalty exemption is unique: it’s one of the few scenarios where someone under 59½ who never worked for the plan sponsor can access 401(k) funds penalty-free. Most divorce attorneys mention it, but many individuals who receive QDRO funds roll them into an IRA before taking distributions, inadvertently forfeiting the penalty exemption. Once the money moves to an IRA, the QDRO exception no longer applies and standard early withdrawal penalties return.

Domestic abuse and disaster distributions — post-SECURE 2.0 provisions almost nobody claims

The SECURE 2.0 Act introduced two new penalty-free distribution categories starting in 2024. Domestic abuse victims can withdraw up to the lesser of $10,000 or 50% of their vested account balance without the 10% penalty. The money can be repaid within three years, and if repaid, the taxes paid on the withdrawal are refunded. Federally declared disaster distributions allow up to $22,000 per event, also penalty-free, with a three-year repayment window. Both provisions are underused because they’re new, plan administrators aren’t always aware of the updated rules, and participants don’t know to ask. Additionally, SECURE 2.0 added a $1,000 annual emergency personal expense distribution for unexpected needs, with no penalty if repaid within three years. These aren’t strategies to plan around. They’re safety valves that exist for people in genuine hardship.

Qualified Charitable Distributions — The Only True Tax Elimination Play After 70½

If you’re charitably inclined and have traditional IRA money (or 401(k) funds you’re willing to roll over), the qualified charitable distribution is the closest thing to a genuinely tax-free withdrawal the tax code offers. It’s underused relative to its power, partly because the mechanics require one extra step most people skip.

How a QCD satisfies your RMD without adding a dollar to taxable income

A qualified charitable distribution (QCD) allows IRA owners age 70½ or older to send up to $108,000 per year (2025 limit) directly from their IRA to a qualified charity. The distribution counts toward your RMD obligation but does not get added to your adjusted gross income. Zero taxable income from the transaction. Compared to taking the RMD as income, paying taxes on it, and then donating after-tax dollars, the QCD eliminates the tax entirely. For someone in the 22% bracket donating $20,000, that’s a $4,400 tax savings versus the standard approach. The only requirement is that the funds go directly from the IRA custodian to the charity. If the money passes through your bank account first, even briefly, the IRS treats it as a regular distribution.

The required 401(k)-to-IRA rollover step most articles skip

QCDs can only be made from IRAs, not directly from 401(k) plans. If your retirement savings are still in a 401(k), you must first roll the funds into a traditional IRA, then execute the QCD from the IRA. This is a one-time logistical step, but it trips up a surprising number of retirees who attempt a QCD from their 401(k) and get denied. The rollover itself is tax-free if done correctly (direct trustee-to-trustee transfer). Once the funds are in the IRA, you’re eligible for QCDs immediately, with no waiting period. If you’re already taking RMDs from a 401(k) and donating a portion to charity, rolling over to an IRA specifically to unlock QCD eligibility is one of the highest-value administrative moves available.

Why donating appreciated stock from a brokerage beats a QCD in some scenarios

QCDs are powerful, but they’re limited to IRA assets. If you hold appreciated stock in a taxable brokerage account, donating the shares directly to a charity lets you avoid capital gains tax on the appreciation and claim a charitable deduction. For someone who itemizes deductions and holds positions with large unrealized gains, this can produce a bigger tax benefit than a QCD. A share of stock purchased at $20 and now worth $100, donated directly, eliminates $80 of capital gains that would otherwise be taxed at 15% or 20%. The charity receives the full $100 value. You get a deduction for $100. The QCD, by contrast, offers no deduction because the income is simply excluded. For retirees with both IRA assets and appreciated brokerage holdings, the optimal approach may be to use QCDs for RMD coverage and donate appreciated stock for additional charitable giving.

The Moves You Must Make Before Retirement — Not After

Most of the strategies above work best, or only work, if you set them up years before you start withdrawing. Tax optimization in retirement is largely determined by decisions made during your accumulation years. Waiting until you’re 65 to think about tax efficiency means the best options have already expired.

Why tax diversification across account types is the only real “avoidance” strategy

Having all your retirement savings in a single traditional 401(k) gives you zero flexibility. Every withdrawal is taxed as ordinary income. You can’t manage brackets because you have no alternative source. The fix is tax diversification: splitting contributions across traditional (pre-tax), Roth (post-tax), and taxable brokerage accounts during your working years. In retirement, this gives you the ability to pull from different buckets depending on your income needs each year. Need to stay below an IRMAA threshold? Pull from Roth. Have room in the 12% bracket? Fill it with traditional withdrawals. Need cash with minimal tax? Sell long-term holdings in the brokerage at the 0% capital gains rate. None of this is possible if everything sits in one pre-tax account. The broader your understanding of how contributions, withdrawals, and rates interact, the better positioned you’ll be.

HSA as a stealth retirement account: triple tax advantage most 401(k) holders ignore

A Health Savings Account is the only account in the U.S. tax code with a triple tax benefit: contributions are tax-deductible, growth is tax-free, and withdrawals for qualified medical expenses are tax-free. After age 65, you can withdraw HSA funds for any purpose and pay only ordinary income tax (same as a traditional 401(k), but without the penalty). The advantage over a 401(k) is that medical expense withdrawals remain completely tax-free at any age. Since healthcare costs in retirement average $315,000+ per couple (Fidelity’s 2023 estimate), using an HSA to cover those expenses instead of taxable 401(k) withdrawals creates substantial savings. The 2025 contribution limit is $4,300 for individuals and $8,550 for families, with an additional $1,000 catch-up for those 55+. The optimal play: max out your HSA, pay current medical expenses out of pocket, and let the HSA compound for decades.

The backdoor Roth conversion — still legal, but Congress keeps threatening to close it

High earners who exceed Roth IRA income limits ($165,000 MAGI for single filers, $246,000 for married filing jointly in 2025) can still get money into a Roth through the backdoor: contribute to a non-deductible traditional IRA, then convert it to a Roth IRA. The conversion is tax-free on the contributed amount (since it was non-deductible), though any gains between contribution and conversion are taxable. For those with existing 401(k) balances, a mega backdoor Roth strategy may be available if your plan allows after-tax contributions and in-plan Roth conversions. This can shelter up to $70,500 in additional after-tax dollars per year (2025 combined limit). Congress has proposed eliminating backdoor Roth conversions multiple times. The Build Back Better Act nearly killed it in 2021. It survived, but the threat remains. If you’re eligible and haven’t started, the window may not stay open indefinitely. State-level tax implications also vary. For residents in high-tax states, understanding the California tax on 401(k) withdrawals or other state-specific rules adds another layer to the decision.

FAQ

Can I withdraw from my 401(k) without paying any taxes if I’m over 59½?

Being over 59½ eliminates the 10% early withdrawal penalty, but it does not eliminate income tax. Every dollar withdrawn from a traditional 401(k) is taxed as ordinary income regardless of your age. The only way to pay zero tax is if your total income for the year, including the withdrawal, falls below your standard deduction. For a single filer 65 or older in 2025, that threshold is approximately $17,750. Anything above that amount is taxed at the applicable federal rate.

What happens if I don’t take my required minimum distribution?

If you fail to take your full RMD by the deadline, the IRS imposes an excise tax of 25% on the amount you should have withdrawn but didn’t. Under SECURE 2.0 rules, this penalty drops to 10% if you correct the shortfall in a “timely manner,” generally within two years. RMDs begin at age 73 for most people. The amount is calculated by dividing your prior year-end account balance by a life expectancy factor from the IRS Uniform Lifetime Table. Missing even one year can result in thousands of dollars in unnecessary penalties.

Is a Roth 401(k) withdrawal completely tax-free?

Qualified withdrawals from a Roth 401(k) are tax-free and penalty-free if you are at least 59½ and the account has been open for at least five years. Unlike a traditional 401(k), Roth contributions were made with after-tax dollars, so the IRS has already collected its share. However, if you withdraw before meeting both conditions, the earnings portion of your withdrawal may be subject to income tax and the 10% penalty. Employer matching contributions to a Roth 401(k) are made pre-tax and will be taxed upon withdrawal regardless of your age or holding period.

Does rolling my 401(k) into an IRA reduce my taxes?

A direct rollover from a 401(k) to a traditional IRA is not a taxable event. It simply moves the money between tax-deferred accounts. Your tax bill doesn’t change until you take distributions from the IRA. However, rolling into an IRA does unlock options that a 401(k) might not offer, including QCDs for charitable giving and potentially lower fees. If you roll into a Roth IRA instead, the entire converted amount counts as taxable income in the year of conversion. That can be strategic if done in a low-income year, but the taxes are due immediately.

Do all states tax 401(k) withdrawals?

No. Several states have no income tax at all, meaning your 401(k) withdrawals escape state-level taxation entirely. Others exempt retirement income partially or fully. States like Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming impose no state income tax. Some states with income taxes, like Illinois and Mississippi, exclude retirement plan distributions from taxable income. Your state of residence at the time of withdrawal determines which rules apply, not where you earned the money. Moving to a tax-friendly state before beginning distributions is a legitimate and widely used strategy. See our full list of states that don’t tax 401(k) withdrawals for a state-by-state breakdown.