How Roth IRA gains are taxed depends on when and why you withdraw the money. You can typically withdraw growth inside a Roth IRA completely tax-free if you meet certain IRS rules. However, early withdrawals or non-qualified distributions may trigger income tax and even penalties. It can be extremely beneficial to understand the distinction between contributions and earnings, as well as how the five-year rule and qualifying events impact the taxation of your withdrawals. 

A financial advisor can help you determine when your Roth IRA withdrawals may be tax-free.

When Roth IRA Earnings Are Tax-Free

Roth IRA earnings are tax-free when you meet two conditions:

  • You must meet the five-year rule for tax-free earnings.
  • You must have a qualifying event, such as:
    • Reaching age 59 ½
    • Death (withdrawals by beneficiaries)
    • Disability
    • Using up to $10,000 for a first-time home purchase

Once you fulfill both conditions, you can withdraw your Roth IRA gains tax-free for the rest of your life, regardless of how much your investments grow. 

When Roth IRA Earnings Are Taxable

Roth IRA earnings become taxable when you take a non-qualified withdrawal. This can occur when you withdraw investment gains before age 59 ½ or complete the five-year rule, for example.

Common situations that trigger taxes include withdrawing earnings early to cover everyday expenses, making withdrawals soon after opening your Roth IRA and tapping into gains during a financial emergency before meeting IRS requirements. 

The Five-Year Rule Explained

The five-year rule states that you may only withdraw tax-free earnings after a minimum of five tax years from the date of your first Roth IRA contribution. The clock officially starts on January 1 of the year you made your first Roth contribution.

Roth conversions work similarly, using their own separate five-year clocks to prevent early access to converted funds without penalty.

The five-year rule interacts with age 59 ½ to determine whether withdrawals of earnings are fully tax-free. For example, if you open your first Roth IRA at age 58 and reach 59 ½ the following year, you still owe taxes on any earnings. This is because the five-year requirement is not met, even though you satisfy the age requirement.

How Roth IRA Gains Are Taxed

A document that explains how a Roth IRA works.

Roth IRA contributions use after-tax dollars, which is why qualified distributions of both contributions and earnings are tax-free. However, if you do not meet IRS rules for a qualified withdrawal, Roth IRA earnings may be subject to tax.

There are several key details to note regarding the tax structure of a Roth IRA.

  • Contributions are always tax-free and penalty-free to withdraw.
  • Earnings may be taxed if you take a non-qualified withdrawal (e.g., withdrawing before meeting the five-year rule or age 59 ½).
  • The IRS uses ordering rules to determine which funds you withdraw first.

If Roth IRA gains are taxable, they use your ordinary income tax rate, not long-term capital gains rates.

Roth IRA Ordering Rules and Why They Matter

The IRS has strict rules for ordering withdrawals from a Roth IRA to determine which dollars you withdraw first. This system protects investors by ensuring that contributions, which are always tax-free to withdraw, take priority above any potentially taxable earnings.

Withdrawals occur in a specific order.

  1. Contributions. Because you withdraw contributions first, you can access contributions at any age without taxes or penalties.
  2. Conversions and rollover contributions. Conversions follow next, beginning with the oldest, and are subject to their own five-year clocks.
  3. Earnings on contributions. Earnings are the final layer; if you withdraw them early, they may be taxable.

Exceptions That Avoid the 10% Penalty (But Not Taxes)

Some early withdrawals of Roth IRA earnings may be exempt from the 10% penalty. However, this does not make them tax-free. Taxpayers still owe income tax on the earnings portion of a non-qualified withdrawal, even if a penalty exception applies.

Examples of penalty-free (but still taxable) withdrawals include:

  • Higher-education expenses, such as tuition or fees
  • Health insurance premiums while unemployed
  • Birth or adoption expenses (up to $5,000)
  • IRS-approved medical expenses above 7.5% of AGI

Strategies to Avoid Taxes on Roth IRA Gains

Roth IRAs are most powerful when you follow the guidelines for qualified withdrawals. To avoid taxes on Roth IRA earnings, it helps not only to understand IRS rules but also to plan ahead. 

There are several strategies you can adopt to minimize your tax impact.

  • Wait until age 59 ½. This will enable you to satisfy the five-year rule, ensuring your earnings are tax-free.
  • Stick to contributions. Instead of relying on earnings, consider using contributions to avoid unnecessary taxes and penalties through early withdrawals.
  • Watch your timing. Time Roth conversions strategically, keeping separate five-year clocks in mind.
  • Coordinate withdrawals. Use lower-income years to reduce potential tax liability if earnings must be tapped.
  • Build an emergency fund. Maintain a sufficient emergency fund so you don’t have to use Roth IRA earnings for unplanned expenses.

Bottom Line

Older couple reviewing their retirement finances.

Roth IRA gains can be either tax-free or taxable, depending on how and when you withdraw them. Earnings are tax-free only when you meet both the five-year rule and a qualifying event, while contributions are always accessible without tax or penalty. Early withdrawals that do not satisfy IRS requirements may trigger income tax and, in some cases, a 10% penalty. 

Retirement Tax Planning

  • A financial advisor can help manage retirement taxes by coordinating withdrawals, timing Social Security and RMDs, and using strategies such as Roth conversions to reduce lifetime tax exposure. Finding a financial advisor doesn’t have to be hard. SmartAsset’s free tool matches you with vetted financial advisors who serve your area, and you can have a free introductory call with your advisor matches to decide which one you feel is right for you. If you’re ready to find an advisor who can help you achieve your financial goals, get started now.
  • Mandatory distributions from a tax-deferred retirement account can complicate your post-retirement tax planning. Use SmartAsset’s RMD calculator to see how much your required minimum distributions will be.

Photo credit: ©iStock.com/FabrikaCr, ©iStock.com/Piotrekswat, ©iStock.com/Inside Creative House

Read the full article here

Subscribe to our newsletter to get the latest updates directly to your inbox

Please enable JavaScript in your browser to complete this form.
Multiple Choice
Share.

In Debt Weekly

2026 © In Debt Weekly. All Rights Reserved.