Skip to content
Omnikalc

Roth IRA 5-year rule calculator: when can you take your money out tax-free?

Enter your age and the years of your first Roth and your conversion to see the years left and the cost of withdrawing early.

Updated on
Your inputs
years

Value out of range

Value out of range

Value out of range

Value out of range

$

Value out of range

$

Value out of range

%

Value out of range

Results

Years until earnings are tax-free and penalty-free

9.5 years

Not yet qualified Withdrawing earnings now would be taxable and may have a 10 % penalty.

Tax and penalty if you withdraw all earnings now

$6,800

Years left on the 5-year clock for your first Roth
0 years
Years until age 59½
9.5 years
Years left on the clock for your latest conversion
2 years
Penalty on the converted amount if you withdraw it now
$4,000

The Roth IRA 5-year rule has two parts, and people often mix them up. For earnings to come out tax-free (a “qualified distribution”), the account must be at least five tax years old and you must be 59½ (or disabled, or buying a first home, up to $10,000, or deceased). The five years start on January 1 of the year of your first Roth IRA contribution or conversion. A separate five-year clock for each conversion decides whether you owe the 10 % penalty on the converted amount if you withdraw it before 59½. This calculator shows the years left for each test and the cost of withdrawing early.

How the calculation works

  • Clock for earnings = first contribution year + 5 − this year, never below zero
  • Years to 59½ = 59.5 − your age, never below zero
  • Years until qualified = the longer of the two
  • Clock for a conversion = conversion year + 5 − this year
  • Cost of early withdrawal of earnings = earnings × (tax rate + 10 % if under 59½)

Example

You are 50. Your first Roth contribution was in 2018, so the five-year clock for earnings has finished, with 0 years left, but you are 9.5 years from 59½, so earnings are qualified only in 9.5 years. Your most recent conversion was in 2023, and its clock has 2 years left. Withdrawing the $20,000 of earnings now would cost about $6,800, and withdrawing a $40,000 conversion early would incur a penalty of $4,000.

Why it matters

Contributions to a Roth IRA (not conversions or earnings) can be withdrawn at any time without tax or penalty, which is why people use it as a backup emergency fund. The 5-year rule matters when you want to touch earnings or converted money, for example in early retirement. Order of withdrawals is fixed: contributions first, then conversions (oldest first), then earnings.

Good to know

The clock starts on January 1 of the year, so a contribution made in April 2026 for 2025 starts the clock in 2025. Each conversion has its own five-year clock only for the 10 % penalty, and the penalty ends at 59½. After 59½, the conversion clock no longer matters. Inherited Roth IRAs use the original owner’s clock. A Roth 401(k) has its own five-year clock, and how it carries over to a Roth IRA depends on whether you already have a Roth IRA. Other exceptions to the penalty, such as disability or a first home, have separate conditions.

In practice

Note the year of your first Roth contribution, keep a record of every conversion and plan withdrawals to follow the ordering rules. This tool is educational and is not tax advice.

Frequently asked questions

What is the Roth IRA 5-year rule?

Earnings are tax-free only if the account is at least five tax years old and you are 59½ or meet another exception. The clock starts in the year of your first contribution.

Does each conversion have its own 5-year clock?

Yes, for the 10 % penalty on the converted amount if you are under 59½.

Can I withdraw Roth contributions at any time?

Yes. Your own contributions can be withdrawn at any time without tax or penalty, but earnings and conversions follow the rules.

In what order are Roth withdrawals taken?

Contributions first, then conversions (oldest first), then earnings.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.