roofy
Owning

Should I rent out my house or sell it?

Compare selling now with keeping your home as a rental, including cash flow, depreciation recapture and the 3-year Section 121 deadline.

Updated October 12, 2026 · fact-checked against official sources

The home
As a rental
Assumptions
Taxes
Selling now leaves you ahead after 5 years by
$37,146
Rent: $259,717 · Sell now: $296,863

Sell by November 1, 2029 to keep the Section 121 exclusion (move-out + 3 years). Selling after 5 years misses it, so the whole gain is taxable.

Keep and rent Sell now and invest
$297K$270K$244KNowY1Y2Y3Y4Y5
Hover the chart for exact values.
Cash from selling now (after loan, costs, tax)$244,000
Tax if you sell now$0
Year-1 rental cash flow after tax$1,809
Year-1 taxable rental income-$1,390
Depreciation per year$11,636
Tax on sale in year 5 (incl. recapture)$39,145
If you sold at the end of each year
YearCash flowSale taxRent wealthSell-now wealth§121
1$1,809$2,909$251,337$253,760Yes
2$1,809$5,818$259,026$263,910Yes
3$1,809$8,727$267,077$274,467Yes
4$1,809$36,236$250,903$285,445No
5$1,809$39,145$259,717$296,863No

Estimate only. Rental losses are treated as unused (they may be deductible or carried forward), state taxes and the mid-month depreciation convention are ignored, and growth rates are your assumptions. Confirm with a tax professional.

How the calculator works

The calculator follows the same money down two paths and compares where you stand at the end of each year.

  • Sell now. Sale price minus selling costs, minus the mortgage payoff, minus any capital gains tax. That cash is invested at the return you enter.
  • Keep and rent. Each year, rent collected (after vacancy) minus management, maintenance, property tax, insurance, HOA and the mortgage payment, minus income tax on any rental profit. Each year's cash flow is invested at the same return (a negative cash flow is money you put in). At the end, the calculator adds what you would get from selling then: price minus selling costs, the remaining loan, and the tax on the sale.

The headline is the gap between the two at your comparison year. The table shows the same comparison if you sold at the end of any earlier year.

The tax rules it uses

  • Section 121 exclusion. You can exclude up to $250,000 of gain ($500,000 for most joint filers) if you owned the home and lived in it as your main home for at least 24 months of the 5 years before the sale. If you lived there right up to your move-out, you must sell within 3 years of moving out. The calculator shows that date.
  • Renting after you move out. IRS Publication 523 says time after the last date you used the home as your main home, within the 5-year window, is not “nonqualified use”. So renting it out for up to 3 years does not shrink the exclusion.
  • Depreciation. A rental house is depreciated over 27.5 years, straight line. The basis is the lower of your adjusted basis or the market value when you convert it, times the building's share (land doesn't depreciate).
  • Recapture. Depreciation after May 6, 1997 can't be excluded. That part of the gain is taxed at up to 25%. The rest of the gain is excluded if you still qualify, or taxed at your capital gains rate if you don't.

Worked example

A married couple owns a $600,000 house bought for $400,000. They lived there 4 years and owe $320,000 at 3.25% with 25 years left (principal and interest about $1,559 a month). It would rent for $3,200 a month. They assume 5% vacancy, 8% management, 10% for maintenance, $7,200 property tax and $2,000 insurance, 6% selling costs, flat prices, and a 4% return on invested cash.

  • Selling now: $564,000 after costs, minus the $320,000 loan, leaves $244,000. The $164,000 gain is under $500,000, so no tax.
  • Renting: $36,480 collected, $15,958 of expenses and $18,713 of mortgage payments leaves about $1,809 a year. Depreciation of about $11,636 a year ($320,000 building basis ÷ 27.5) wipes out the taxable profit.
Wealth if they sold at the end of each year
YearTax on saleKeep and rentSell now, invest
1$2,909$251,337$253,760
3$8,727$267,077$274,467
4$36,236$250,903$285,445
5$39,145$259,717$296,863
Source: Roofy calculation; growth and return rates are assumptions

Through year 3, the only tax is 25% recapture on depreciation. In year 4 they miss the 3-year deadline, so the $164,000 gain is taxed at 15% too, and selling now comes out about $37,000 ahead by year 5. With rising prices or higher rent, renting can win; try your own numbers.

Edge cases

  • Lived there less than 2 years. No full exclusion is assumed. A reduced exclusion may apply if you moved for work, health or unforeseen circumstances.
  • Moved out long ago. If your 3-year window has already closed, both paths are taxed on the full gain.
  • Condos and co-ops. Many buildings limit rentals or sublets. Check the bylaws and proprietary lease before you plan on rent.

What to do next

Check the gain on a sale with the home sale capital gains calculator, estimate the recapture bill with the depreciation recapture calculator, and stress-test the rental with the rental cash flow calculator. If you are in a condo, read renting out your NYC condo.

Common questions

How long can I rent out my home and still sell it tax-free?

To use the Section 121 exclusion you must have owned the home and lived in it as your main home for at least 2 of the 5 years before the sale. If you lived there right up to your move-out, that usually means selling within 3 years of moving out. The exclusion is up to $250,000 of gain, or $500,000 for most married couples filing jointly.

Does renting the home after I move out reduce my exclusion?

Not by itself. IRS Publication 523 says time within the 5-year period after the last date you used the home as your main home is not "nonqualified use", so it does not cut the exclusion. Rental time before you moved in can.

What is depreciation recapture when I sell a former rental?

Depreciation you were allowed to take after May 6, 1997 cannot be excluded under Section 121. That part of the gain, called unrecaptured Section 1250 gain, is taxed at a maximum rate of 25%. It applies to depreciation allowed or allowable, so skipping the deduction does not avoid it.

How is depreciation figured when I turn my home into a rental?

Residential rental property is depreciated over 27.5 years using the straight-line method. The basis is the lower of your adjusted basis or the fair market value on the date you convert it, and only the building counts, not the land.

Why does selling often win when home prices are flat?

If the home does not appreciate, renting it out adds selling costs later, depreciation recapture, and possibly the loss of the exclusion, while thin rental cash flow may not make up for it. Keeping a home with a low fixed mortgage rate and strong rent can change the answer; enter your own numbers.

Fact-checked October 12, 2026

Re-checked 2026-10-12 against Pub. 523 (2025): 24-of-60-month ownership/use tests, $250,000/$500,000, no exclusion for depreciation after May 6, 1997, and the nonqualified-use exception for time after last main-home use within the 5-year period (Taylor and Cartier examples). Pub. 527 (2025): 27.5-year straight line with mid-month convention (ignored here), land not depreciable, basis = lesser of adjusted basis or FMV at conversion. Topic 409: 25% max on unrecaptured section 1250 gain. Topic 559: 3.8% NIIT; excluded home-sale gain not subject. Worked example and table (years 1, 3, 4, 5) recomputed independently and match; second test (lived under 2 years) behaves as expected. 3-year deadline assumes continuous residence up to move-out.

Sources

  1. Publication 523 (2025), Selling Your Home · IRS (accessed October 12, 2026)
  2. Publication 527 (2025), Residential Rental Property · IRS (accessed October 12, 2026)
  3. Topic no. 409, Capital gains and losses · IRS (accessed October 12, 2026)
  4. Topic no. 559, Net investment income tax · IRS (accessed October 12, 2026)

General information, not legal, tax or financial advice. Rules change; confirm with the agency or a professional before you act.