What Is Tax-Free Growth and How Does It Work?

Tax-free growth is what happens when your investment earnings — dividends, interest, and capital gains — compound inside an account the IRS has agreed to leave alone. You fund the account with money you’ve already paid income tax on, and in exchange, the government doesn’t tax the earnings while they grow or when you withdraw them, provided you follow the account’s rules. Over 20 or 30 years the difference is large, because every dollar that would have gone to taxes each year stays invested and earns its own returns.

In a regular brokerage account, you owe tax on dividends, interest, and realized gains as they happen. A $10,000 investment earning 8% a year might net only about 6% after that annual tax drag, and after three decades the gap between 6% and 8% compounding is measured in tens of thousands of dollars. Tax-free growth accounts remove that drag entirely. The trade-off is that you skip a tax break today (contributions aren’t deductible for most of these accounts) in exchange for permanent tax-free treatment later.

Four account types do the heavy lifting: the Roth IRA, the Roth 401(k), the 529 education savings plan, and the Health Savings Account. Each has its own contribution limits, eligibility rules, and permitted uses.

Roth IRA

The Roth IRA, authorized under Internal Revenue Code Section 408A, is the most widely used tax-free growth account.1Office of the Law Revision Counsel. 26 USC 408A – Roth IRAs You contribute after-tax dollars and, if the rules are met, both your contributions and your earnings come out completely free of federal tax in retirement. For 2026, the contribution cap is $7,500 if you’re under 50, and $8,600 if you’re 50 or older.2Internal Revenue Service. Retirement Topics – IRA Contribution Limits

Not everyone qualifies. For 2026, single filers begin losing eligibility when modified adjusted gross income hits $153,000, with the ability to contribute phasing out completely at $168,000. For married couples filing jointly, the phase-out runs from $242,000 to $252,000.3Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500 A mid-year raise or bonus can push someone over the threshold without warning.

One useful feature: you can withdraw your regular contributions at any time, for any reason, without taxes or penalties. The IRS pulls distributions in a set order — contributions first, then conversions and rollovers, then earnings.4Internal Revenue Service. Publication 590-B (2025), Distributions from Individual Retirement Arrangements (IRAs) That order lets you tap your contributions in an emergency without touching the earnings, which carry restrictions.

Roth 401(k)

Employer-sponsored Roth 401(k) plans, governed by Internal Revenue Code Section 402A, work on the same after-tax-in, tax-free-out principle but with much higher limits.5Office of the Law Revision Counsel. 26 USC 402A – Optional Treatment of Elective Deferrals as Roth Contributions For 2026, the base employee limit is $24,500. Workers 50 and over can add an $8,000 catch-up contribution, and those aged 60 through 63 get a super catch-up of $11,250 under a provision added by the SECURE 2.0 Act.3Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500

Two features stand out. There are no income limits, so a high earner shut out of a direct Roth IRA contribution can still put $24,500 or more into a Roth 401(k). And starting in 2024, Roth 401(k) accounts are no longer subject to required minimum distributions during the owner’s lifetime, closing the gap with Roth IRAs.

The catch: unlike a Roth IRA, you can’t selectively pull just your contributions before the account meets the five-year rule. The IRS treats an early withdrawal from a Roth 401(k) as a proportional mix of contributions and earnings, which can trigger tax on the earnings portion.

Backdoor Roth for High Earners

If your income exceeds the Roth IRA phase-out, the backdoor Roth is the standard workaround. You contribute to a traditional IRA (which has no income limit for non-deductible contributions) and then convert those funds to a Roth. Because the original contribution wasn’t deducted, the conversion is, in theory, tax-free.

The complication is the pro-rata rule. You can’t cherry-pick after-tax dollars for conversion. The IRS looks at your combined balance across all traditional, SEP, and SIMPLE IRAs as of December 31 and calculates the pre-tax versus after-tax ratio. That ratio applies to the conversion. If you have $93,000 in pre-tax IRA funds and contribute $7,500 in non-deductible dollars, only about 7.5% of any conversion would be tax-free; the rest is taxable income.6Internal Revenue Service. Rollovers of After-Tax Contributions in Retirement Plans

The workaround to the workaround is to roll any pre-tax IRA balances into your employer’s 401(k) before converting, since 401(k) balances aren’t counted in the pro-rata math. Without a 401(k) that accepts rollovers, the backdoor strategy loses much of its appeal.

529 Plans for Education

The 529 plan, authorized under Internal Revenue Code Section 529, is the tax-free growth vehicle for education costs.7Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs After-tax contributions go in, the investments grow federally tax-free, and withdrawals are tax-free when spent on qualified education expenses: tuition, fees, books, room and board for students enrolled at least half-time, and computer equipment used during enrollment.

Since 2018, up to $10,000 per year of 529 funds can go toward tuition at private elementary and secondary schools.8Internal Revenue Service. 529 Plans: Questions and Answers That K-12 cap is annual and covers tuition only, not books, supplies, or room and board.

The SECURE 2.0 Act added a release valve for unused balances. You can roll 529 funds into a Roth IRA for the same beneficiary if the 529 has been open at least 15 years. The rollover counts against the annual Roth IRA contribution limit, the lifetime cap is $35,000 per beneficiary, and contributions made to the 529 within the previous five years aren’t eligible. Leftover education money can then keep growing tax-free in a retirement account.

There’s no federal deduction for 529 contributions, but many states offer a state income tax deduction or credit. The specifics vary — some states allow unlimited deductions, others cap them at a few thousand dollars, and a few income-tax states offer nothing.

Health Savings Accounts

Health Savings Accounts, authorized under Internal Revenue Code Section 223, are the only account type in the tax code with a genuine triple tax advantage.9Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Contributions are tax-deductible going in, investments grow tax-free, and withdrawals for qualified medical expenses come out tax-free. Every other account on this list gives you two of those three.

For 2026, the annual contribution limit is $4,400 for self-only coverage and $8,750 for family coverage, with an additional $1,000 catch-up contribution allowed at age 55 or older.10Internal Revenue Service. Expanded Availability of Health Savings Accounts – Notice 2026-05 Eligibility requires enrollment in a high-deductible health plan.

Nothing forces you to spend HSA dollars in the year you incur a medical bill. You can pay medical costs from your regular funds, keep the receipts, and let the HSA balance stay invested for years or decades before reimbursing yourself. Used this way, the HSA functions as a stealth retirement account with better tax treatment than any IRA.

After age 65, the 20% penalty on non-medical withdrawals disappears, though ordinary income tax still applies to those amounts, which makes the account behave like a traditional IRA at that point.11Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans Withdrawals for qualified medical expenses stay fully tax-free at any age.

A caveat for residents of California and New Jersey: those states don’t conform to federal HSA tax treatment, so HSA contributions and earnings are subject to state income tax even though they’re federally exempt.

Rules That Keep the Growth Tax-Free

Tax-free growth is conditional. Break the rules and the IRS retroactively taxes the earnings you thought were sheltered, often with a penalty on top.

Roth Accounts: The Five-Year Rule and Age 59½

For Roth IRAs and Roth 401(k)s, earnings come out tax-free only when two conditions are both met: the account has satisfied a five-year holding period, and the owner is at least 59½ (or qualifies for an exception such as disability or death). The five-year clock starts on January 1 of the tax year of your first contribution or conversion. Open a Roth IRA in April 2026 for the 2025 tax year, and the clock started January 1, 2025.4Internal Revenue Service. Publication 590-B (2025), Distributions from Individual Retirement Arrangements (IRAs)

Pulling earnings before both conditions are met means income tax on the earnings plus a 10% early distribution penalty if you’re under 59½. After 59½ but before the five-year mark, the penalty is gone but the earnings are still taxable. Most people who trip over this rule assumed turning 59½ was all that mattered.

529 Plans: Qualified Education Use

Earnings from a 529 stay tax-free only when spent on qualified education expenses. Pull money for anything else and the earnings portion is taxed as ordinary income plus a 10% additional tax.7Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs Your original contributions come back penalty-free. When you take a distribution, the plan sends Form 1099-Q to you and the IRS, reporting the total, the earnings, and the basis.12Internal Revenue Service. Instructions for Form 1099-Q

HSAs: Qualified Medical Use

HSA earnings stay tax-free only when distributions go to qualified medical expenses. Non-medical withdrawals before age 65 trigger income tax plus a 20% penalty, the steepest of any account here.11Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans After 65 the penalty goes away, but the income tax remains. Distributions are reported on Form 1099-SA.13Internal Revenue Service. About Form 1099-SA, Distributions From an HSA, Archer MSA, or Medicare Advantage MSA

What You Can’t Hold Inside These Accounts

Not every investment can live in a tax-free growth account. IRAs may not hold life insurance contracts.14Office of the Law Revision Counsel. 26 US Code 408 – Individual Retirement Accounts Collectibles are also barred: buying artwork, antiques, rugs, gems, stamps, coins, or alcohol inside an IRA triggers a deemed distribution equal to the purchase price, so you owe tax and possibly a penalty as if you had withdrawn that amount.15Internal Revenue Service. Investments in Collectibles in Individually Directed Qualified Plan Accounts Narrow exceptions exist for certain U.S. Mint gold, silver, and platinum coins and bullion of specific fineness, but only when held by a qualifying trustee. For most people, mutual funds, ETFs, individual stocks, and bonds cover every scenario.

What Happens When Someone Inherits the Account

Tax-free growth doesn’t have to end at death, but the rules changed sharply under the SECURE Act of 2019. A surviving spouse can roll an inherited Roth IRA into their own Roth IRA and continue the growth indefinitely. Non-spouse beneficiaries who inherited after 2019 generally must empty the account within 10 years of the owner’s death.16Internal Revenue Service. Retirement Topics – Beneficiary

Qualified distributions from an inherited Roth IRA remain tax-free even under the 10-year rule, as long as the original owner satisfied the five-year holding period. Certain eligible designated beneficiaries — minor children of the deceased, disabled or chronically ill individuals, and people no more than 10 years younger than the original owner — can still stretch distributions over their life expectancy instead of being forced into the 10-year window.16Internal Revenue Service. Retirement Topics – Beneficiary

Fixing Excess Contributions

Contributing more than the annual limit to a Roth IRA or HSA triggers a 6% excise tax on the excess for every year it remains in the account. You can avoid the penalty by withdrawing the excess (plus any earnings it produced) by your tax return’s due date, including extensions.17Internal Revenue Service. Publication 590-A (2025), Contributions to Individual Retirement Arrangements (IRAs) If you already filed without catching it, you have six months from the original deadline to pull the excess and amend your return.

The 6% tax applies every year the excess sits in the account, so ignoring it compounds the damage. If your income fluctuates around the Roth phase-out, checking your MAGI before year-end is the simplest defense against overcontributing.