You have been running the STR loophole for a couple of years. The losses have been offsetting your W-2 income, the cost segregation study front-loaded a mountain of depreciation, and life is good. Then you decide to sell.
Here is the question that keeps coming up: does all that tax savings from the loophole come back to bite you at closing?
The honest answer is: some of it does, and some of it does not. Knowing the difference is worth real money.
TL;DR: When you sell an STR you used the loophole on, the IRS recaptures the depreciation you claimed, taxed at ordinary income rates (up to 25% for §1250 property and up to your marginal rate for §1245 property). The remaining gain above your original cost basis is taxed at long-term capital gains rates if you held the property more than one year. The loophole's non-passive losses already reduced your taxable income in prior years, and those deductions are not reversed at sale. Planning ahead with your CPA can substantially reduce the total tax hit.
Jennifer Beadles is a real estate investor and short-term rental owner who uses the STR loophole on her own properties. She writes from hands-on operating experience plus current IRS guidance (IRC §469 and Treas. Reg. §1.469-1T(e)(3)(ii)(A)).
What Actually Happens to Your STR Loophole Deductions When You Sell?
The short answer: they stay. The non-passive losses you claimed against your W-2 income in prior years do not get clawed back at sale. The IRS does not reach into the past and reverse them.
What does happen is depreciation recapture. When you sell a depreciated property, the IRS taxes back the deductions you took through depreciation, because they reduced your ordinary income when you claimed them. The recapture rules live in IRC §1245 and IRC §1250, and they apply regardless of whether you used the STR loophole or not.
Think of it this way: the loophole let you use those losses NOW, against high-earning W-2 years, instead of letting them sit trapped as passive losses. That timing benefit is real and permanent. The recapture at sale is the same tax you would have faced with any rental property. The loophole does not make it worse. It just moved value to earlier years, which is almost always better.
Understanding Depreciation Recapture: §1245 vs. §1250
This is the part most sellers do not fully understand until they are sitting across from their CPA after closing.
§1250 recapture applies to the building's structural components, which depreciate over 27.5 years (residential) or 39 years (commercial). The IRS taxes the "unrecaptured §1250 gain" at a maximum federal rate of 25%.
§1245 recapture applies to personal property components, like the 5-year and 7-year assets a cost segregation study identifies: appliances, furniture, flooring, and similar items. These were the assets that absorbed your bonus depreciation in year one. When you sell, the full amount of depreciation taken on those assets is recaptured as ordinary income, taxed at your marginal rate.
If you did a cost segregation study and claimed 100% bonus depreciation on, say, $80,000 in personal property components, that $80,000 comes back as ordinary income at sale. Not capital gain. Not at 25%. At whatever your top marginal bracket is.
That sounds alarming, but run the math and it is still usually a win. More on that below.
For a deeper look at how cost segregation sets up this math, see the cost segregation and STR loophole guide on this site.
A Fully Worked Example: The Real Numbers at Sale
Let's make this concrete.
Assumptions:
- Purchase price: $500,000
- Land value: $75,000 (not depreciable)
- Depreciable basis: $425,000
- Cost segregation reclassified $100,000 into 5/7-year personal property, $50,000 into 15-year land improvements, and $275,000 stays as 27.5-year residential structure.
- You claimed 100% bonus depreciation on the $100,000 and $50,000 components in year one = $150,000 bonus depreciation.
- Over 3 years of ownership, you also claimed roughly $30,000 in regular straight-line depreciation on the $275,000 structural portion ($275,000 ÷ 27.5 × 3 years = $30,000).
- Total depreciation claimed: $180,000.
- You sell for $620,000 after 3 years.
- Your marginal ordinary income tax rate: 37%. Long-term capital gains rate: 20%.
Step 1: Calculate your adjusted basis. Original cost basis: $500,000 Minus total depreciation claimed: $180,000 Adjusted basis at sale: $320,000
Step 2: Calculate total gain. Sale price: $620,000 Minus adjusted basis: $320,000 Total gain: $300,000
Step 3: Allocate the gain.
- §1245 recapture (bonus depreciation on 5/7/15-year components): $150,000, taxed as ordinary income at 37% = $55,500 in federal tax.
- Unrecaptured §1250 gain (straight-line depreciation on structural portion): $30,000, taxed at 25% = $7,500 in federal tax.
- Remaining gain above original basis ($300,000 - $180,000 = $120,000): long-term capital gain taxed at 20% = $24,000 in federal tax.
Total federal tax at sale: $87,000.
Now look at what you got in the earlier years. The $150,000 bonus depreciation deduction in year one, at a 37% marginal rate, saved you $55,500 in taxes when you claimed it. Three years of the loophole's non-passive losses (say, $30,000 per year against W-2 income at 37%) saved another $33,300.
The deferred tax from the recapture is roughly the same dollar amount you already saved, but you earned the time value of money on it. That is real. And if your income is lower in the year you sell, or you have other losses to offset, the recapture bill shrinks.
Is it always a slam-dunk? No. If your income spikes in the year of sale and you have no offsetting losses, the §1245 recapture hits hard. Your CPA should model this well before you list.
Does the STR Loophole Change the Sale Tax Differently Than a Regular Rental?
Not at sale. The recapture math is the same for any rental property.
What the STR loophole changed was what happened BEFORE the sale. A regular long-term rental (passive activity) would have trapped those paper losses unless you had passive income to absorb them. At sale, suspended passive losses are finally released and can offset the gain or other income. That is actually a silver lining for passive landlords who had piled-up losses.
With the STR loophole, there are no suspended losses. You used them in real time against W-2 income. So at sale, you do not get that same release. But you already got something better: years of real tax savings, not deferred ones.
If you are new to how the loophole creates non-passive losses in the first place, the complete guide to the STR loophole covers the mechanics from the ground up.
Key Strategies to Reduce the Tax Hit at Sale
Here are the moves worth discussing with your CPA before you close.
1. Time the sale to a lower-income year. §1245 recapture is taxed at ordinary rates. If you sell in a year when your W-2 income is lower (career transition, sabbatical, retirement), the recapture rate drops with it.
2. 1031 exchange into another STR. Under IRC §1031, you can defer ALL the gain, including recapture, by rolling the proceeds into a like-kind replacement property. The replacement property must be identified within 45 days and closed within 180 days. Note: a 1031 exchange just defers the tax; it does not eliminate it. But deferral has value.
3. Offset §1245 recapture with current-year losses. If you have other losses in the year of sale, whether from another STR or legitimate business losses, they can reduce the ordinary income created by the recapture.
4. Installment sale. Under IRC §453, spreading the gain over multiple years can keep you in lower brackets each year. However, §1245 recapture is generally recognized in full in year one of an installment sale, so the benefits are primarily on the capital gain portion.
5. Model it early. Honestly, the biggest mistake sellers make is not running the numbers until they are already under contract. Run them at least a year ahead of a planned sale.
For the broader picture of how bonus depreciation interacts with long-term planning, the bonus depreciation strategy guide on this site is worth a read.
What About Material Participation? Does That Matter at Sale?
In the year of sale, you do not need to re-qualify for material participation to have the gain treated a certain way. The sale gain is capital gain (or ordinary income through recapture) regardless.
What does matter: if you have any SUSPENDED passive losses from prior years when you did NOT qualify as an STR loophole participant, those suspended losses are released at sale and can offset the gain. That is a one-time event under IRC §469(g).
If you used the loophole properly every year, you have no suspended losses. Everything was already used. The sale triggers recapture, not a release of prior deductions.
One more thing worth saying plainly: you should be logging your hours every year you own the property, not just the years you plan to claim big losses. The STR Loophole app at strhours.com is built specifically for that, tracking your participation hours alongside cleaner and co-host time so you can demonstrate the 100-hour test clearly if the IRS ever questions a prior year.
Comparison: STR Loophole vs. Passive Rental at Sale
| Situation | Prior-Year Loss Treatment | At Sale |
|---|---|---|
| STR Loophole (active) | Losses offset W-2 each year | No suspended losses released; recapture applies |
| Passive long-term rental | Losses suspended | Suspended losses released at sale to offset gain |
| REPS (750 hours) | Losses offset ordinary income | No suspended losses; recapture applies |
The STR loophole and REPS behave the same way at sale. The loophole just gets you there without the 750-hour requirement or needing to make real estate your primary profession.
FAQ
Does the STR loophole get "reversed" when I sell the property? No. The non-passive losses you claimed in prior years are not reversed at sale. The IRS does not recapture ordinary deductions retroactively. What you do face is depreciation recapture under IRC §1245 and §1250, which is the same tax any rental property owner faces regardless of whether they used the loophole.
What is the tax rate on depreciation recapture when I sell my STR? §1245 recapture (personal property like appliances and furniture, including assets you took bonus depreciation on) is taxed at your ordinary income marginal rate, which can be as high as 37% federally. §1250 recapture on the structural building portion is capped at 25% under current law. The remaining gain above your original cost basis is taxed at long-term capital gains rates (0%, 15%, or 20%) if you held the property more than one year.
Can a 1031 exchange defer the recapture tax when I sell my STR? Yes. A properly executed 1031 exchange under IRC §1031 defers ALL gain at sale, including §1245 and §1250 recapture, as long as the proceeds roll into a qualifying like-kind replacement property. You must identify the replacement within 45 days and close within 180 days. Recapture is deferred, not eliminated, and carries forward into the replacement property's basis.
If I did a cost segregation study and claimed 100% bonus depreciation, how does that affect my sale? The full amount of bonus depreciation claimed on 5-, 7-, and 15-year components is recaptured as ordinary income under §1245 in the year of sale. However, you already captured the time value of those deductions in prior years at your marginal rate. The net math is typically still favorable, especially for high-W-2 earners who used those losses to offset income at 32-37% and may sell in a lower-income year.
Do suspended passive losses get released at sale even if I used the STR loophole? If you qualified for and used the STR loophole every year, you should have no suspended passive losses, because all losses were used in real time. However, if there were years where you did not materially participate or the property did not meet the 7-day average stay test, losses from those years may have been suspended. Those suspended losses are released in full in the year of sale under IRC §469(g) and can offset the gain or other income.
Key Takeaways
- The non-passive losses you claimed through the STR loophole are NOT reversed at sale.
- Depreciation recapture applies to all rental property at sale, whether you used the loophole or not.
- §1245 recapture on personal property (including bonus depreciation) is taxed at ordinary income rates.
- §1250 recapture on the building structure is capped at 25%.
- Gain above your original cost basis is taxed at long-term capital gains rates after more than one year of ownership.
- A 1031 exchange defers all of it. Timing the sale to a low-income year reduces the ordinary income tax on recapture.
- The STR loophole's real advantage is the time value of money: using losses now, at high-W-2 income years, rather than deferring them.
Bottom Line
The STR loophole does not create a tax-free property. But it does do something powerful: it lets you use big paper losses in high-earning years, years when deductions are worth the most. At sale, you face the same recapture rules every rental owner faces. Plan the timing, explore a 1031 exchange, and run the actual numbers with your CPA before you list. The math almost always still favors the investor who used the loophole, especially when you account for the years of tax savings already in the bank.
Sources
- IRC §469, Passive Activity Loss Rules
- Treas. Reg. §1.469-1T(e)(3)(ii)(A), Short-Term Rental Exception
- IRC §1245, Gain from Dispositions of Certain Depreciable Property
- IRC §1250, Gain from Dispositions of Certain Depreciable Real Property
- IRC §1031, Like-Kind Exchanges
- IRC §453, Installment Method
- IRC §168(k), Bonus Depreciation
- IRS Publication 527, Residential Rental Property
- IRC §469(g), Dispositions of Entire Interest in Passive Activity
This article is for educational purposes only and is not tax or legal advice. Talk to a CPA who knows short-term rentals before you act on it.
The Bottom Line: The STR loophole does not create a tax problem at sale that would not exist for any other rental property. The recapture rules apply equally to all depreciated real estate. What the loophole gave you was the time value of those deductions, used in high-W-2 years instead of sitting trapped. Plan the sale timing, model a 1031 exchange, and run the numbers with your CPA at least a year before you list.
Ready to see if you qualify? Try the free STR loophole calculator →

