Key Takeaways
- Your gain is measured from basis, not from price. Tax law figures gain as the amount you realize on the sale minus your adjusted basis — so the number that drives your exit tax is basis, and it's usually not what you paid.
- Basis is a running number, not a one-time figure. It starts as your cost (with certain acquisition costs added), rises with capital improvements over the hold, and falls as the building is depreciated. The figure at the exit is the sum of that whole history.
- Basis generally must reflect depreciation "allowed or allowable." By statute, adjusted basis is reduced by the depreciation you were entitled to take — so failing to claim depreciation does not generally preserve a higher basis. (The depreciation side of this rule is P47's; it matters here because it's what drives the basis ledger down.)
- Track it during the hold or reconstruct it under pressure at closing. Improvements and depreciation have to be recorded correctly while you own the property, because the exit calculation inherits that history — good books or a shoebox, the number is only as right as the records behind it.
- Basis is why deferral is deferral. Some transactions carry your basis forward (a 1031 exchange) and some reset it (inheritance); either way, basis is the thread that ties today's decisions to tomorrow's bill.
Why basis is the first number, not a footnote
Ask an owner what their tax will be when they sell, and most start with the sale price. The law starts somewhere else. Gain on a sale is defined as the amount realized minus the adjusted basis (§1001) — and "adjusted basis" is your original cost (§1012) as adjusted over time (§1016). So the number your entire exit is measured from isn't the price you paid or the price you get; it's a running figure that has been changing every year you've owned the property. Get it right, and every exit calculation — gain, recapture, what a 1031 defers — has a solid starting point. Lose track of it, and every one of those calculations is a guess.
That's why this is the first page in the Wealth & Exit domain and the parent of the ones that follow. Recapture is measured against the depreciation that reduced your basis. Capital gain is measured from your basis. A 1031 exchange carries your basis forward. Get basis right and the rest of the domain is arithmetic; get it wrong and everything downstream inherits the error. Think of adjusted basis as a ledger that follows the property from the day you buy it to the day you dispose of it — a starting figure, adjusted up and down along the way, that lands at exactly the number your exit is measured from.
(This is educational information about how basis works, not individualized tax advice. Your actual basis depends on your facts and records and should be confirmed with your own qualified tax professional. We flag where something is the rule versus our read.)
Where the ledger starts: your cost
Basis begins as what the property cost you — and that's usually more than the contract price. Under §1012, basis is your cost, and for real property certain acquisition costs are capitalized into basis along with the purchase price (IRS Pub. 551). Note the word certain: not every line on your closing statement belongs in basis. Costs of acquiring the asset are generally added — title and abstract fees, legal and recording fees, surveys, transfer taxes, owner's title insurance. Costs of getting the loan generally are not — loan origination and points, the lender's appraisal, credit-report fees — and items like casualty insurance or pre-closing occupancy rent are handled under their own rules, not added to basis.
The practical point: your starting basis is usually higher than the number on the purchase contract, because the capitalizable acquisition costs ride along with it — and that's the cheapest basis you'll ever add, and the easiest to lose if you don't capture it at purchase. (Which specific closing items qualify is a facts-and-records question; Pub. 551 has the working list, and your tax professional applies it to your settlement statement.)
How the ledger moves over the hold
Once set, basis doesn't sit still. Two forces move it while you own the property (§1016(a)):
Up, for capital improvements. Money spent on improvements with a useful life beyond a year — a new roof, an addition, a system replacement, a renovation — is "properly chargeable to capital account" and increases basis (§1016(a)(1)). Routine repairs and maintenance do not — those are current deductions, not basis additions. Where that line falls, and keeping the record of it across the years, is a Bookkeeping discipline (more on that below).
Down, for depreciation. Because the building is depreciated over the hold, that depreciation reduces basis (§1016(a)(2)). The rule to carry out of here — because it's what drives the ledger down — is that adjusted basis generally must reflect depreciation allowed or allowable: reduced by the depreciation you were entitled to take, whether or not you actually claimed it. Our read: failing to claim depreciation does not generally preserve a higher basis — the reduction applies either way, so under-depreciating tends to give up the deduction without protecting the eventual gain. The depreciation side of this — what you depreciate, land versus building, the recovery period, and how to fix missed depreciation — is owned by the depreciation guide (Principle 47); this page states the rule only because the basis ledger runs on it. (Basis also starts as separate land and building components, because only the building is depreciated — but that allocation is P47's territory, not something to re-derive here.)
The exit anchor: what basis is actually for
All of that ledger-keeping exists to produce one number at one moment. When you dispose of the property, the law measures your gain as the amount you realize minus your adjusted basis (§1001), and it points explicitly to the basis "adjusted as provided in §1016" for that purpose (§1011). So the figure you've been building and reducing over the whole hold is the figure the exit is measured from. As a memorable shorthand — the version in the STR Financial Bible:
Cost (with capitalizable acquisition costs), plus capital improvements, minus depreciation allowed or allowable ≈ adjusted basis.
Keep that as a mental model, not a legal formula: real returns can involve other adjustments (casualty losses, certain credits, partial dispositions, and more) that sit outside this shorthand. But the shape is the lesson — your taxable gain is "sale price minus adjusted basis," not "sale price minus what I paid," and because depreciation has been quietly lowering basis the entire time, the gain is almost always larger than the "how much did it go up" figure in your head.
The bookkeeping dependency
Here's where the earlier chapters come back to collect. Your adjusted basis is only right if you actually tracked it — every capital improvement recorded and distinguished from repairs, depreciation taken correctly year after year, the acquisition costs captured at purchase. The owner who can hand over a clean basis schedule at closing has options; the one reconstructing a decade of capital work from memory and a shoebox overpays, panics, or both. The number that determines your exit tax is only as good as the books that produced it — which is why basis is built during the hold, not the week you sell (a Bookkeeping discipline, not an exit task).
Why basis makes deferral "deferral" — and where it resets
Basis is also the thread that explains how a property can change hands without triggering (or while permanently clearing) tax. The point here is narrow: basis can carry over or reset depending on the transaction — and this page only names the pattern, it doesn't teach the mechanics.
- It carries in a 1031 exchange. Roll into a replacement property through a like-kind exchange and your old adjusted basis generally carries into the new property (§1031(d)), so the deferred gain rides along in that low carried-over basis until a later taxable sale. That's the mechanical reason "defer" is not "avoid" — the gain moved into the next property's basis rather than disappearing. (How to actually run a 1031 is its own guide.)
- It can reset at transfer. At death, basis is generally stepped up to fair market value (§1014); by gift, the recipient generally takes a carryover basis (§1015). Both are their own topics, flagged here only so you can see that basis is the common thread through every way a property moves.
Every exit calculation starts with adjusted basis.
Build it from cost, update it for capital adjustments over the hold, and preserve the record — because gain, disposition consequences, and deferral mechanics all inherit the basis you bring to the exit. It starts as your cost (with certain acquisition costs), rises with capital improvements, and falls as the building is depreciated; the figure at disposition is the sum of that history, and it is the number your tax is measured from.
treating basis as "what I paid" and only thinking about it in the year you sell. Three errors cluster here. First, using the contract price and omitting the acquisition costs that belong in basis — quietly overstating the eventual gain. Second, assuming that not claiming depreciation keeps basis high: adjusted basis generally must reflect depreciation allowed or allowable, so failing to claim it does not generally preserve a higher basis. Third, never tracking improvements over the hold, then trying to rebuild a decade of capital work at closing. The fix is to treat basis as a running ledger you maintain from day one — starting cost with its acquisition costs, every capital improvement recorded, depreciation taken correctly — so the number your exit is measured from is already right when you need it.
The bottom line
Adjusted basis is the quiet number that decides your exit tax. It starts as your cost — including the acquisition costs most people forget — rises with every capital improvement, and falls as the building is depreciated (whether or not you claimed the deduction). Your gain is measured from it, and a 1031 carries it forward rather than erasing it. None of the exit decisions in this domain — sell, exchange, refinance, hold — can be made well on a basis you haven't tracked. So before you plan the exit, get the number the exit is measured from right: build the ledger from day one, keep it right over the hold, and everything downstream becomes arithmetic instead of a surprise.

Matt Nunn is the founder of Builders Finance. He has spent two decades working with the financial side of real estate businesses, and started Builders Finance to give short-term-rental operators the financial systems, frameworks, and plain-language education that most hosting advice skips over. Builders Finance publishes educational content for STR owners; it is not legal or tax advice, tax treatment depends on your facts and circumstances, and it is not a substitute for guidance from your own qualified tax professional.
Continue learning
Depreciation Recapture When You Sell an STR
the direct sequel: the depreciation that lowered your basis comes back as recapture at sale, and this is where that bill is calculated. (Principle No. 54.)
Concept GuideDepreciation for Short-Term Rentals
the Tax-domain guide that creates the basis reductions this page receives, and that owns the depreciation side of the "allowed or allowable" rule, the land/building split, and the recovery period. (Principle No. 47.)
Concept GuideThe 1031 Exchange for Short-Term Rentals
how a like-kind exchange carries your basis into the next property to defer — not erase — the gain. (Principle No. 55.)
The STR Financial Bible
the complete financial system for short-term-rental operators, from underwriting a deal to financing it to structuring it to keeping the books to taxes to the exit. ---
Explore the book →Educational information only — not individualized tax, legal, or investment advice. The worked example is an illustrative model, not a projection or a recommendation.