Key Takeaways
- Roth IRA contributions are withdrawable anytime, tax- and penalty-free — no age, no reason required.
- Conversions are penalty-free after five years (or at 59½); earnings need 59½ + five years.
- The ordering rules mean your contributions always come out first — the friendliest rule in retirement tax.
The Ordering Rules, Explained
The IRS forces a specific withdrawal order from a Roth IRA: contributions → conversions (oldest first) → earnings. Because contributions come out first, someone who contributed $40,000 over the years can withdraw $40,000 at age 30 for any purpose with zero tax and zero penalty. Only after all contributions are exhausted do conversions enter the picture, each penalty-free once its own five-year clock has run (or at 59½). Earnings come last and are tax-free only if you are 59½ or older and your first Roth IRA has been open five years. This ordering is why a Roth IRA doubles as an emergency fund of last resort: the contributions are always there.
The Five-Year Rule in One Paragraph
Two conditions gate tax-free earnings: age 59½ and five years since your first Roth contribution. The five-year clock starts January 1 of the year you made your first Roth IRA contribution (or conversion) — it does not restart per account. Conversions have their own separate five-year clocks for penalty purposes: convert at 40 and the converted amount is penalty-free at 45, even though earnings remain locked until 59½. Beneficiaries inherit these rules: tax-free if the owner met the five-year test, with the 10-year withdrawal rule applying to the account itself.
Exceptions That Beat the Rules
- First home: up to $10,000 of earnings (lifetime) is penalty-free for a first home; the five-year rule still applies to the earnings portion.
- Disability and death: full access, no penalty, no five-year wait.
- Medical expenses, health insurance while unemployed, higher education: penalty exceptions exist for earnings (tax still applies unless the five-year test is met).
- SEPP (72(t)): substantially equal payments can unlock money before 59½ without penalty.
Action Steps
- Track your contribution total — it is your always-accessible floor.
- Record each conversion and its five-year maturity date.
- Before tapping earnings, confirm both the age and five-year tests.
- Keep Form 8606 and contribution records indefinitely — they prove the tax-free character of every dollar.
Worked Example: Withdrawing at 45
Leah, 45, has a Roth IRA built from $40,000 of contributions, a $30,000 conversion made four years ago, and $20,000 of earnings — a $90,000 balance. She needs $25,000 for a business opportunity. The ordering rules say her withdrawal comes from contributions first: the entire $25,000 is tax- and penalty-free, and her remaining "contribution basis" drops to $15,000. If she later needs another $30,000, the next dollars come from the conversion — but it was made only four years ago, so the first $30,000 of conversion principal is not yet penalty-free (one more year to go). She should wait for the five-year anniversary or limit herself to the $15,000 of remaining contributions. Earnings are fully locked until 59½. The lesson: contributions are your emergency fund, conversions are your mid-term money, and earnings are your retirement money — the ordering rules enforce exactly that hierarchy, so plan withdrawals in that order.
Try Our Interactive Calculator
See exactly how this affects YOUR finances with our free tool.
Use the Calculator →The Five-Year Rule and Ordering
Roth IRA withdrawals follow a strict ordering: contributions first (always tax- and penalty-free, any time, any age), then conversions (each subject to its own five-year clock — the converted amount becomes penalty-free five tax years after conversion), then earnings (tax- and penalty-free only after age 59½ AND a five-year holding period from your first Roth contribution). Practical example: you contribute $30,000 over the years, convert $20,000 three years ago, and the account holds $60,000. You can withdraw the $30,000 of contributions today free; the $20,000 conversion is penalty-free only if five years have passed since the conversion (and you are over 59½, or meet an exception like first-home purchase up to $10,000); the remaining earnings are locked until both conditions are met. Exceptions to the 10% penalty on earnings include disability, death, and up to $10,000 for a first home. Track contribution basis on Form 5498 each year.