Depreciation Recapture on Rental Property: Tax Planning for Physicians
Updated: Sep 25
The cost segregation study did what it promised. You took a large deduction in year one and the return looked great. What went unsaid is that part of that deduction was borrowed against a future year.
Depreciation recapture is the repayment. It arrives the year you sell, and for physicians it usually arrives in a high income year. That's the worst possible timing.
It's the item we get asked about least before a purchase and most after a closing. It's also the part of the short term rental tax loophole that decides whether the planning was worth doing.
In This Blog
What is depreciation recapture?
Start with basis, because everything here runs through it. Your basis is what the property is treated as costing you for tax purposes. It starts at your purchase price, goes up when you make capital improvements, and goes down by the depreciation allowed or allowable.
That last part is where the trouble starts. Every year you own a rental, depreciation reduces your taxable income. It also reduces your basis by the same amount.
A lower basis means a larger gain when you sell. That holds even if the property never appreciated a dollar.
Recapture is the rule that takes the gain attributable to those deductions and taxes it separately. It sits above the long term capital gain rate you were probably assuming.
The deduction was never free. It was deferred, and the deferral has a price.
What rate applies?
For the building itself, the answer is a specific one. The IRS states that "the portion of any unrecaptured section 1250 gain from selling section 1250 real property is taxed at a maximum 25% rate" (IRS Topic no. 409).
Read maximum literally. It's a ceiling, so anyone whose ordinary rate sits below 25% pays the lower figure.
For a practicing physician, the ceiling is almost always what applies. If you penciled the sale in at the long term capital gain rate, the depreciation slice is taxed higher than that.
Does cost segregation make recapture worse?
It changes its shape, and for a physician it usually makes it sharper.
A cost segregation study splits the purchase into pieces. The building itself stays on a 27.5 year schedule as residential rental property (IRS, Depreciation and Recapture). The shorter lived components come out separately:
Appliances, carpeting, and furniture used in a residential rental activity fall in the 5 year class (Publication 527)
Site improvements generally fall in 15 year class
Those short life components are what bonus depreciation can reach. Qualified property means property with a recovery period of 20 years or less (26 U.S.C. 168(k)(2)(A)(i)(I)). That's the front end of the trade, and it's covered in more detail in our guide to Depreciation Mechanics and Bonus Depreciation.
The back end is different. Those same components are section 1245 property when you sell, and they don't get the treatment the building gets.
Gain up to the depreciation you took "shall be treated as ordinary income" (26 U.S.C. 1245(a)(1)). That means your marginal rate, before any capital gain treatment applies.
So the study did two things at once. It accelerated your deduction, and it moved a slice of your future gain from the 25% bucket into the ordinary income bucket.
Was the trade still worth it?
Sometimes clearly yes. Sometimes not, and the arithmetic isn't hard to sketch. Three questions are worth answering before you order a study.
What is the rate difference between the two years?
Deduct at your top rate while practicing, then recapture at that same rate because you're still practicing. You've moved the tax, not removed it.
What you keep is the use of the money in between. That's worth something. It's worth much less than the year one deduction suggested.
How long will you hold?
The longer the gap between deduction and sale, the more the time value works for you. A three year hold captures little of it.
What does your income look like at exit?
This is the lever you control most directly, and it's the one worth modeling early. Selling in a year you're still at full clinical volume is the expensive version. Selling after you cut back, or in a gap year, changes the answer.
Dr. Patel sells the cabin in her final year before going part time. Same property, same depreciation, same buyer.
Closing in January instead would have dropped the ordinary rate slice into a much lower income year. Nothing about the property changed. The calendar did, and that's the kind of thing we would rather catch a year out.
How do you calculate it?
Work the building and the components separately, because they land in different buckets. This is the run we do before a client lists, not after.
Start with the building. The depreciation you claimed on the 27.5 year schedule, up to your gain, is unrecaptured section 1250 gain. That piece is taxed at the 25% ceiling (IRS Topic no. 409).
Then take the cost segregated pieces. Depreciation claimed on the 5 year and 15 year components, up to your gain, is ordinary income under section 1245.
What's left is appreciation, and it gets long term capital gain treatment.
Here is Dr. Patel's sale, worked through.
Purchase price: $600,000
Land allocation: -$100,000
Depreciation claimed on the building: $80,000
Depreciation claimed on cost segregated components: $70,000
Adjusted basis: $450,000
Sale price: $760,000
Total gain: $310,000
That gain splits three ways.
Bucket | Amount | Treatment |
Section 1245 recapture | $70,000 | Ordinary income at her marginal rate |
Unrecaptured section 1250 gain | $80,000 | 25% ceiling, roughly $20,000 of tax |
Appreciation | $160,000 | Long term capital gain |
Three buckets, three rates, one closing. A blended estimate would have missed badly.
Can you avoid recapture?
Not by skipping the deductions. Recapture is measured against a recomputed basis, which adds back depreciation "allowed or allowable" (26 U.S.C. 1245(a)(2)(A)).
Read that phrase closely. Declining to claim depreciation doesn't protect you. You give up the deduction and pay the recapture anyway.
The realistic levers are timing and structure, not avoidance. When you sell, what your other income looks like that year, whether the disposition is a straight sale: these are planning questions. They need raising before a listing goes up, and a generalist preparer usually gets asked them after the closing, when the answer is already fixed.
Two related pieces affect what lands here. If you also used the property yourself, the Personal Use Trap (14 day rule) rules affect what you were able to deduct along the way. And if losses were suspended while you held it, the Passive Activity Loss Rules for Physicians determine what frees up in the year of sale.
What about the 3.8% surtax?
This one gets missed, and at this income level it's material.
The net investment income tax applies at 3.8% to the lesser of two figures. The first is your net investment income. The second is the amount by which your modified adjusted gross income exceeds the statutory threshold (IRS, Net Investment Income Tax).
The thresholds are $250,000 for a joint return and $200,000 for single or head of household. They aren't indexed for inflation, so they catch more physicians every year.
Net investment income includes net gains from the disposition of real estate. For most physicians that's another 3.8% on top of everything above.
One nuance is worth raising with your tax team rather than assuming. The IRS describes the tax as reaching business income from "a passive activity, as determined under section 469." It also reaches net gains, other than gains from property held in a trade or business the tax doesn't apply to (IRS Topic no. 559).
If your short term rental was non passive because you cleared the 100 Hour Material Participation Path, the analysis isn't the same as it would be for an ordinary passive rental. That's a facts question, and it's worth asking before the sale rather than after.
Does your state tax it the same way?
Often not, and the difference can be large enough to change your answer on timing.
Everything above is federal. States set their own rules, and three variations matter most on a sale like this:
Some states tax capital gain at ordinary income rates, with no preferential rate and no equivalent of the 25% ceiling
Some states never conformed to federal bonus depreciation, which means your state basis and your federal basis are different numbers and your state gain is a different figure
Some states tax nonresidents on gain from real property located there, so selling a cabin in one state while living in another can pull you into two returns
There's no general rule to apply here. It depends on the state where the property sits, the state where you live, and whether those two states conform to the federal depreciation rules. That combination needs checking against your specific facts well before a listing, because it's one of the few places where the state number can exceed the federal one.
Does a 1031 exchange solve it?
It defers it. The IRS puts the distinction plainly: a like kind exchange "is tax-deferred, but it is not tax-free" (IRS Fact Sheet 2008-18).
In a properly structured exchange, your basis carries into the replacement property. That preserves the deferred gain for later.
The depreciation doesn't disappear. It moves.
Three things make this narrower than it sounds for a physician.
The deadlines are unforgiving. You have 45 days from selling to identify replacement property in writing, and 180 days to close. Both run from the same date, and neither flexes for a clinical schedule.
Taking anything out triggers tax. Receive cash, relief from debt, or property that isn't like kind, and you may recognize gain in the year of the exchange. If the point of selling was to free up cash, an exchange works against that.
The cost segregated components need attention of their own. The section 1245 recapture rules still operate inside an exchange. The IRS instructions for Form 8824 work through a case where a taxpayer reports ordinary income under the section 1245(b)(4) rules despite the exchange (Instructions for Form 8824). A property carrying a large short life component balance is exactly where this comes up.
An exchange is a real option. It's also a structural commitment, not a form you file at closing, and it belongs in the conversation months before a listing.
What should you do before you sell?
Three things, and all three work better a year out than a month out.
Pull the depreciation schedule before you list, not after. You want to know the recapture exposure while you still have choices about timing.
Separate the components. The building and the cost segregated pieces are taxed differently on exit, and a blended estimate hides that.
Run the state analysis alongside the federal one. Conformity and nonresident rules can move the number in either direction.
Bring the sale into the planning conversation early. Every meaningful lever here is a calendar lever, and calendars close.
Doc Wealth is physician founded, and our elite team of Tax Attorneys, CPAs, and Enrolled Agents does proactive, year round tax planning. That means a sale like this gets modeled before you list rather than reconstructed after you close.
Contact your tax team today. Prompt, dependable communication.

Contact Doc Wealth Today
Trusted by thousands of physicians nationwide for year round tax planning, entity optimization, and strategies that make sense.
This material is intended for educational and informational purposes only and does not constitute tax, legal, accounting, or financial advice. The content is general in nature and may not apply to your specific circumstances. Tax laws and financial regulations are subject to change and interpretation, and the application of these laws can vary based on individual situations. Before making any decisions, you should consult with a qualified tax advisor, legal counsel, or financial professional.


