Taxstra Logo
§121
Pillar Guide

Should You Sell or Rent the House You Just Moved Out Of?

You bought a new home. Now your old one sits empty. Selling can capture a six-figure tax-free gain; renting starts a clock on losing it, and shrinks what you can depreciate.

13 min read Updated June 2026 By Bryan Martin, CPA
Start Reading

TL;DR: Sell or Rent, in 60 Seconds

If you sell your old primary residence and you've owned and lived in it 2 of the last 5 years, up to $250,000 of gain ($500,000 married filing jointly) is tax-free under Section 121. Rent it out instead, and two things work against you: the clock on that exclusion keeps running (you generally have about 3 years after move-out to sell and still qualify), and your depreciable basis is capped at the lower of your cost basis or the home's fair market value when you convert it, so you don't get to depreciate any appreciation. Selling also costs real money, typically 8-10% of the sale price in commissions, closing costs, and prep. The right move depends on how much gain you'd exclude, how long you'd rent, and what the after-tax cash flow comparison actually looks like.

Sell or Rent: The Core Tradeoff

You closed on a new house. The old one is paid off enough, or appreciated enough, that selling it would put real money in your pocket. So would renting it out. The decision isn't really "which makes more money over 10 years"; it's which path your tax situation actually rewards, and that comes down to two provisions most homeowners never think about until it's too late: the Section 121 exclusion and the depreciable basis rule for converted rentals.

Sell now, while you still qualify for the exclusion, and a large chunk of your gain, often the entire thing, comes to you tax-free. Rent it out, and you keep an appreciating asset and ongoing income, but you start a clock on losing that exclusion and you permanently shrink what you're allowed to depreciate. Neither choice is automatically better. This guide walks through the mechanics so you can run your own numbers, or have us run them with you.

$250K / $500K

Section 121 exclusion, single / married filing jointly

~3 Years

Typical window to sell after moving out and still qualify

25%

Max federal rate on depreciation recapture if you rent and later sell

This guide is educational and not individualized tax advice. Every figure above is a 2026 federal amount; state rules and your specific facts can change the answer. Confirm your numbers with a tax professional before listing, leasing, or filing.

01

The Section 121 Exclusion

The single biggest reason selling can beat renting.

Under IRC Section 121, when you sell your primary residence, you can exclude up to $250,000 of gain if you're single, or $500,000 if you're married filing jointly, from capital gains tax. No reinvestment required, no 1031 intermediary, no holding-period games. You just need to pass the 2-out-of-5-year ownership and use test: you must have owned the home and used it as your principal residence for at least 2 of the 5 years immediately before the sale.

This is why selling shortly after you move out is often the cleanest, highest-value option. If your gain is under the exclusion cap, the entire sale can be federal-tax-free.

Section 121 Exclusion at a Glance (2026)

Exclusion amount, single
$250,000 of gain
Exclusion amount, married filing jointly
$500,000 of gain (if both spouses meet the use test)
Ownership test
Owned the home at least 2 of the last 5 years
Use test
Used it as your principal residence at least 2 of the last 5 years
Frequency
Generally usable once every 2 years

The exclusion is measured against your sale date, not your move-out date. That single fact is what creates the "sell or rent" decision in the first place; you don't lose it the moment you move out, but the clock starts immediately.

02

How Renting Puts the Exclusion at Risk

The 2-of-5-year window, and the nonqualified-use trap.

Because the 2-of-5-year test looks backward from your sale date, you don't lose eligibility the instant you move out. You generally have up to roughly 3 years after moving out to sell and still satisfy the use test, since the most recent 2 of those 5 years can still fall inside the lookback window. Sell in year 4 or later after move-out, and the years you lived there fall outside the 5-year window entirely, and the exclusion is gone.

Nonqualified use can shrink the exclusion even inside the window

Even if you sell inside the 3-year window, periods of "nonqualified use" after 2008, generally time the home was used as a rental or otherwise not as your principal residence, can require you to allocate a portion of your gain as ineligible for the exclusion under IRC §121(b)(5), on a ratio of nonqualified-use time to total ownership time. There's a specific carve-out: time after the last date you used the home as your principal residence, up until the sale, generally doesn't count as nonqualified use. That carve-out is exactly what makes the "sell within ~3 years of moving out" approach work. But other rental periods, for example if you rented the home out before ever living in it, or rented it, moved back in, then rented it again, can trigger nonqualified-use allocation and partially reduce your exclusion.

This is fact-specific. Get it checked.

The nonqualified-use calculation depends on your exact ownership and occupancy timeline. Two people who rented their old house for "about two years" can land in very different tax outcomes depending on the order of events. Don't assume the 3-year rule of thumb covers your situation; confirm it.

Not sure where you stand on the 5-year clock?

We'll map your ownership and occupancy timeline against the 2-of-5-year test and flag any nonqualified-use exposure before you decide to rent or sell.

Book a Free Call
03

The Depreciable Basis Trap

Why renting an appreciated home depreciates less than you'd expect.

If you decide to rent the house instead of selling, the IRS doesn't let you depreciate it based on what it's worth today. Under Treasury Regulation 1.168(i)-4(b), your depreciable basis when you convert a personal residence to a rental is the lower of: (1) your adjusted cost basis, what you originally paid plus any capital improvements, minus any depreciation already claimed, or (2) the property's fair market value on the date you convert it to rental use.

For most homeowners coming out of a multi-year housing market, the home has appreciated since purchase, which means your cost basis is the lower number and that's what you're stuck depreciating, not the higher current value. You don't get extra depreciation just because the home is worth more now.

If You SellIf You Rent
What you're taxed onGain above the §121 exclusion, if anyRental income, minus depreciation, each year you rent
Depreciable basisN/ALower of cost basis or FMV at conversion, original appreciation not depreciable
§121 exclusion available later?Used now, in full if eligibleShrinks or disappears the longer you rent before selling
Depreciation recapture on eventual saleN/AYes, taxed up to 25% federal regardless of §121 eligibility

The appreciation you've already earned doesn't disappear if you rent, it's still real value in the home, but it stops being something you can depreciate against rental income. It only becomes tax-relevant again when you eventually sell, and by then you may have lost some or all of the §121 exclusion that would have made it tax-free.

04

Depreciation Recapture on Sale

The bill that shows up if you rent first and sell later.

Every dollar of depreciation you claim while the home is a rental reduces your basis, and when you eventually sell, that depreciation is "recaptured" as unrecaptured Section 1250 gain, taxed at a maximum federal rate of 25%. This applies regardless of whether the rest of your gain qualifies for the Section 121 exclusion; the exclusion never shelters depreciation taken after May 6, 1997. So even in the best case, where you still qualify for the full §121 exclusion on the underlying gain, you'll still owe tax on the depreciation you deducted while renting.

Net effect: renting first and selling later usually means trading a chance at a fully tax-free sale for a partially taxable one, the depreciation recapture portion, plus whatever gain falls outside the exclusion due to nonqualified use. That can still be the right call if the cash flow and appreciation outweigh it; it just needs to be priced in up front.
05

The Cost of Selling

The counterweight that makes renting worth considering.

None of this means selling automatically wins. Selling a house isn't free, and the costs are real money coming off your proceeds before any tax math even applies:

Typical Selling Costs

  • Real estate commissions (commonly 5-6% combined, increasingly negotiable)
  • Title, escrow, and closing fees
  • Transfer taxes (state/local, varies widely)
  • Prorated property taxes and HOA dues
  • Repairs, staging, and pre-listing prep

What Renting Costs Instead

  • Ongoing mortgage, insurance, taxes, and maintenance
  • Property management, if you don't self-manage
  • Vacancy and tenant turnover risk
  • Landlord liability exposure
  • Opportunity cost of equity tied up in one asset

On a $600,000 home, selling costs commonly run $48,000-$60,000, roughly 8-10% of the sale price. That's the number to weigh against the rental income, continued appreciation, and depreciation deductions you'd give up by selling instead. It's also the number that gets fully absorbed tax-free if you're inside the §121 exclusion; without the exclusion, you'd be paying selling costs and capital gains tax.

06

Worked Example

An illustrative comparison; your numbers will differ.

Illustrative example, not a specific client outcome. A married couple bought their home for $400,000 several years ago and it's now worth $700,000 (a $300,000 gain), with about $20,000 in capital improvements added to basis along the way. They just bought a new primary residence.

Sell Now (inside the §121 window)Rent for 5 Years, Then Sell
Gain$300,000 (before improvements/selling costs)Same $300,000, plus any further appreciation
§121 exclusionFull $500,000 MFJ exclusion covers it; gain is $0 taxableLost: sale falls outside the ~3-year window, exclusion no longer applies
Depreciable basis if rentedN/ACapped at the $420,000 cost basis, not the higher current value
Depreciation recaptureN/ATaxed up to 25% federal on depreciation claimed during the rental years
Selling costs~8-10% of sale price, paid once~8-10% of sale price, paid later, plus 5 years of landlord costs/risk

In this scenario, selling now converts the entire $300,000 gain to cash with no federal capital gains tax. Renting for 5 years keeps the asset working and may add more appreciation and rental income, but it forfeits the exclusion entirely and adds depreciation recapture on top of whatever gain accumulates. A shorter rental period, say 18-24 months, could preserve the exclusion (subject to nonqualified-use review) while still capturing some rental income. The right answer depends entirely on your timeline and numbers.

Taxstra Tip

If you're genuinely undecided, the safest default for most homeowners is to sell inside the exclusion window unless you have a specific, well-modeled reason to hold, since the exclusion is the largest and most certain tax benefit on the table, and it only gets harder to qualify for the longer you wait.

07

Who Should Sell vs. Rent

General patterns, not a substitute for running your own numbers.

Selling Often Makes Sense

Large Gain, Inside the Window
Your gain is at or near the $250K/$500K exclusion, and you're well within the 2-of-5-year test
Want Cash, Not a Second Job
You don't want to manage a long-distance rental or deal with tenants
Need the Equity
The proceeds fund a down payment, debt payoff, or another investment

Renting Can Still Work

Strong Long-Term Rental Market
Rent covers carrying costs with room to spare, and you want the long-term appreciation
Plan to Sell Within ~3 Years
You can still capture the §121 exclusion (subject to nonqualified-use review) while renting briefly
Building a Rental Portfolio Anyway
You're comfortable giving up the exclusion because the asset fits a larger real estate strategy, potentially pairing with a future 1031 exchange

Want Us to Run Your Sell-vs-Rent Numbers?

We'll check your Section 121 eligibility window, calculate your depreciable basis if you rent, and compare the after-tax outcome of selling vs. renting, in a free 30-minute call.

Book a Free Consultation

No obligation • Takes 30 minutes • Done over the phone

08

Frequently Asked Questions

Don't Guess on a Six-Figure Decision.

Whether you sell now, rent for a while, or hold long-term, the right call depends on your actual basis, gain, and exit timeline. We'll model both paths before you sign a listing agreement or a lease.

Book a Free Consultation

No obligation • Takes 30 minutes • Done over the phone