Retiring Early With Index Funds: What the Math Says After Taxes

Photo of David Beren
By David Beren Updated Published
Retiring Early With Index Funds: What the Math Says After Taxes

© brusinski from Getty Images Signature and Yusuke Ide from Getty Images

Index funds have basically become the default recommendation for retirement investing, and for good reason. Low fees, broad diversification, and decades of data showing they outperform most actively managed funds have made them the foundation of serious long-term portfolios. The FIRE (financial independence, retire early) movement has built entire retirement strategies around accumulating index funds and living off systematic withdrawals.

What gets glossed over in most of these conversations is taxes. Everyone focuses on the accumulation phase: maxing out the 401(k), funneling money into accounts like the Vanguard Total Stock Market Index Fund, and watching net worth compound. The problem surfaces when you retire early and need your portfolio to generate income. The tax bill can be significantly higher than planned, particularly if most of your money sits in tax-deferred accounts or you have accumulated large unrealized gains in taxable accounts.

The math that looks great on a spreadsheet largely assumes no taxes, and it becomes a lot less appealing when you realize that a $60,000 gross withdrawal can trigger thousands in capital gains taxes before a single dollar hits your bank account. The same goes for accessing a 401(k) before age 59.5, which requires navigating a Roth conversion ladder that can take five years or more to set up. You can retire early with index funds, but tax strategy deserves as much attention as investment strategy. Getting it wrong can be costly.

The Index Fund Tax Problem That Sneaks Up on Early Retirees

Index funds are tax-efficient during the accumulation phase because they generate minimal taxable distributions. Most of the returns come from unrealized capital gains that are not taxed until you sell. This is valuable while you are working and contributing, but it creates a structural problem when you retire early and need to start selling shares to generate income.

Consider a scenario: you retire in January 2026 at age 45 with $1.5 million in a taxable brokerage account, all invested in broad market index funds. Your cost basis across all positions is $800,000, leaving $700,000 in unrealized capital gains. To cover $50,000 in annual spending, you actually need to sell closer to $60,000 in shares, because every dollar withdrawn carries embedded appreciation that triggers a tax bill alongside it.

Assuming your gains are roughly proportional across the portfolio, each $60,000 withdrawal recognizes almost $28,200 in long-term capital gains. At the 15% federal long-term capital gains rate, that is $4,230 in federal taxes before state taxes enter the picture. Your $60,000 gross withdrawal becomes roughly $55,770 in actual spending power, and residents of high-tax states lose even more.

The burden compounds as the portfolio grows. If index funds appreciate over 20 years and the cost basis shrinks as a percentage of total portfolio value, you could be recognizing 60% to 70% gains on every dollar withdrawn. A $60,000 withdrawal with 65% embedded gains triggers $39,000 in capital gains and a federal tax bill of $5,850. At that point, roughly 10% of every withdrawal disappears to federal taxes alone, before state taxes are considered.

The 0% Capital Gains Sweet Spot and Tax-Gain Harvesting

Embedded gains create a structural tax drag, but early retirees can use the 0% long-term capital gains bracket to engineer entirely tax-free income. For 2026, the 0% rate applies to taxable income up to $49,450 for single filers and $98,900 for married couples filing jointly. The One Big Beautiful Bill Act, signed into law in July 2025, permanently extended the TCJA capital gains bracket structure, so these preferential rates are no longer subject to the sunset risk that had loomed for years. An early retiree with no W-2 income can position a significant share of annual withdrawals to fall entirely within this band.

Early retirees can go further by practicing tax-gain harvesting during these low-income years. By intentionally selling highly appreciated index funds up to the top of the 0% bracket and immediately repurchasing them, investors step up their cost basis tax-free. That proactive reset shields future withdrawals from large tax hits when traditional IRA required minimum distributions or large Roth conversions eventually push income into higher brackets.

Traditional vs. Roth: The Early Retirement Access Problem

Most early retirees carry significant balances in tax-deferred accounts such as traditional 401(k)s and IRAs, because employer contributions and tax deductions during working years flowed there by default. Withdrawing from these accounts before age 59.5 triggers a 10% early withdrawal penalty on top of ordinary income taxes, making them nearly unusable for early retirement without a deliberate plan.

The primary workaround is the Roth conversion ladder: convert traditional IRA money to a Roth IRA, pay taxes on the converted amount, then wait five years before accessing those converted funds penalty-free. Retire at 45 in 2026, start conversions immediately, and the earliest those dollars become accessible is 2031. That five-year gap requires a bridge funded from somewhere else, whether taxable accounts, existing Roth contributions, or cash reserves. For someone with $1 million in a traditional 401(k) and only $200,000 in taxable accounts, that bridge problem can force a delayed retirement or an uncomfortable penalty tax.

Roth IRAs are better suited for early retirement because contributions (not earnings) can be withdrawn at any time without taxes or penalties. The practical limitation is that most early retirees do not have $500,000 in a Roth because the contribution limit sits at $7,500 for 2026 and many high earners are phased out of direct Roth contributions entirely. The tax-free growth is genuinely valuable, but it does not solve the access problem for people who accumulated most of their wealth in traditional 401(k)s and taxable accounts.

The Mega Backdoor Roth Bridge

High earners can build a much larger Roth bridge by using the Mega Backdoor Roth strategy, provided their workplace 401(k) plan permits it. The approach works in two steps. First, maximize standard employee tax-deferred contributions up to the $24,500 2026 limit. Second, funnel additional after-tax, non-Roth contributions into the plan and immediately convert them to a Roth IRA or Roth 401(k) through an in-service distribution. Together, these contributions can push total annual 401(k) allocations to the IRS Section 415(c)(1)(A) ceiling of $72,000 for 2026, building a pool of tax-free capital accessible well before age 59.5.

The catch: most 401(k) plan documents do not permit after-tax contributions or in-service withdrawals, so confirming plan eligibility before building a strategy around this approach is essential.

The Right Index Fund Strategy for Early Retirement

A tax-optimal early retirement strategy almost always requires spreading money across account types rather than concentrating in tax-deferred or taxable accounts. The goal is to have enough flexibility to pull from the right bucket in the right year. A realistic allocation for someone retiring at 45 with $1.5 million might include $400,000 in taxable index funds for immediate access, $300,000 in Roth IRAs, and $800,000 in traditional 401(k) and IRA money earmarked for later Roth conversions.

Another tax-smart layer is adding dividend-producing assets. Schwab U.S. Dividend Equity ETF (NYSE:SCHD) and Vanguard High Dividend Yield ETF (NYSE:VYM) generate qualified dividend income that reduces the need to sell shares, lowering realized capital gains and preserving more of the portfolio for future compounding.

The Silent Surtax Warnings: NIIT and IRMAA

An optimized drawdown plan must also account for two income thresholds that lurk above the standard capital gains brackets. If large equity sales, dividends, or aggressive Roth conversions push Modified Adjusted Gross Income past $200,000 for single filers or $250,000 for married couples filing jointly, the Net Investment Income Tax applies, adding a 3.8% surtax on top of federal capital gains rates. That alone can push the effective rate on long-term gains to nearly 19%.

IRMAA is a separate concern for retirees who eventually reach Medicare age. The surcharge kicks in once MAGI exceeds $109,000 for single filers or $218,000 for joint filers in 2026, lifting the standard Part B premium of $202.90 per month to $284.10 or higher depending on income. Because IRMAA uses a two-year lookback, capital gains recognized in 2026 will surface in Medicare premiums in 2028. A 45-year-old retiree today has two decades before Medicare eligibility, but large, undisciplined Roth conversions in the years leading up to age 65 can set an expensive income baseline. The early years of retirement are the ideal time to keep income disciplined and cost basis high.

Editor’s note: This update added the 2026 IRMAA first-tier thresholds ($109,000 for single filers and $218,000 for joint filers) and the standard Part B premium ($202.90 per month) to the IRMAA section, clarified the gross-versus-net withdrawal dynamic in the opening example, and noted that the One Big Beautiful Bill Act signed in July 2025 permanently extended the TCJA long-term capital gains bracket structure.

Contact [email protected] for any questions or corrections.

Photo of David Beren
About the Author David Beren →

David Beren has been a Flywheel Publishing contributor since 2022. Writing for 24/7 Wall St. since 2023, David loves to write about topics of all shapes and sizes. As a technology expert, David focuses heavily on consumer electronics brands, automobiles, and general technology. He has previously written for LifeWire, formerly About.com. As a part-time freelance writer, David’s “day job” has been working on and leading social media for multiple Fortune 100 brands. David loves the flexibility of this field and its ability to reach customers exactly where they like to spend their time. Additionally, David previously published his own blog, TmoNews.com, which reached 3 million readers in its first year. In addition to freelance and social media work, David loves to spend time with his family and children and relive the glory days of video game consoles by playing any retro game console he can get his hands on.

Continue Reading

Top Gaining Stocks

META Vol: 40,760,422
KMX Vol: 2,288,021
WY Vol: 6,523,553
SBAC Vol: 1,443,801
NVDA Vol: 148,249,982

Top Losing Stocks

MRNA Vol: 9,176,778
CTRA Vol: 73,319,495
CRWD Vol: 9,269,567
DDOG Vol: 5,135,556
EPAM Vol: 1,164,561