The IRS Doesn’t Tax Your Real Estate Property On the Sale Price — You’re Taxed On Your Investment Gain
What Most Real Estate Sellers Get Wrong About Their Tax Bill (And How to Fix It Before You Sell)
When real estate sells, the IRS doesn’t tax the sale price — it taxes the gain. And the gain is whatever the IRS believes it to be based on what you can document. That second part trips up more property owners than any other single issue I see in practice.
The math itself is simple:
Taxable Gain = (Sale Price − Selling Expenses) − (Purchase Price + Acquisition Costs + Capital Improvements − Depreciation/Credits/Exclusions)
The first parenthetical is your amount realized. The second is your adjusted basis. Every dollar you legitimately push into either side of the equation is a dollar that doesn’t get taxed. And under-documenting basis is, in my experience, the single most expensive recordkeeping failure in real estate — easily worth more per hour than the renovation labor itself when you back into the hourly rate of the tax savings.
Before getting to the checklists, one warning that costs investors more money than almost anything else on this page.
The dealer-vs-investor trap (read this first if you “flip”)
There is a stubborn myth — held by investors and by tax preparers who should know better — that buying a property, fixing it up, holding it past one year, and selling it converts the profit into a long-term capital gain. It usually doesn’t. If your intent going in is to renovate and resell, you’re a dealer in real estate, not an investor. The profit is ordinary business income, subject to ordinary rates and self-employment tax. The one-year clock is irrelevant to that characterization.
This is also one of the rare situations in real estate where holding the activity inside an S‑corporation can genuinely make sense — directly opposite to the more common (and correct) advice that real estate investments don’t belong in S‑corps. The dealer/investor distinction matters enough that it deserves its own conversation; if you have flips in your past, present, or future, get that classification nailed down before filing season, not during.
With that out of the way:
Phase 1 — What goes into basis when you buy
Your settlement statement at closing is the single most valuable tax document you’ll receive on a property, and most owners file it and forget it. Pull it back out. Here’s what you’re looking for.
Costs that ADD to basis
On the closing disclosure / settlement statement:
- Purchase price — including cash paid, mortgages assumed, notes given to the seller, and the value of any property given in exchange
- Owner’s title insurance policy (the lender’s policy is a loan cost, not basis — see below)
- Title search, title abstract, title examination
- Recording fees for the deed and mortgage
- Transfer taxes, deed stamps, documentary stamps — at the state, county, or municipal level, regardless of which side of the table paid
- Settlement, closing, and escrow fees
- Attorney fees connected to the purchase
- Notary, courier, e‑recording, and wire transfer charges
- Survey fees — boundary, ALTA, or plot
- Elevation certificates in flood zones
- Tax service fees
- HOA capital contributions, initiation fees, and buyer-side transfer fees
- Liens, judgments, mechanic’s liens, and back HOA dues you assumed at closing
- Back property taxes you agreed to pay (this is different from current-year prorations)
- Special assessments you took over — sidewalks, sewer, lighting districts, PACE balances
Pre-purchase due diligence (whether or not it appears on the settlement statement):
- General home inspection
- Termite and wood-destroying-organism reports
- Radon, mold, asbestos, and lead-based paint testing
- Septic inspection and pump-out at inspection
- Sewer scope and camera inspections
- Well water testing
- Specialty inspections — roof, chimney, pool/spa, foundation, HVAC, electrical, plumbing
- Structural engineer reports
- Phase I or Phase II environmental site assessments
- Pre-purchase appraisal when paid by the buyer
- Earnest money or option fees that did not reduce the purchase price
- Due-diligence period fees
Costs on the closing statement that DON’T add to basis
This is where mistakes get made in the other direction. The following are loan costs, prepaid expenses, or current-year items — not basis:
- Loan origination, underwriting, processing, application, and credit report fees
- Discount points (though points on a primary-residence purchase mortgage may be currently deductible as mortgage interest)
- Mortgage broker fees, lender’s appraisal, lender’s title insurance, flood certification
- VA funding fees, USDA guarantee fees, FHA upfront MIP — all financed loan charges
- Prepaid mortgage interest, prepaid property tax, prepaid insurance, escrow reserves
- Buyer’s prorated property taxes and prepaid HOA dues — Schedule A items at most, not basis
Items that REDUCE basis at purchase
- Seller-paid concessions and closing-cost credits
- Seller-paid points
- Buyer rebates from the agent
- Government grants or subsidized financing received
Phase 2 — Improvements during ownership
This is where the dollars are. A meaningful renovation can add tens or hundreds of thousands to basis, and it’s also where receipts go missing fastest. Track everything in a project folder — physical or digital — from day one.
Capital improvements by category
Structural and envelope work: Room and second-story additions, dormers, bump-outs. Detached or attached garages, carports. Permanent decks, porches, screened rooms, sunrooms, and patios. Foundation underpinning, pier replacement, leveling. Earthquake and hurricane retrofitting. Basement waterproofing, French drains, sump systems, egress windows. Retaining walls. Full remediation systems for termites, asbestos, lead, mold, or radon (periodic treatment doesn’t count — full mitigation does).
Roof and exterior: Full roof replacement with new gutters and downspouts. New siding, stucco, brick, or stone veneer. Full exterior repaint. Full window and exterior door replacement. New garage doors and openers. Fascia, soffit, and trim replacement. Skylights and solar tubes.
Kitchen: Full or partial remodels and layout changes. Cabinets, countertops, backsplash. Built-in appliances — cooktops, wall ovens, ranges, dishwashers, microwaves, built-in refrigerators. Range hoods and the ductwork that goes with them. Sinks, faucets, garbage disposals, instant hot water units. Built-in and under-cabinet lighting.
Bathrooms: Full remodels or new bathroom additions. Tubs, showers, tile surrounds, glass doors. Built-in vanities, sinks, faucets, mirrors, medicine cabinets. Toilets and bidets. Heated floors, towel warmers, steam systems. Whirlpool and soaking tubs. Exhaust fans and vent stacks.
HVAC and major systems: Furnaces, AC condensers, heat pumps, mini-splits. New or fully replaced ductwork. Boilers, radiators, baseboard heating. Tankless or replacement water heaters. Geothermal systems. Solar PV (basis is reduced by any credit claimed — see Phase 4). Solar water heating. Whole-house humidifiers, dehumidifiers, air purifiers, HEPA systems. Integrated smart thermostats and zone controls. Whole-house generators and transfer switches.
Electrical: Service panel upgrades — 100A to 200A is the classic example. Whole-house rewiring or knob-and-tube replacement. New circuits, outlets, switches, GFCIs, AFCIs. Hardwired lighting, recessed lighting, attached chandeliers. Whole-house surge protection. EV charger installation (basis after credit). Hardwired security and fire alarms. Cat6, Ethernet, coax, or fiber wiring. Hardwired smoke and CO detectors.
Plumbing: Full repipes — PEX, copper, or PVC. Sewer-line replacement and cleanouts. Water main replacement. Whole-house water filtration and softeners. New wells, well pumps, pressure tanks. Septic system installation, drain fields, septic tank replacement. Hot water recirculation pumps. Backflow preventers.
Insulation and energy efficiency: Attic, wall, basement, rim-joist, and crawl-space insulation. Spray foam, blown-in cellulose, batt. House wrap and vapor barriers. Air sealing. Energy-efficient windows and doors (basis after credit).
Floors, walls, and ceilings: New hardwood, tile, stone, vinyl plank, laminate, or carpet — full replacements. Subfloor repair or replacement. Substantial sand-and-refinish jobs. Drywall replacement and plaster repair. Crown molding, baseboards, wainscoting, shiplap, paneling. Acoustic treatments. Full repaints done as part of an improvement project.
Site and exterior: Driveways and aprons in asphalt, concrete, or pavers. Walkways, paths, and stairs. New or fully replaced fencing. Significant landscaping — regrading, mature trees, sod. Sprinkler and irrigation systems. Hardwired outdoor lighting. In-ground pools with decks, fencing, and equipment. Built-in hot tubs and spas. Outdoor kitchens, permanent fire pits, pergolas, gazebos, sheds, and outbuildings (when permanent). Boat docks and sea walls. Excavation, grading, drainage, and French drains. Tree removal as part of a project. General concrete work.
Specialty and accessibility: Wheelchair ramps, widened doorways, roll-in showers, grab bars — these may also qualify as a medical expense deduction, so don’t double-count them. Stair lifts, residential elevators, dumbwaiters. Saunas, steam rooms, wine cellars, built-in home theaters. Built-in smart-home systems. Tornado shelters and safe rooms.
Soft costs — capitalize these alongside the hard costs
- Architects, designers, engineers, draftspeople
- Plans, blueprints, 3D renderings
- Permits across the board — building, electrical, plumbing, mechanical, demolition, excavation, special-use, variance
- Plan-check and plan-review fees
- Impact, tap, connection, and capacity fees
- Surveyor fees during the project
- Code-compliance work
- General contractor fees and markups
- All subcontractor invoices — electrical, plumbing, HVAC, framing, drywall, paint, finish carpentry, tile, flooring, roofing, masonry, concrete, excavation, demo, landscape
- Labor on contractor receipts (your own labor never capitalizes)
- Materials at retail — Lowe’s, Home Depot, Menards, ProBuild, lumber yards, tile shops, plumbing and electrical supply houses, paint stores
- Equipment and tool rental — excavators, scaffolding, lifts, compactors
- Dumpsters, hauling, dump fees
- Demolition
- Site cleanup and temporary construction fencing
- Builder’s risk and vacant-home insurance during construction
- Workers’ comp on direct-hire labor
Carrying costs and the §266 election — this is the underused one
For investment property that isn’t currently producing income — a vacant lot, a renovation in progress, a property between tenants — IRC §266 lets you elect to capitalize carrying costs into basis instead of letting the deductions evaporate. The election is annual, made by attaching a statement to the return. Eligible items include:
- Property taxes
- Mortgage interest
- Insurance premiums (homeowners, vacant-home, builder’s risk, liability)
- HOA dues
- Utilities kept on at the property
- Lawn care, snow removal, basic maintenance to preserve the property
- Property management fees
- Security and monitoring during vacancy
For a flip that never generates rental income, every month of holding costs can be added to basis under §266 with the right statement filed. It’s a small bit of paperwork that can move the needle meaningfully on the gain calculation at sale.
Casualty and restoration
After a casualty event, costs to restore the property — net of insurance proceeds — can be added to basis. If the restoration goes beyond the original condition (better roof, better systems), that excess is itself a capital improvement.
The repair-vs-improvement line, in plain terms
For a personal residence, repairs are nothing — not deductible, not added to basis. Only true capital improvements increase basis.
For a rental, repairs are currently deductible against rent; improvements get depreciated.
For a flip held purely as inventory — never rented, never lived in — the distinction collapses, because there’s nowhere else to put the cost except basis. (Caveat: if you do rent the property, expenses generally won’t add to basis to the extent they exceed rental income, and your ability to deduct losses depends on income level and real-estate-professional status.)
The IRS’s own framework — Treas. Reg. §1.263(a)-3 — uses the BRA test: a cost is a capital improvement if it’s a Betterment, a Restoration, or an Adaptation to a new use. As a working rule of thumb, any project that touches multiple components, replaces a major component, fixes a pre-existing defect, or extends the property’s useful life is going to land on the improvement side of the line.
Phase 3 — Selling expenses (these don’t capitalize — they reduce amount realized)
Selling expenses come off the sale price directly. They aren’t added to basis; they reduce what the IRS treats as the amount you realized on the sale. Same economic effect, different mechanics.
Commissions and marketing: Listing-side commission (typically 2.5–3%). Buyer-side commission (typically 2.5–3%). Co-broke and referral fees. iBuyer service fees from Opendoor, Offerpad, and similar. MLS fees and flat-fee MLS services. Professional photography, drone work, 3D Matterport tours, video. Floor plan illustrations. Premium online placements. Yard signs, open-house signs. Print, mail, and magazine advertising. Open-house catering and promotional spend.
On the seller’s settlement statement: Owner’s title insurance where seller-paid by local custom. Settlement, closing, and escrow fees on the seller’s side. Recording fees for the release or reconveyance. Transfer taxes and deed stamps on the seller side. Mansion or luxury transfer taxes in higher-value markets. Closing attorney fees. Notary, courier, wire, and e‑recording charges. HOA estoppel, transfer, payoff, and capital reserve transfer fees. Tax service and document prep fees. Reconveyance and release-of-lien recordings. 1099‑S filing charges. FIRPTA administration costs on foreign-seller transactions.
Pre-listing prep: Pre-listing inspections and appraisals. Termite, radon, septic, roof, sewer-scope, and pool inspections required for the sale. Roof, chimney, septic, and well certifications. Staging consults, professional staging, and rented furniture. Move-out and move-in for staging. Storage rentals during the listing period. Deep cleaning, carpet cleaning, window cleaning. Pressure washing and gutter cleaning. Yard cleanup, mulch, sod, and seasonal flowers for curb appeal. Touch-up paint specifically for the sale. Minor repairs at the agent’s or buyer’s request, including post-inspection negotiated repairs.
Concessions and credits to the buyer: Closing-cost credits. Repair credits. Carpet, decorating, or flooring allowances. Seller-paid rate buy-down points. Home warranties paid by the seller for the buyer. Move-in allowances. HOA dues prepaid for the buyer.
Mortgage and lien payoff costs: Payoff statement and demand fees. Recording for release of mortgage. Reconveyance and trustee fees. Subordination fees. Wire fees on the payoff. Mortgage prepayment penalties (often deductible as interest instead — verify). Lien releases for judgments, mechanic’s, or tax liens.
Owner-financing and 1031: Installment-sale escrow setup and servicing. Qualified Intermediary fees. 1031 exchange documentation. Replacement-property identification fees.
Phase 4 — Items that REDUCE basis (don’t miss these going the other way)
Missing these doesn’t help you — over-claiming basis is what creates audit exposure and adjustments after the fact. The IRS will catch them if you don’t.
- Depreciation taken during any rental or business-use period — and under the “allowed or allowable” rule, basis is reduced by depreciation that could have been taken even if you never claimed it
- Casualty loss deductions previously taken
- Insurance proceeds received and not used to restore the property
- Prior §121 exclusions claimed against the same property (rare but possible)
- §1031 carryover basis from a relinquished property
- Tax credits — basis is reduced by the credit amount:
- Residential Clean Energy Credit (solar, geothermal, wind, fuel cell — 30%)
- Energy Efficient Home Improvement Credit
- Historical first-time homebuyer credit
- State-level energy and efficiency credits
- PACE financing forgiveness
- Subsidized energy financing (limited reduction)
- Easements granted for compensation
- Eminent domain proceeds retained and not reinvested
Special-situation basis rules worth knowing
- Inherited property — basis steps up (or down) to FMV at the decedent’s date of death, or the alternate valuation date six months later if elected. Improvements the decedent made are absorbed into the new FMV.
- Gifted property — carryover basis from the donor, with adjustments for gift tax paid attributable to appreciation; FMV at gift date is used instead if computing a loss.
- Property received in divorce — carryover basis under §1041, no step-up.
- Property received in a like-kind exchange — carryover basis with adjustments.
- Personal-to-rental conversions — depreciable basis is the lower of cost or FMV at conversion; basis for gain on eventual sale is regular adjusted basis.
- Rental-to-personal conversions — accumulated depreciation still reduces basis at sale.
- Mixed-use property (home office, partial rental) — basis must be allocated.
The documentation that backs all of this up
The IRS responds well to paper. Treat your file like you’ll be defending it in three to seven years, because that’s roughly the window:
- Purchase and sale settlement statements / closing disclosures
- Recorded deed and title insurance policy
- All loan documents (relevant for proration analysis even though loan costs aren’t basis)
- Every contractor invoice — date, scope, address, amount, payment method
- Every materials receipt, annotated by project
- Every permit and inspection card
- Architect, engineer, and designer invoices
- Bank and credit-card statements showing project spending — your backup if a receipt walks off
- Cancelled checks
- Date-stamped before, during, and after photos for each project
- Property tax bills throughout ownership
- Insurance policies throughout ownership
- Any §266 election statements filed
- Casualty insurance claim records
- Depreciation schedules from any rental period
- Form 1099‑S from the sale
- Records of every tax credit claimed against the property
The IRS allows you to deduct the following expenses for rental real estate:
- Advertising
- Auto and travel
- Cleaning and maintenance
- Commissions
- Insurance
- Legal and other professional fees
- Management fees
- Mortgage interest paid to financial institutions
- Other interest
- Repairs
- Supplies
- Taxes
- Utilities
- Depreciation expense or depletion
- Other expenses (itemized by type and amount)
If you own multiple rental properties, each property is reported separately on Schedule E. Retain all receipts and supporting documentation for each category.
A closing thought on the difference between a tax preparer and a tax advisor
Most real estate investors think their tax preparer is their tax advisor. They are usually not the same person, and the gap between the two is where money disappears.
A preparer takes your numbers and puts them on the right lines. An advisor tells you what numbers should be there in the first place — what to capitalize, what to elect, what to structure differently, what to document now so you can deduct it later. If you have meaningful real estate holdings or an active business and you’ve never had someone review prior returns through that second lens, the odds are uncomfortably good that there’s overpaid tax sitting in your past three years of filings. I open more first meetings than I’d like with some version of “you overpaid by enough to fund your next down payment.” It is not a punchline. It is a recurring observation.
You don’t have to hire me. You should, however, expect that whoever advises you on the tax side of a real estate portfolio earns a multiple of their fee in tax saved — and if they don’t, you may have the wrong person.
This article is educational and general in nature. It is not legal or tax advice for any particular taxpayer, and reading it does not create an attorney-client relationship. If we already work together under an engagement agreement, you’ll receive a version of this checklist tailored to your facts. If we don’t, please use this as a starting point for a conversation with your own tax professional.

