Depreciation recapture when selling former primary residence that was rented out

Sold my house last month. Lived there for 6 years, then rented it out for 3 years before selling. I know about the Section 121 exclusion and I think I still qualify for at least a partial one, but what's tripping me up is the depreciation I claimed during the rental period. My tax software is flagging something about "unrecaptured Section 1250 gain" and I don't know if that comes out of my exclusion amount or gets taxed on top of it. I pulled up Schedule D and Form 8949 but I'm not stuck on those — I'm stuck on what to do with the depreciation I actually took. Three years of depreciation adds up. Does it get recaptured regardless of the exclusion, or does the exclusion shield some of it too?

31 comments

The depreciation recapture is not shielded by the Section 121 exclusion. Those two things run on separate tracks. The exclusion can reduce or eliminate the capital gain portion, but the unrecaptured Section 1250 gain — which is basically all the depreciation you took while renting — gets taxed at its own rate regardless. You report the sale on Form 8949, then it flows to Schedule D. The unrecaptured Section 1250 amount shows up in the Schedule D Unrecaptured Section 1250 Gain Worksheet. So yes, three years of depreciation: all of it recaptured, none of it excluded.

Julia A.

Author

Not the answer I wanted, but it's the one I expected. So the exclusion helps on the appreciation portion but the depreciation piece is fully exposed no matter what. Got it.

Worth being precise: you have to recapture depreciation you were "allowed or allowable" — meaning even if you forgot to claim it in a given year, the IRS treats it as if you did. So if you underreported depreciation during the rental years, your recapture amount could actually be higher than what you claimed. Check your prior returns.

Julia A.

Author

I did claim it every year, but that "allowable" rule is good to know. What if someone never claimed any — they'd still owe recapture on all of it?

Yes, exactly. The recapture is based on the full amount allowed or allowable over the rental period, not just what actually appeared on the Schedule E.

Went through this two years ago with a house I rented for four years. The part that surprised me was that the unrecaptured Section 1250 gain flows through Schedule D but doesn't just combine with regular long-term gain — it's calculated in a separate worksheet that feeds into the Qualified Dividends and Capital Gain Tax Worksheet on the 1040 instructions. The rates are different from your ordinary rate and different from the standard long-term rate too.

Had a messy version of this — partial exclusion because I didn't fully meet the two-out-of-five-year use test. I uploaded my closing disclosure, prior Schedule E returns, and depreciation schedules to taxr.ai and it mapped out exactly which portion of my gain was excludable, which was taxable long-term gain, and what the unrecaptured 1250 amount was separately. I still took everything to a CPA to confirm the numbers, but having that breakdown already organized saved a lot of time. The site read the depreciation history across all three years and figured the total allowed or allowable automatically.

Julia A.

Author

That's really useful. Did it also handle the allocation between the land and structure for the depreciation base, or did you have to input that separately?

I gave it the original purchase closing disclosure which showed the county assessed land vs. improvement split, and it used that to figure the depreciable basis. It flagged that I should confirm the split with my actual county assessment records too.

One thing people get confused on: the Section 121 exclusion still does real work here. It eliminates the appreciation gain (the difference between your adjusted basis and the sale price, minus the recapture amount). Without it you'd owe capital gains tax on that piece too. So the exclusion isn't useless, it just doesn't reach the depreciation portion.

Yes, right. The exclusion and the recapture are dealing with different slices of the same sale. Both matter, they just operate independently.

Quick clarification on the actual form mechanics: you report the full sale price on Form 8949, Part II (long-term, since you owned it more than a year). Your adjusted basis is your original cost basis plus improvements minus the depreciation allowed or allowable. That adjusted basis is what goes in column (e). The 121 exclusion gets handled in column (g) with code H and the excluded amount as a negative. The unrecaptured 1250 piece is then calculated in the Schedule D worksheet, not on 8949 itself.

I dealt with this last year — rented my old place for two years before selling. I ran my depreciation schedules and the sale documents through Taxr and it drafted a summary showing the gain broken into three buckets: excluded under 121, taxable long-term capital gain, and unrecaptured 1250. Having that laid out made filling in the Schedule D Unrecaptured Section 1250 Gain Worksheet much more straightforward. It also caught that my depreciable basis was slightly off because I'd included land in the original calculation.

Julia A.

Author

The land piece is easy to mess up — I think I may have done the same thing. Land isn't depreciable so if it's in the basis that throws off every year of depreciation going back to the start.

Exactly, and then your recapture amount is wrong too, either over or under depending on the error. Worth verifying before you file.

Does the partial exclusion situation change the recapture calculation at all? Like if you only qualify for half the exclusion does that affect what gets recaptured?

No. The recapture is still the full depreciation taken, regardless of exclusion size. The partial exclusion only affects how much of the gain beyond recapture is taxed. The 1250 amount doesn't shrink.

Makes sense. So the recapture is essentially a floor that you always owe on, and the exclusion only helps above that floor.

Don't overlook your state return either. Some states don't conform to the federal Section 121 exclusion fully, and the recapture treatment can differ too. The federal answer here is clear but state rules are their own thing.

The Publication 523 on irs.gov covers the home sale exclusion side, and Publication 550 covers the gain calculation and what flows to Schedule D. Between those two and the Form 8949 instructions you can piece together the full picture. The 8949 instructions also walk through the column (g) adjustment for the excluded gain under code H.

Something I didn't understand at first: your adjusted basis when you sell is lower than what you paid because depreciation reduces it. So the total gain on the sale looks bigger than the appreciation alone. The recapture is taxed first, then the remaining gain is what the 121 exclusion can shield. Order matters.

Yes, that order is important. Depreciation recapture sits at the bottom of the gain stack, exclusion works on what's above it.

Julia A.

Author

This is actually the clearest way I've heard it explained. The basis is lower, so the total gain is larger, and recapture comes off the bottom before exclusion touches anything.

To figure your recapture amount: add up the depreciation deducted on Schedule E each year, plus any bonus depreciation or Section 179 if that applied (unusual for residential rental but possible). That total is your unrecaptured Section 1250 gain subject to recapture. If you used MACRS straight-line like most residential rental, there's no additional recapture beyond that 1250 amount — Section 1245 recapture doesn't apply to residential real property.

Worth mentioning: if you have a net capital loss from other sales this year, that loss can offset your regular long-term gain from this sale and it can also reduce the unrecaptured Section 1250 gain once any 28% rate gain is used up. Whatever 1250 piece survives sits separately in the tax calculation at its own rate.

Is that actually right? I thought capital losses could offset any capital gain including the 1250 portion.

The tax rate on unrecaptured 1250 gain is computed through the Qualified Dividends and Capital Gain Tax Worksheet, and capital losses do reduce total net capital gain before the worksheet runs. So I should clarify — losses can reduce the amount that flows into the worksheet, but the 1250 portion still gets taxed at its own rate on whatever survives. The worksheet handles the stacking.

Practically speaking: get your original HUD-1 or closing disclosure from when you bought, every Schedule E you filed during the rental years, and your depreciation schedules from those years. Those three things give you everything you need to reconstruct adjusted basis and total depreciation allowed or allowable. Then the 8949 and Schedule D follow from there.

Julia A.

Author

I have all of those. The Schedule E depreciation is where I'm starting. Good checklist.

For what it's worth, I'd recommend having a CPA or enrolled agent at least review this return if the numbers are significant. The interaction between the 121 exclusion, the 1250 recapture, the adjusted basis calculation, and the Schedule D worksheets has a lot of moving parts. A mistake in the basis or the depreciation total ripples through everything.

Julia A.

Author

Thanks everyone. Sounds like my plan: (1) calculate total depreciation allowed or allowable from all three rental years, (2) figure adjusted basis as purchase price plus improvements minus that total, (3) report full sale on Form 8949 Part II with code H and the excluded gain as a negative in column (g), (4) run the Schedule D Unrecaptured Section 1250 Gain Worksheet for the recapture piece. And yes, getting a CPA to review before I file.