Skip to content
Mapleton, Utah
Morkel Financial & Tax Services

Rent Out My House or Sell It? You Have Three Years to Decide.

By Ewan Morkel, EA6 min read

Renting out your old house keeps the $500,000 home sale exclusion alive for exactly three more years, and the nonqualified use rule everyone warns you about does not apply to you. Close the sale one day late and a $9,789 tax bill becomes $71,378.

Contemporary residential home behind a green yard and trees

A couple takes a job three states away and lists the house. Two weeks in, the only offer is $30,000 under asking, and somebody at the new office tells them to rent it out and sell when the market turns. That is good advice for about three years and expensive after that. So, the question that lands in my inbox every time somebody relocates: should I rent out my house or sell it, and what does the renting cost in tax.

The deadline

Rent out my house or sell it: what the three-year clock measures.

Section 121(a) tests the five years ending on the date of sale, not the day you move out. Inside that window you need 24 months of ownership and 24 months of use as your principal residence, and §121(b)(2)(A) lifts the exclusion to $500,000 on a joint return when both spouses clear the use test. The months do not have to be consecutive, and the gain is figured the same way as on any home sale.

Run the window forward and the deadline falls out of the arithmetic. Say you lived there from 2018 until June 30, 2026, then moved. Close on June 30, 2029 and the five-year window opens July 1, 2024, which still holds two full years of you living there. Close a day later and the window opens a day later, your use period comes up short of 24 months, and the exclusion is gone. There is no partial credit for 23 months. Section 121(c) prorates it only when a job change, health, or an unforeseen circumstance forces the sale, and "the market finally came back" is none of those.

The scare

The nonqualified use warning does not apply to you.

Most of page one on this question warns that §121(b)(5) splits the gain between qualified and nonqualified use, so every month of rent eats a slice of the exclusion. The rule is real, and it bites hard in the other direction, where a landlord moves into a former rental and finds most of the gain taxable anyway. It does not reach your situation.

Section 121(b)(5)(C)(ii)(I) says a period of nonqualified use does not include any part of the five-year period falling after the last date you used the property as your principal residence. Rent that starts the month after you move out sits inside that exception. The allocation rule exists to stop people from buying rentals, moving in for the last two years, and excluding gain that piled up while tenants covered the mortgage. Renting on your way out the door is the fact pattern Congress left alone.

Real numbers

What three years of renting actually costs.

A couple bought in 2018 for $390,000, put $25,000 into a roof and a kitchen, and moved out June 30, 2026 with the house worth $720,000. Sell that day at $720,000 with 6% in selling costs and the gain is $261,800, every dollar of it excluded, federal tax of zero. Here is the same house rented for three years first and sold June 30, 2029, the last day that works.

Rented three years, sold inside the window
Purchase price, 2018
$390,000
Improvements before the move-out
$25,000
Adjusted basis at conversion, June 30, 2026
$415,000
Fair market value at conversion
$720,000
Depreciable basis (lesser of the two, less 20% land)
$332,000
Depreciation claimed over 35 months
$35,212
Sale price, June 30, 2029
$790,000
Selling costs at 6%
($47,400)
Adjusted basis at sale
$379,788
Total gain
$362,812
Gain excluded under §121
$327,600
Unrecaptured §1250 gain, not excludable under §121(d)(6)
$35,212
Federal tax on it at their 24% ordinary rate
$8,451
Net investment income tax at 3.8%
$1,338
Total federal tax on a $362,812 gain
$9,789

2026 through 2029 rates, joint return, $240,000 of other taxable income, 27.5-year straight line with the mid-month convention from a July 2026 placed-in-service date. Unrecaptured §1250 gain is taxed at the lesser of the ordinary rate or 25% under §1(h)(1)(E), which is 24% at this income. Federal only, no state tax.

The whole bill is $9,789, and every dollar traces back to depreciation they deducted along the way. Section 121 covered $327,600 of the gain, the tenants covered three years of carrying costs, and the house picked up $70,000. That is a rounding error, which is why I rarely talk anyone out of renting for a stretch.

Close the same sale on July 1, 2029 instead and the $327,600 stops being excluded. It becomes long-term capital gain at 15%, and the full $362,812 becomes net investment income subject to the 3.8% tax under §1411. The bill goes from $9,789 to $71,378. That is $61,589 for one day of calendar, and nothing about the house changed.

The mistake

Depreciating the wrong number.

The error I fix most often on a converted home is the depreciable basis. People hand over the Zillow estimate or the appraisal from last year's refinance, and the software depreciates it without complaint. Treas. Reg. §1.168(i)-4(b) sets the depreciable basis on a conversion from personal use at the lesser of fair market value or adjusted basis at the conversion date. In a market that has gone up, which is the only reason you are reading this, adjusted basis is the lower number and it controls. In the table above that is $415,000, not $720,000.

Depreciating $720,000 would have thrown off roughly $21,000 a year instead of $12,073, and the overstatement does not stay buried. Section 1016(a)(2) reduces basis by depreciation allowed or allowable, so the excess comes back as gain at sale whether the deduction ever did you any good or not. Cheap to fix before the first rental return goes out, annoying after, and if a year of it goes missing entirely, Form 3115 catches it up on the current return. Two more items at conversion: pull the land out using the county assessor's land-to-improvement ratio, and start the clock when the house is ready and available to rent rather than when a tenant signs, on 27.5-year straight line under §168(c) with the mid-month convention of §168(d)(2).

The checklist

Four things to settle before the first tenant moves in.

  1. 01Put the sale deadline on the calendar. Three years from the day you stopped living there, and it is the closing date that counts, not the listing date.
  2. 02Fix the depreciable basis in writing now: original cost plus improvements, less the assessor's land share, compared against an appraisal or a broker price opinion from the conversion month. Keep both numbers in the file.
  3. 03Check whether the rental loss is even deductible. Rental real estate is passive under §469, and the $25,000 active participation allowance phases out between $100,000 and $150,000 of modified AGI, so a two-earner household usually parks the loss on Form 8582 instead of using it.
  4. 04Decide what the delay is buying. Selling inside three years makes this a cash flow decision and the tax is small. Keeping it past the deadline makes it a rental business, where the exclusion is gone and the 25% depreciation slice and a possible 1031 exchange are what you price instead.

What I would do: if you have two years of living in the house behind you and any real chance of selling inside three, rent it out. The detour costs single-digit thousands, all of it depreciation you deducted along the way. If the house is a keeper, decide that on purpose. The worst version of this is drifting past month 36 without noticing and handing back a $500,000 exclusion to save a few months of market timing.

Frequently asked

Quick answers on this topic.

Does the three-year clock start when I move out or when the tenant moves in?

When you move out. Section 121(a) measures the five years ending on the sale date and asks whether 24 months of principal residence use fall inside it, so the date that matters is the last day you lived there. A gap between moving out and the first lease does not buy you extra time, and it does not cost you any either.

Do I owe tax on depreciation I never claimed on the rental?

Yes. Section 1016(a)(2) reduces basis by depreciation "allowed or allowable," so skipping the deduction produces the same gain at sale as taking it, with none of the benefit in between. If you already have a year or two of missed depreciation, Form 3115 catches it up in one shot on the current return rather than through amended returns.

Can I do a 1031 exchange instead of selling before the three years run out?

Once the house is a rental it can be relinquished property in a §1031 exchange, and Rev. Proc. 2008-16 gives a safe harbor for a dwelling unit: own it for 24 months before the exchange and, in each of those two 12-month periods, rent it at a fair rental for at least 14 days while keeping personal use to the greater of 14 days or 10% of the days rented. It defers the gain rather than excluding it, and it commits you to replacement investment property on the 45-day and 180-day timetable.

Will renting out my old house for a couple of years trigger an audit?

No. A Schedule E showing up on a return after a move is ordinary, and it matches what the mortgage interest on Form 1098 and any property manager's Form 1099-MISC already report. The real exposure is arithmetic rather than scrutiny: a wrong depreciable basis, skipped depreciation, or a sale year reported without the §121 exclusion attached. Those get fixed on the return, not in an exam.

I moved out for a job. Does that help if I sell after the three years are up?

It can. Section 121(c) allows a prorated exclusion when the primary reason for the sale is a change in place of employment, health, or an unforeseen circumstance, and Treas. Reg. §1.121-3(c)(2) provides a safe harbor when the new workplace is at least 50 miles farther from the home than the old one. The catch is that the job change has to be the reason you are selling, which is a hard argument to make three years after the move.

Real estate tax planning

Modeling the after-tax outcome before you buy.

If a cost segregation study or a 1031 exchange is on your radar, the most valuable conversation is the one before the closing. We model the numbers, coordinate the cost seg, and file the elections, so the strategy survives the IRS, not just the spreadsheet.

More from the journal