You can withdraw your contributions anytime, but earnings have strict rules

A Roth IRA has two separate withdrawal rules depending on what money you are taking out. The money you put in (your contributions) can come out at any time without penalty or tax. The money your account earned through investment gains (your earnings) has age and holding-period requirements that trigger penalties if you break them.

The distinction matters because the IRS tracks these two buckets separately. You can withdraw $5,000 in contributions penalty-free even if you opened the account last month. But if you withdraw $1,000 in earnings before age 59½ and before holding the account for five years, you owe income tax on that $1,000 plus a 10% early-withdrawal penalty.

Key Takeaways

  • Contributions (money you deposited) withdraw anytime with no tax or penalty, regardless of your age or how long you have held the account.
  • Earnings (investment gains) cannot withdraw before age 59½ without a 10% penalty, and the account must be open for at least five tax years first.
  • The five-year rule counts from January 1 of the year you made your first contribution, not from the date you opened the account.
  • Certain hardships—disability, medical bills, first-time home purchase up to $10,000—allow earnings withdrawal without the 10% penalty, though income tax still applies.
  • After age 59½ and five years of account ownership, you withdraw earnings and contributions tax-free with no restrictions.

Contributions: The money you put in comes out anytime

Your contributions are the dollars you personally deposited into the Roth IRA. If you contributed $6,000 in 2023 and $6,500 in 2024, you have $12,500 in contributions. You can withdraw any or all of this amount at any time, at any age, without owing income tax or the 10% early-withdrawal penalty.

The IRS does not care why you withdraw contributions or when. You do not need to prove hardship. You do not need to wait until age 59½. This is one of the main reasons people use Roth IRAs as emergency savings—the contributions are always accessible.

If you made a backdoor Roth contribution (converting a traditional IRA to a Roth), the converted amount counts as a contribution for withdrawal purposes, though the rules are more complex if you have other traditional IRAs. Consult a tax professional before withdrawing converted amounts.

Earnings: The investment gains have age and time requirements

Your earnings are the returns your investments generated—dividends, capital gains, interest. If your $12,500 in contributions grew to $15,200, the $2,700 is earnings. Withdrawing earnings before age 59½ triggers a 10% penalty on the earnings amount, plus income tax.

You also must have held the Roth IRA for at least five tax years. The five-year clock starts on January 1 of the year you made your first contribution to any Roth IRA, not the date you opened the account. If you opened a Roth on December 31, 2023, and contributed $1,000, your five-year period began January 1, 2023. You can withdraw earnings penalty-free starting January 1, 2028 (assuming you are also 59½ by then).

Both conditions must be met: you must be 59½ and the account must be five years old. If you turn 59½ at age 58 (not possible, but for example), you still cannot touch earnings penalty-free until five years have passed.

Exceptions that waive the 10% penalty on earnings

The IRS allows penalty-free withdrawal of earnings in specific situations, though you still owe income tax on the earnings amount:

  • Disability: You are unable to work due to a medically determinable physical or mental condition expected to last indefinitely or result in death.
  • Medical expenses: You withdraw to pay unreimbursed medical costs that exceed 7.5% of your adjusted gross income in that year.
  • First-time home purchase: You withdraw up to $10,000 lifetime (not per year) to buy, build, or rebuild a primary residence. "First-time" means you have not owned a home in the past two years.
  • Death: Your beneficiary withdraws after your death; no penalty applies, though income tax on earnings is owed.
  • Substantially equal periodic payments: You set up a series of equal withdrawals under IRS rules (SEPP); the penalty does not apply to the series, though income tax does.

These exceptions waive only the 10% penalty. Income tax on the earnings portion still applies in all cases except death (where the beneficiary receives a step-up in basis). The five-year rule does not apply to these exceptions—you can use them before five years have passed.

What happens after age 59½ and five years

Once you reach age 59½ and the account has been open for five tax years, you can withdraw contributions and earnings in any amount, at any time, with no tax and no penalty. This is the standard retirement scenario.

Unlike a traditional IRA, a Roth IRA has no required minimum distributions (RMDs). You never have to withdraw money. You can leave the account untouched for life and pass it to your heirs, who will inherit it tax-free on the contributions and with a step-up in basis on the earnings as of your death date.

How the IRS tracks which money you are withdrawing

When you withdraw from a Roth IRA, the IRS assumes you withdraw contributions first, then earnings. This is called the pro-rata rule for ordering. If you have $20,000 in contributions and $5,000 in earnings, and you withdraw $10,000, the IRS treats the first $10,000 as contributions (no tax, no penalty). Only when you draw below the contribution balance do earnings come out.

If you have multiple Roth IRAs, the IRS treats them as one account for this purpose. You cannot withdraw from one Roth and claim it is all contributions while leaving earnings in another Roth untouched. The total contributions and earnings across all your Roth IRAs determine the ordering.

Frequently Asked Questions

Can I withdraw my contributions without reporting it to the IRS?

You do not owe tax on contributions, but you must report the withdrawal on your tax return using Form 8606. The IRS tracks Roth activity through your custodian's reports. Failing to file Form 8606 can result in the IRS treating the withdrawal as taxable earnings and assessing back taxes and penalties.

What if I withdraw earnings by mistake before age 59½?

You owe income tax on the earnings and the 10% penalty, unless an exception applies. You can request a waiver of the penalty if you can show reasonable cause (such as a custodian error), but this requires filing Form 5329 with an explanation. The tax liability remains either way.

Does the five-year rule apply to each contribution separately?

No. The five-year clock is per account, not per contribution. If you opened a Roth in 2020 and made contributions in 2020, 2021, and 2022, all earnings in that account become accessible penalty-free in 2025 (five years from 2020), assuming you are 59½.

Can I withdraw earnings to pay off student loans or credit card debt?

No. Student loans and credit card debt are not among the IRS exceptions. Withdrawing earnings for these purposes triggers the 10% penalty and income tax on the earnings, unless you meet another exception like disability or medical expenses.

What if I am over 59½ but the account is less than five years old?

You can withdraw contributions anytime. For earnings, you must wait until the five-year period closes. Once both conditions are met—age 59½ and five years—earnings withdraw tax-free and penalty-free.