What the Tax Bill Actually Looks Like When You Sell an STR
"How much tax will I owe if I sell?" doesn't have a single-rate answer — because the tax on a short-term-rental sale isn't one number. It's built up in steps, like an assembly line. You start from the amount realized: the full price you sell for, less selling costs. Paying off your mortgage from the proceeds does not reduce it. Then you subtract your basis — broadly, what you paid for the property, adjusted over the years you owned it — and the gain can be split into several pieces that are taxed in different ways, depending on the property and your facts: ordinary-income pieces, a special capital-gain category with a capped rate, long-term capital gain, and sometimes an extra 3.8% on top. This page walks those steps from top to bottom, so the number stops being a mystery. It covers what the bill is made of; whether selling is even the right move is a separate decision.
On this page11 sections
- The exit tax isn't one number — it's an assembly line
- Step 1 — Amount realized
- Step 2 — Adjusted basis, brought in from your basis ledger
- Step 3 — Realized gain, and a note on timing
- Step 4 — Characterize the gain: possible layers, applied as relevant
- Step 5 — Apply the tax layers
- Step 6 — After-tax proceeds
- The rates for each layer — tax year 2026
- A worked example — illustrative, every figure traceable
- Reducing or deferring it
- The assembly, in one line
- The bottom line
Key takeaways
- The exit tax is assembled, not quoted. It runs in order: amount realized → minus adjusted basis → equals realized gain → the gain is split into pieces by character, meaning whether the tax law treats each piece as ordinary income or capital gain → each piece is taxed under its own layer of rates → what's left is your after-tax proceeds. Skip a step and the number is wrong.
- Your gain gets split into pieces, and they're taxed differently. Some of the pieces that come from depreciation can be ordinary income (§1245). That is depreciation "recapture": gain treated as ordinary income to the extent of the depreciation taken earlier. Others can fall in a special capital-gain category capped at a maximum rate: unrecaptured §1250 gain, which is not "recapture" despite its name. The rest is generally long-term capital gain. Not every sale has every piece.
- §1231 is how the business-property gain earns capital treatment — it is the rule that combines your gains and losses for the year on business property held more than a year, and a net gain can be taxed as long-term capital gain. But a net §1231 gain can be pulled back to ordinary income to the extent you deducted §1231 losses in the prior five years.
- The net investment income tax (NIIT) is a separate 3.8% layer, not automatic. Whether your sale gain is subject to it depends partly on how the activity is classified for tax and whether the business is passive to you — a tax classification that turns largely on how involved you are in running it. The Tax Strategy guides work out those facts. This page applies the layer once those facts are known.
- The rates here are current law and dated; the order of the steps is not. The order never changes, but the percentages do, so the numbers sit in one dated panel and one worked example you can re-check. Everything else on the page holds regardless of the year.
The exit tax isn't one number — it's an assembly line
Ask what the tax will be on a sale and you will usually get a single percentage back. That answer is wrong before it starts, because the tax on disposing of a short-term rental is not a rate applied to a number. It is a sequence: start with the amount realized, subtract your basis, split the gain into pieces, and tax each piece under its own rules. The steps below are that sequence, in order, and the order is the part that does not change.
This is educational information about how a disposition is computed, not individualized tax advice. Your actual result depends on your facts, your records and your allocation, and should be confirmed with your own qualified tax professional. The worked example below is an illustrative model, not a projection or a recommendation.
Step 1 — Amount realized
Start with what the sale actually brings in. That is the amount realized. It starts with everything you receive for the property — money plus the fair market value of any property — and it can include liabilities the buyer assumes or takes the property subject to (§1001(b)). Taking property "subject to" a loan means the loan stays on the property, but the buyer doesn't become personally liable for it. Selling expenses such as commissions and closing costs reduce the amount used to measure gain.
One trap to avoid: do not count your own loan payoff twice. When the buyer pays the price and escrow uses part of it to pay off your mortgage, that payoff reduces the cash you walk away with. It is not added to the amount realized a second time, and it does not reduce your taxable gain. Debt the buyer assumes is different: that counts as part of what you receive for the property.
The result is the top of the assembly line — not your profit yet.
Step 2 — Adjusted basis, brought in from your basis ledger
Subtract your adjusted basis. That is your cost, raised by capital improvements and lowered by the depreciation allowed or allowable while you owned the property — meaning the depreciation you took, or could have taken even if you didn't. Adjusted Basis: The Number That Determines Your Exit Tax builds that running record. Bring that number here; this page does not rebuild it.
The one thing to keep in mind: because depreciation lowered your basis year after year, your basis at sale is usually well below what you paid — which is exactly why the gain is larger than "what it went up in value."
Step 3 — Realized gain, and a note on timing
Realized gain is amount realized minus adjusted basis (§1001(a)). On a conventional sale, that gain is generally recognized — taxed — in the year of sale (§1001(c)).
One caveat, named here but taught elsewhere: when the gain is taxed can depend on how the transaction is structured. A qualifying 1031 exchange, where you trade into a replacement property instead of cashing out (The 1031 Exchange for Short-Term Rentals), defers recognition. A qualifying installment sale, where at least one payment comes after the year of the sale, can spread some gain over the years as payments are received. But depreciation-recapture ordinary income generally has separate rules: it is recognized in the year of sale even on an installment sale.
This page models a conventional, fully taxable sale. Those alternatives are separate planning questions, and installment mechanics are covered in Selling Your STR on Installments: What Gets Deferred, and What Doesn't.
Step 4 — Characterize the gain: possible layers, applied as relevant
This is the step everyone skips, and it is where the money is. Your realized gain is not taxed as one thing. It can be sorted into several pieces by character, and only the pieces that apply to your sale show up — not every sale has every piece. The character rules themselves are taught in Depreciation Recapture: Why Your Gain at Sale Isn't All Capital Gain. Here we put them in the correct order, and the order matters, because recapture comes out first and only what is left enters §1231.
- Identify any ordinary-income depreciation recapture first. §1245 depreciation — the depreciation on shorter-life components that a cost-segregation study may have separated out from the building — comes back as ordinary income to the extent of that depreciation, capped at the gain. §1250 ordinary recapture applies only to depreciation taken above straight-line (the method that deducts the same amount each year), so for modern straight-line real property it is usually zero. Land improvements are the exception worth naming. They are §1250 property, but they are depreciated on an accelerated method and are often eligible for bonus depreciation (an extra first-year deduction), so unlike the building they can carry additional depreciation, meaning depreciation above straight-line. Depreciation Recapture covers why. These ordinary pieces are pulled out before anything else.
- Put the remaining eligible business-property gain into the §1231 netting process. Only the gain in excess of that recapture enters §1231. There, all your gains and losses of this kind for the year are added together to find your net §1231 position: a net §1231 gain can receive long-term capital-gain treatment, while a net §1231 loss is ordinary.
- Apply the five-year lookback where relevant. §1231(c) can pull some of a current net §1231 gain back to ordinary income, to the extent you deducted nonrecaptured §1231 losses in the preceding five years. Those are net losses of this kind from earlier years that haven't already been matched against a later gain this way. So "§1231 gain = capital gain" holds only after that lookback is cleared.
- Determine the resulting long-term capital-gain components, including any unrecaptured §1250 gain. Within the capital gain that results, the part that comes from straight-line depreciation on the building is unrecaptured §1250 gain. Read the label carefully. Despite the "§1250," it is not another recapture bucket: it is a special category within the long-term capital gain, with its own maximum rate instead of the general long-term rate.
The arithmetic check that keeps this accurate: the pieces have to sum back to the realized gain from Step 3. If your ordinary recapture, unrecaptured §1250 gain and remaining long-term capital gain do not add up to the gain, a piece is mislabeled. The worked example below reconciles exactly, on purpose.
Step 5 — Apply the tax layers
Each piece is taxed at its own rate, and up to two more layers can apply on top: NIIT and state income tax.
- Ordinary rates on the §1245 — and any §1250 — ordinary-income pieces.
- The unrecaptured-§1250 maximum rate on that capital-gain category. It is a ceiling applied to that slice, not a flat charge on it.
- Long-term capital-gain rates on the remaining §1231 / long-term capital-gain piece.
- Net Investment Income Tax, a separate 3.8% layer with its own analysis. Gain from a disposition can be included in net investment income. Whether it is excluded can depend on two things: whether the property was held in a qualifying §162 trade or business — broadly, an activity carried on regularly and continuously to make a profit — and whether that business was non-passive to you. So non-passive status by itself does not necessarily remove the gain from NIIT. Material participation, meaning being involved in running the business on a regular, continuous and substantial basis, is an important input, not a universal "no-NIIT" switch. Use How an STR Is Classified for Tax (and Why It Decides Everything) and Material Participation & the Passive-Activity Rules for an STR (§469) to work out how the property is classified and whether you materially participate; then apply the §1411 rules separately here, once those facts are known.
- State income tax, a separate and potentially material layer that varies by jurisdiction. It can meaningfully change your after-tax proceeds; model it separately with your advisor. This page does not estimate a state rate.
The actual percentages and thresholds for these layers are current law. They sit in the dated panel below, not in the description above, which doesn't change from year to year.
Step 6 — After-tax proceeds
What is actually left is your cash from the sale: net sale proceeds after selling costs, minus the debt you pay off, reduced by the total tax across the layers above. Selling expenses have already come out at Step 1 — they reduce the amount used to measure gain — so they are not subtracted a second time here.
That last number is the one that should drive any comparison against keeping or exchanging the property; Should I Sell, 1031, or Refinance My STR? walks through that choice. The whole purpose of these steps is to get you a real after-tax figure instead of a single-rate guess.
The rates for each layer — tax year 2026
This is the dated part of the page. The assembly order above is evergreen; the percentages below are U.S. federal law for tax year 2026 and can change. Confirm them before relying on them.
- §1245 / §1250 ordinary-income pieces: taxed at your ordinary income tax rates — your marginal bracket.
- Unrecaptured §1250 gain: long-term capital gain at a maximum rate of 25%.
- Remaining long-term capital gain (§1231): the long-term capital-gain rates — 0%, 15% or 20% depending on taxable income.
- NIIT: 3.8% on the lesser of net investment income or the amount by which modified adjusted gross income (MAGI) exceeds the applicable threshold — $200,000 single or head of household, $250,000 married filing jointly (or qualifying surviving spouse), $125,000 married filing separately. These thresholds are set by statute and are not inflation-indexed.
- State income tax: varies by state, and is not included here.
Tax year 2026 · Source: IRC §1(h) and §1411; Rev. Proc. 2025-32 · Reviewed October 2026. The assembly order in the body does not change; only these numbers do. Confirm the current rates and thresholds with your tax professional.
A worked example — illustrative, every figure traceable
An illustrative sale, in round numbers, on one simplified fact pattern. This is a different property from the one bought for $650,000 in the Deal Analysis and Financing guides: here $650,000 is what this property nets when it sells, so the numbers don't carry over between them. This is not your result.
You bought an STR for $500,000, with $100,000 allocated to non-depreciable land. You made no capital improvements, and over the hold you took $110,000 of depreciation — $80,000 straight-line on the building (§1250) and $30,000 on cost-segregated §1245 components. You sell for a price that nets $650,000 after selling expenses, and you have a $250,000 mortgage that escrow pays off at closing.
Reconciliation A — the tax: character buckets must sum to the realized gain
- Net amount realized, after selling expenses: $650,000
- Adjusted basis = $500,000 cost − $110,000 depreciation = $390,000
- Realized gain = $650,000 − $390,000 = $260,000
The pieces come from allocating the sale price, asset by asset, not from the depreciation history alone. A sale of land plus a §1250 building plus §1245 components requires the sale price to be allocated among the assets, the gain determined for each, and the character rules applied to each. §1245 recapture is limited to the gain on those specific assets. Under the allocation assumed below, the $260,000 gain splits into four pieces by character.
- §1245 ordinary-income recapture: $30,000
- §1250 ordinary recapture: $0 (straight-line building)
- Unrecaptured §1250 gain: $80,000
- Remaining §1231 / long-term capital gain: $150,000
Check: $30,000 + $0 + $80,000 + $150,000 = $260,000 ✓ — it reconciles to the realized gain.
Illustrative assumptions for the tax layer
Chosen to make the arithmetic auditable, not to hit a target total.
- The sale-price allocation among the land, §1250 building and §1245 components produces sufficient gain on the §1245 assets for the full $30,000 of prior §1245 depreciation to be ordinary-income recapture, and sufficient qualifying gain on the §1250 property for the $80,000 of unrecaptured §1250 gain shown. Actual sales require asset-level allocation and characterization — these buckets are assumed outputs of that allocation, not mechanically inferred from the depreciation history.
- Held long-term, with no prior nonrecaptured §1231 losses affecting the $150,000.
- The property was held as a passive investment, so the entire recognized gain is included in net investment income, and MAGI exceeds the NIIT threshold by at least the gain.
- Assumed ordinary marginal rate 32%; assumed long-term capital-gain rate 15%.
- Unrecaptured §1250 gain at the 25% maximum, per the dated rates above.
- State tax omitted, and named separately below.
Apply the layers — each line independent
- §1245 ordinary: $30,000 × 32% = $9,600
- Unrecaptured §1250: $80,000 × 25% = $20,000
- Long-term capital gain: $150,000 × 15% = $22,500
- NIIT: $260,000 × 3.8% = $9,880
Illustrative federal tax estimate under the stated assumptions = $9,600 + $20,000 + $22,500 + $9,880 = $61,980, plus any state tax.
Reconciliation B — the cash: what you actually walk away with
This is a different calculation from the gain. The mortgage payoff reduces your cash but not your taxable gain.
- Net sale proceeds, equal to net amount realized after selling expenses: $650,000
- Less seller mortgage payoff: $250,000 → $400,000 cash at closing
- Less illustrative federal tax estimate: $61,980
- ≈ $338,020 approximate cash retained, before state tax and other closing adjustments
Every number is illustrative and rounded to show the assembly. Change any assumption and the totals change. The point is the two reconciliations — the buckets sum to the gain, and cash equals sale minus debt minus tax — not this specific dollar figure.
Reducing or deferring it
Because the tax is real, "how do I avoid it?" is the natural next question — and the accurate answer is usually defer, not avoid. The legitimate options, each covered in its own guide:
- Exchange instead of sell. A qualifying 1031 exchange defers the gain by carrying your basis into the replacement property. The gain is deferred, not forgiven.
- Spread the recognition. A qualifying installment sale can recognize some eligible gain as payments arrive, though depreciation-recapture ordinary income generally must still be recognized in the year of sale. The mechanics — gross-profit ratio, the recapture rule, seller-financing interest — are outside this page and covered in Selling Your STR on Installments.
- Hold to a step-up. Basis is generally stepped up at death (§1014), meaning it is generally reset to the property's fair market value at the date of death. That is the one point the deferred gain can actually be wiped out. What Happens to an STR's Tax Basis When You Die? covers the limits of that rule, which is not a "1031 until you die and taxes vanish" guarantee.
Which of these makes sense — or whether to just sell and pay — is worked through in Should I Sell, 1031, or Refinance My STR? This page only tells you what the bill is, so that decision has a real number to work with.
The assembly, in one line
The exit tax is several taxes stacked in order, not one rate. Amount realized minus basis is the gain. The gain is split into ordinary-income pieces, a capital-gain category with a capped rate (unrecaptured §1250 gain, not "recapture") and long-term capital gain; then NIIT and state tax can add layers. Follow these steps in order and the pieces add back up to the gain. That is how you get a real after-tax number instead of a single-rate guess. This page puts together what Adjusted Basis and Depreciation Recapture teach.
Pricing the whole gain at one "capital gains rate," and treating recapture as a separate surcharge bolted on top. Both distort the bill. Your gain is split, and the depreciation-related pieces are taxed first. Some are taxed at ordinary rates (§1245), and the building's straight-line depreciation becomes unrecaptured §1250 gain: a capital-gain category with its own maximum rate, which is neither ordinary income nor "recapture." Only the remainder gets the general long-term rates, after the §1231 five-year lookback is cleared. On top of that, a 3.8% NIIT layer and state tax may apply. Add it up as one rate and you will under-estimate; call the §1250 piece "recapture" and you will mischaracterize it. The fix is the assembly line: start from the amount realized → subtract basis → split the gain into its actual pieces, which must sum back to the gain → apply each layer.
The bottom line
The tax on selling a short-term rental isn't a number you look up — it's a number you assemble. Start from what you realize, subtract the basis you built up while you owned the property, and split the gain into its pieces. Those are ordinary-income recapture on the short-life components, the building's depreciation as a capital-gain category with a capped rate, and the rest as long-term capital gain once the §1231 steps are cleared. Then add NIIT and state tax where they apply. Do it in that order and the pieces add back up to the gain, and you get a real after-tax figure. That figure is what the sell-or-exchange-or-hold decision actually needs. Know what the bill consists of before you decide whether to trigger it.
Educational information only — not individualized tax, legal, or investment advice. The worked example is an illustrative model, not a projection or a recommendation.