Can I Put Home Sale Proceeds Into a Roth IRA? Three Rules, Three Strategies

Selling your home at 60 with a large gain feels like a perfect Roth IRA funding moment — but capital gains are not earned income, and the IRS has strict rules about what qualifies as a contribution source. This guide explains the three rules that limit what you can actually deposit, how the Section 121 exclusion interacts with the Roth income limits, and what to do with the proceeds that can't go into a Roth.

6/3/2026
roth-irahome-salecapital-gainsearned-incomesection-121-exclusionroth-contribution-limitsbackdoor-rothcatch-up-contributionsmagitaxable-brokerage

Selling your home at 60 with a large gain feels like the perfect Roth IRA funding moment. You have more cash than you have seen in one place, you are approaching the years when tax-free Roth growth matters most, and the contribution window is open. The impulse to move proceeds directly into a Roth is completely understandable — and mostly blocked by three distinct IRS rules that have nothing to do with each other.

Yes, you can contribute to a Roth IRA at 60. No, you cannot simply deposit the sale proceeds. Here is what actually controls how much of that money can go in.

Rule 1 — Contributions Require Earned Income

This is the rule most people miss, and it is the most constraining one. A Roth IRA contribution must be funded from taxable compensation — wages, salary, self-employment income, or alimony treated as compensation. Home sale proceeds are capital gains, not earned income. The IRS treats the two categories differently regardless of how large the gain was or how hard you worked to maintain the property.

The rule operates as a ceiling: you can contribute up to the lesser of the annual limit or 100% of your taxable compensation for the year. A retiree who earned $30,000 from part-time consulting and made $400,000 on a home sale can contribute based on the $30,000 — not the $400,000. A retiree with zero earned income cannot contribute to a Roth IRA at all, regardless of how large the home sale proceeds are.

One important exception: the spousal IRA rule allows a non-working spouse to contribute based on the working spouse's compensation, as long as the couple files jointly. A 60-year-old who retired but whose spouse is still working can potentially contribute to a Roth IRA funded from any source — including home sale proceeds — as long as the working spouse's compensation covers the contribution amount.

Rule 2 — The Annual Contribution Cap

Even with sufficient earned income, Roth IRA contributions are capped at a strict annual limit. For 2026, the limits are:

  • $7,500 for filers under age 50
  • $8,600 for filers age 50 or older ($7,500 base + $1,100 catch-up)

This is the total across all IRA accounts — traditional and Roth combined. If you contribute $3,000 to a traditional IRA in the same year, your remaining Roth IRA contribution room is $5,600 (at 50+), not the full $8,600.

The catch-up amount increased in 2026 from the prior-year $1,000 to $1,100 — a small but meaningful change indexed to inflation. Even in a year with substantial earned income and a large home sale, the maximum that can go into a Roth IRA is $8,600. The remainder of the proceeds must find other destinations.

Rule 3 — The Home Sale May Affect Your MAGI Eligibility

Roth IRA contributions phase out and eventually disappear as income rises above certain MAGI thresholds. For 2026:

Filing StatusFull ContributionPhase-Out RangeNo Contribution
SingleUnder $153,000$153,000–$168,000Over $168,000
Married Filing JointlyUnder $242,000$242,000–$252,000Over $252,000
Married Filing Separately$0$0–$10,000Over $10,000

Whether the home sale pushes your MAGI over these thresholds depends on a critical exclusion.

The Section 121 Exclusion — Most Home Sale Gains Are Not in MAGI

Under IRC Section 121, if you have owned and used the home as your primary residence for at least 2 of the last 5 years, up to $250,000 of gain (single filer) or $500,000 of gain (married filing jointly) is excluded from gross income entirely. The excluded amount does not enter AGI, and therefore does not count toward Roth IRA MAGI.

For most long-term homeowners selling in their 60s, this exclusion shelters the majority — or all — of the gain:

  • A single filer with a $220,000 gain who qualifies for Section 121: $0 of the gain enters MAGI. Roth eligibility is unaffected.
  • A married couple with a $480,000 gain who qualifies: $0 enters MAGI. Full $8,600 per spouse is potentially available.
  • A single filer with a $400,000 gain: $250,000 is excluded; the remaining $150,000 gain enters MAGI as a long-term capital gain — potentially pushing MAGI above $168,000 and eliminating Roth eligibility entirely for that year.

If the gain exceeds the exclusion threshold, or if you do not qualify for Section 121 (e.g., you did not meet the 2-of-5-year residency test, or you used the exclusion within the last 2 years), the excess gain is ordinary long-term capital gain income that counts toward MAGI for Roth purposes.

What to Do With Proceeds That Can't Go Into a Roth

The Roth IRA maximum is $8,600 for the year. For a home sale generating $400,000 in proceeds, that means $391,400 needs a different destination. Several options preserve the tax efficiency of the windfall:

Taxable brokerage account. No contribution limits, no earned income requirement, no income ceiling. Invest in low-turnover index funds and you benefit from long-term capital gains rates (0%, 15%, or 20% depending on income), stepped-up cost basis for heirs, and tax-loss harvesting flexibility. For most home-sale windfalls, the taxable brokerage account holds the bulk of the proceeds. The key is avoiding high-turnover funds that generate annual ordinary income distributions — in a taxable account, the fund's internal tax efficiency matters as much as the investment return.

Max out a 401(k) if you're still working. If you are still employed, the 401(k) is the highest-ceiling tax-advantaged account available. The 2026 limit is $24,500 base, plus an $8,000 catch-up for ages 50–59 and 64+ ($32,500 total), or a $11,250 super catch-up for ages 60–63 — bringing the total to $35,750 for those in the super catch-up window. Unlike the Roth IRA, 401(k) contributions are not subject to MAGI-based income limits (traditional 401(k)). Note that starting in 2026, catch-up contributions to 401(k) plans must be made as Roth if your prior-year W-2 wages exceeded $150,000 — this affects the tax treatment but not the limit.

Backdoor Roth IRA. If your MAGI from the home sale pushes you above the Roth income limits, you may still be able to get money into a Roth through the backdoor: contribute to a non-deductible traditional IRA (no income limit for contributions), then convert to Roth immediately. The conversion is taxable only on any gains earned between the contribution and conversion — if done promptly, often near-zero. The primary complication is the pro-rata rule: if you have existing pre-tax IRA balances, the conversion is partially taxable based on the ratio of pre-tax to after-tax dollars across all your IRAs. This strategy works cleanly if you have no other traditional IRA balances, or if you can roll those balances into a 401(k) plan first.

I-Bonds and other conservative vehicles. For a portion of the proceeds earmarked for preservation rather than growth, Series I savings bonds offer inflation-adjusted returns, federal tax deferral until redemption, and state tax exemption on interest. The annual purchase limit is $10,000 per person ($20,000 per couple) in electronic form. FDIC-insured high-yield savings accounts and short-term Treasury ladders serve a similar stabilizing role for the portion not invested in equities.

Putting It Together — A Worked Example

Consider a married couple, both 61, selling their primary residence in 2026 after 18 years of ownership. Net proceeds: $800,000. Original purchase price plus improvements (basis): $300,000. Gross gain: $500,000.

  • Section 121 exclusion (MFJ): $500,000 of the gain is excluded. Taxable gain: $0. Neither spouse's MAGI is increased by the home sale.
  • Roth IRA eligibility: Unaffected by the sale. If both spouses have earned income (or one does, covering both under spousal IRA rules), each can contribute $8,600 — $17,200 total.
  • Remaining $782,800: Goes primarily to a taxable brokerage account, with the 401(k) maxed at work ($35,750 per working spouse) and up to $20,000 in I-Bonds if liquidity allows.

Now consider the same couple but with a $750,000 gain. After the $500,000 MFJ exclusion, $250,000 of gain enters MAGI as long-term capital gain. If their other MAGI from wages and investment income is $60,000, combined MAGI reaches $310,000 — far above the $252,000 MFJ cutoff. Direct Roth contributions are eliminated. The backdoor Roth becomes the only Roth-funding path, subject to the pro-rata rule analysis.

Important Notes

  • The 2-of-5-year residency test must be met for each sale. If you sold another primary residence and used the Section 121 exclusion within the prior 2 years, you cannot use it again for this sale. Partial exclusions may apply in certain hardship situations.
  • Basis matters as much as sale price. Track all capital improvements — additions, major renovations, system replacements — as they increase your adjusted basis and reduce the taxable gain. Improvements are not the same as repairs.
  • The earned income rule applies to the year of contribution, not the year of the sale. If the sale happened in 2026 but you contribute in early 2027 (before the April 15, 2027 deadline) against 2026 limits, your 2026 earned income is what counts — not 2027 income.
  • All traditional and Roth IRAs aggregate for the annual limit. The $8,600 cap is not $8,600 per account — it is $8,600 across all IRA accounts you own. Contributing to a SEP-IRA (as a self-employed person) is subject to different limits and does not count against the $8,600 Roth ceiling.
  • State income tax on the home sale may vary. Some states do not conform to the federal Section 121 exclusion and may tax the gain at the state level. This does not affect Roth eligibility (a federal rule) but does affect the net after-tax proceeds available to invest.

In ModernRetire

In Profile → Real Estate, enter your home sale timing, basis, and years in the home. The planner:

  1. Applies Section 121 in Projected Sale Analysis based on filing status and the 2-of-5-year test
  2. Estimates capital gains tax using your Capital Gains Rate from Profile → Investments
  3. Runs an IRA & Roth estimate (after sale) — simplified MAGI (earned + other income + taxable home gain), annual IRA limit, and Roth cap with warnings when earned income is $0 or MAGI is above phase-out

Use Plan analysis → Tax Plan for year-by-year MAGI, LTCG tiers, and Roth conversions — not identical to the educational sale-year panel.

🔗 Related

Related: Advanced Roth conversion strategies — if a large home sale year pushes you above Roth contribution limits, the years immediately after the sale (with lower MAGI) may be your best window for Roth conversions from existing traditional IRA balances.

Read article →

🔗 Related

Related: MAGI — what counts and why it matters — the Section 121 exclusion keeps most home sale gains out of MAGI, but understanding exactly how MAGI is calculated helps you verify that the gain was properly excluded and check whether other income sources in the same year push you into phase-out territory.

Read article →

🔗 Related

Related: Backdoor and mega backdoor Roth — when direct Roth contributions are blocked by MAGI after a taxable portion of a home sale gain.

Read article →

Article Quiz1 / 3

Quick Check

A 62-year-old single filer sells her primary residence in 2026, generating a $280,000 net gain. She owned and lived in the home for 8 years. Her other income in 2026 is $45,000 in wages. She has no other IRA balances. Can she contribute to a Roth IRA in 2026, and if so, how much?