Roth IRA 5-Year Rule Calculator

Work out which of the two Roth five-year rules applies to a withdrawal, how much comes out tax-free under the ordering rules, and what tax or penalty is due on the rest.

How to use this calculator

  1. 1Enter the tax year of your first ever Roth contribution — not the account you are withdrawing from, but the first Roth IRA you ever had.
  2. 2Enter your age and the year of the withdrawal.
  3. 3Split the balance into direct contributions, converted amounts and earnings; your custodian and old Forms 5498 and 8606 have these.
  4. 4Enter the year of your oldest conversion that has not already been withdrawn.
  5. 5Read the two rule lines separately — one governs tax on earnings, the other governs the penalty on conversions.

How the calculation works

Ordering: contributions → conversions (oldest first) → earnings. Earnings are tax-free only if the account is 5 tax years old AND you are 59½, disabled or deceased. Each conversion needs 5 years to escape the 10% penalty
Rule 1 clock
Starts 1 January of the tax year of your first ever Roth contribution. One clock per person, never restarts, covers all your Roth IRAs
Rule 2 clock
A separate five-year period for each conversion, relevant only to the 10% penalty and only before 59½
Qualified distribution
Rule 1 satisfied plus one of: age 59½, disability, death, or first-time home purchase up to $10,000

A contribution made by the April deadline for the previous tax year starts the Rule 1 clock on 1 January of that earlier year, which can save a full year.

Rule 2 becomes irrelevant at 59½, because the 10% early-distribution penalty it polices no longer applies.

Converted amounts are never subject to income tax on withdrawal — the tax was paid in the year of conversion. Only the penalty is at stake.

Worked example

A 45-year-old taking $50,000 from a Roth opened in 2022

  1. 1.Ordering rules take the $40,000 of contributions first, which is always tax-free and penalty-free.
  2. 2.The remaining $10,000 comes from conversions, not earnings, so no income tax arises on any of it.
  3. 3.The oldest conversion is from 2024, only two years old, so that $10,000 has not seasoned five years.
  4. 4.At 45 the 10% early-distribution penalty is live, so the unseasoned conversion attracts $1,000.
  5. 5.Earnings are never reached, so the first five-year rule — which the account also fails, at four years — costs nothing here.

Result: $1,000 penalty, no income tax, $49,000 received

Two rules, two clocks, two different questions

The single most common mistake with Roth accounts is treating "the five-year rule" as one thing. There are two, they measure different periods, and they control different outcomes.

The first is a single clock per person. It starts on 1 January of the tax year for which you made your first ever Roth IRA contribution, and it never restarts. Open a second Roth twenty years later and it inherits the original clock, because all your Roth IRAs are treated as one for this test. What this rule controls is whether earnings come out tax-free.

The second is a separate clock for every conversion you make. It exists for one purpose: to stop people using a conversion to sidestep the 10% early-distribution penalty. Without it, someone under 59½ could convert from a traditional IRA and withdraw immediately, escaping a penalty that would have applied to a direct withdrawal. So each converted amount must sit for five years before it can come out penalty-free.

The second rule stops mattering entirely at 59½, because the penalty it polices no longer exists. The first rule keeps mattering at any age — a 70-year-old who opened their first Roth three years ago still has taxable earnings.

The ordering rules do most of the work

Roth distributions come out in a fixed statutory order that happens to be the most favourable one possible: direct contributions first, then conversions oldest first, then earnings last.

This is why the rules bite far less often than the anxiety around them suggests. Your own contributions are always available, tax-free and penalty-free, at any age and regardless of either five-year rule — you already paid tax on that money and the code does not tax it twice. For most people with a long contribution history, a moderate withdrawal never gets past the first layer.

It is also the entire mechanism behind a Roth conversion ladder. Convert an amount each year, wait five years, and then live on seasoned conversions that carry neither tax nor penalty, while the earnings sit untouched at the bottom of the stack. The ladder works precisely because the ordering rules guarantee you reach the good layers first.

The details that change the answer

A contribution made before the April filing deadline can be designated for the previous tax year, and the Rule 1 clock then starts on 1 January of that earlier year. A first Roth contribution made in April 2026 for tax year 2025 is treated as five years old on 1 January 2030 rather than 2031. That is a free year for the cost of ticking a box, and it is the single easiest thing to get right when opening a first Roth.

Roth 401(k) accounts run their own separate clock, which does not carry over to a Roth IRA. Rolling a Roth 401(k) into a Roth IRA adopts the IRA's clock — helpful if the IRA is older, harmful if it is not, and a reason to open a Roth IRA with a small contribution early even if you do not intend to fund it properly for years.

The first-time homebuyer exception is narrower than it sounds. It waives the penalty on up to $10,000 of earnings over a lifetime, but it does not waive the income tax unless the five-year rule is also satisfied. And "first-time" means not having owned a principal residence in the previous two years, which is more generous than the phrase suggests.

Finally, inherited Roth IRAs follow different rules again. The deceased's five-year clock carries over to the beneficiary, so a Roth inherited from someone who opened it decades ago is immediately qualified, while one opened two years before death is not.

What this assumes, and where it stops

Assumptions

  • All your Roth IRAs are aggregated, which is how the ordering and five-year rules actually work.
  • The conversion figure is the total of conversions not yet withdrawn, with the oldest year entered separately.
  • The withdrawal happens in the year entered, and no other distributions occur that year.
  • Contributions and conversions are stated at their original amounts rather than current value.

Limitations

  • Multiple conversions in different years are treated by their oldest year; the IRS applies each conversion's own clock in turn, which matters when a large withdrawal spans several.
  • Roth 401(k) accounts run a separate five-year clock and are not modelled here.
  • Inherited Roth IRAs follow different rules, including the deceased owner's clock carrying over.
  • The $10,000 first-time homebuyer exception is applied to the current withdrawal only; it is a lifetime limit across all withdrawals.
  • State income tax on non-qualified earnings is not included.

Common questions

What are the two Roth IRA five-year rules?

The first is a single clock starting 1 January of the tax year of your first ever Roth contribution; it decides whether earnings come out tax-free and it never restarts. The second is a separate five-year period for each conversion, and it exists only to stop people using conversions to dodge the 10% early-distribution penalty. The first matters at any age; the second stops mattering at 59½.

Can I withdraw my Roth contributions at any time?

Yes. Direct contributions can be withdrawn at any age, tax-free and penalty-free, regardless of either five-year rule. You already paid income tax on that money before it went in, so it is not taxed again. The statutory ordering rules take contributions out first, which is why a moderate withdrawal from a well-funded Roth usually costs nothing at all.

Do I pay tax on a Roth conversion I withdraw early?

No income tax — that was paid in the year you did the conversion, and it is not charged twice. What can apply is the 10% early-distribution penalty, if the conversion is less than five years old and you are under 59½ with no exception. So an early withdrawal of an unseasoned conversion costs 10% of the amount, not your marginal rate.

Does the five-year clock restart when I open a new Roth IRA?

No. The first five-year rule runs from your first ever Roth IRA contribution, and all your Roth IRAs are treated as a single account for the test. A Roth opened this year inherits the clock from one you opened in 2015. This is why opening a Roth IRA with even a small contribution as early as possible is worth doing — it starts a clock you may need decades later. Roth 401(k) accounts are the exception and run their own separate clock.

Sources

Formula and content last reviewed on .

Results are estimates for information only, not professional advice.

Report an error

Tools people commonly use alongside the roth ira 5-year rule calculator.

See all finance calculators →