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

A Roth IRA lets you pull out the money you put in — your contributions — whenever you want, as many times as you want, with no penalty and no tax. The catch is earnings (the money your investments made). You cannot touch earnings before age 59½ without paying income tax on them plus a 10% penalty, with a few narrow exceptions. The IRS does not limit how many times you withdraw contributions, but it does track what you withdraw and when.

The reason this matters: the IRS wants to know whether you are pulling out contributions (allowed) or earnings (restricted). Every withdrawal gets reported, and the IRS has rules about which money comes out first when you take a distribution.

Key Takeaways

  • You can withdraw your own contributions to a Roth IRA at any time, in any amount, without penalty or tax, and there is no limit on how many times you do this.
  • Earnings in your Roth IRA are locked until age 59½ unless you meet a narrow exception like disability, first-time home purchase, or may have access to education expenses.
  • The IRS uses a "pro-rata rule" that treats all your Roth IRAs as one account when calculating how much of a withdrawal is contributions versus earnings.
  • Withdrawals are reported to the IRS on Form 5498-R, and taking earnings before 59½ triggers both income tax and a 10% penalty unless an exception applies.

The difference between contributions and earnings

Your contributions are the dollars you deposited into the account yourself. If you put in $7,000 a year for five years, you have $35,000 in contributions. You own that money outright and can withdraw it anytime. The IRS does not tax it again because you already paid tax on it when you earned it.

Earnings are the investment gains — the money your stocks, bonds, or funds made while sitting in the account. If your $35,000 in contributions grew to $50,000, the $15,000 gain is earnings. That $15,000 has never been taxed. The whole point of a Roth IRA is that earnings grow tax-free, but only if you follow the rules about when you can take them out.

When you withdraw money, the IRS assumes you are taking contributions first, then earnings. So if you withdraw $10,000 and you have $35,000 in contributions, that entire $10,000 comes out tax-free and penalty-free. But if you withdraw $40,000, the first $35,000 is contributions (no tax, no penalty) and the last $5,000 is earnings (subject to tax and penalty unless you meet an exception).

How the pro-rata rule affects multiple Roth IRAs

If you have more than one Roth IRA, the IRS treats them as a single account for withdrawal purposes. This is the pro-rata rule, and it can catch people off guard. Say you have two Roth IRAs: one with $30,000 in contributions and $10,000 in earnings, and another with $20,000 in contributions and $5,000 in earnings. Your total is $50,000 in contributions and $15,000 in earnings across both accounts.

If you withdraw $20,000, the IRS calculates what portion of your total balance is contributions versus earnings. Contributions make up 77% of your total ($50,000 ÷ $65,000), so 77% of your $20,000 withdrawal — about $15,400 — is treated as contributions. The remaining $4,600 is treated as earnings and subject to tax and penalty if you are under 59½. It does not matter which account you withdrew from or which one had more earnings.

The pro-rata rule applies even if you have a traditional IRA, SEP IRA, or SIMPLE IRA in addition to Roth IRAs. All of them count toward the calculation. This is why people sometimes convert a traditional IRA to a Roth and then immediately withdraw from the Roth — the pro-rata rule can make that withdrawal partly taxable.

Exceptions that let you withdraw earnings early

The IRS allows you to withdraw earnings before 59½ without the 10% penalty (though you still pay income tax) in these situations:

  • You are disabled or have a terminal illness.
  • You are a first-time homebuyer and withdraw up to $10,000 lifetime (you must use it within 120 days of withdrawal).
  • You have unreimbursed medical expenses that exceed 7.5% of your adjusted gross income.
  • You pay health insurance premiums while unemployed.
  • You withdraw for may have access to education expenses (tuition, fees, books, room and board for you or a dependent).
  • You inherit a Roth IRA from someone other than a spouse.
  • You take a "substantially equal periodic payment" (SEPP) — a series of equal withdrawals calculated by IRS formula.

Even with these exceptions, you still owe income tax on the earnings portion. The penalty is waived, but the tax is not. And the rules are strict — for example, first-time homebuyer status means you have not owned a home in the past two years, and you must use the money within 120 days.

What happens when you withdraw before 59½

If you withdraw earnings before age 59½ and do not meet an exception, two things happen. First, you owe income tax on the earnings at your regular tax rate — the same rate you pay on wages. Second, you owe a 10% penalty on top of that. So if you withdraw $5,000 in earnings and you are in the 22% tax bracket, you owe $1,100 in tax plus $500 in penalty, for a total of $1,600.

The withdrawal is reported to you on Form 5498-R, which the IRS also receives. If you do not report the tax on your return, the IRS will catch it. You cannot avoid the tax by not reporting it.

There is one small relief: if you withdraw contributions and earnings together, and only the earnings portion is subject to penalty, you can sometimes claim the exception applies to just the earnings. But this requires careful documentation and often a tax professional to sort out correctly.

The five-year rule for Roth conversions

If you converted money from a traditional IRA to a Roth IRA, there is an additional rule: you must wait five tax years before withdrawing the converted amount without penalty. This is separate from the age 59½ rule. If you convert $50,000 at age 50, you cannot withdraw that $50,000 without penalty until age 55 (five years later), even though you are still under 59½.

The five-year clock starts on January 1 of the year you do the conversion. If you convert on December 31, 2024, the five years end on December 31, 2029. Each conversion has its own five-year clock, so if you convert again in 2025, that conversion has a separate five-year period.

This rule applies only to the converted amount, not to your original contributions. If you contributed $7,000 directly to your Roth IRA, you can withdraw that $7,000 anytime. If you converted $50,000 from a traditional IRA, you must wait five years to withdraw that $50,000 without penalty.

Reporting and tax forms

Every withdrawal from a Roth IRA is reported to the IRS by your custodian (the bank, brokerage, or fund company holding the account). You receive Form 5498-R showing the amount and type of distribution. You must report this on your tax return, even if no tax is owed on contributions.

If you withdraw earnings before 59½ and do not meet an exception, you report the taxable portion on your Form 1040 and pay tax and penalty. If you do meet an exception, you still report the withdrawal but may be able to exclude the penalty using the appropriate IRS form (for example, Form 5329 to claim a first-time homebuyer exception).

Keeping records is important. Write down the date, amount, and purpose of each withdrawal. If you withdraw for a specific exception — like education expenses or medical costs — keep receipts. The IRS can ask for proof that you met the exception, and your custodian's records alone may not be enough.

Frequently Asked Questions

Can I withdraw my contributions and put the money back later?

You can withdraw contributions anytime, but you cannot put them back into the same Roth IRA in the same year. If you withdraw $5,000 in 2024, you cannot redeposit it in 2024. You can redeposit it in 2025 as a new contribution, but it counts toward your annual contribution limit for that year. If you already maxed out 2025 contributions, you cannot put it back until 2026.

What if I withdraw earnings by mistake and do not realize it until tax time?

You owe tax and penalty on the earnings portion. You can file an amended return and claim an exception if you may have access to, but you cannot undo the withdrawal. Some people use the "return of erroneous rollover" rule if they withdrew and redeposited within 60 days, but this is narrow and requires IRS approval. Talk to a tax professional if this happens.

Does withdrawing contributions reduce my future contribution room?

No. Your annual contribution limit is based on your income, not on your account balance. If you withdraw $5,000 in contributions, you can still contribute $7,000 (or whatever the limit is that year) in new money. Withdrawals do not give you extra contribution room.

Can I take a loan from my Roth IRA instead of withdrawing?

No. Roth IRAs do not allow loans. You can only withdraw or convert. Traditional IRAs and 401(k)s allow loans, but Roths do not. If you need temporary access to money, withdrawal is your only option.

What if I am over 59½ — are there still rules?

Once you turn 59½, you can withdraw contributions and earnings anytime, in any amount, with no penalty and no tax on the earnings (as long as the account has been open at least five tax years). There is no required minimum distribution from a Roth IRA during your lifetime, so you can leave the money untouched as long as you want.