Selling costs reduce your amount realized
Capital gain on a property sale equals your amount realized minus your adjusted basis. The amount realized is not simply the selling price — it is the selling price minus selling expenses. Every dollar you spend to complete the sale directly reduces your taxable gain dollar-for-dollar.
Common selling expenses that reduce your amount realized include: real estate agent commissions (typically 5–6% of the sale price), title insurance and settlement fees paid by the seller, attorney fees, transfer taxes, deed preparation costs, and staging or repair costs required by the purchase agreement. These are not deductible operating expenses — they are treated as reductions in the sale price for purposes of computing your gain.
What does not reduce the gain
Mortgage payoff is not a selling cost — paying off your loan changes what you keep from the proceeds but does not change your taxable gain. Similarly, moving costs are personal and do not reduce your gain. Repairs done to improve the property before the sale may or may not qualify depending on timing and nature; a tax professional can clarify whether specific pre-sale expenses are selling costs or basis adjustments.
Note that prepaid property taxes or rent proration at settlement are typically not selling costs that reduce the gain — they represent adjustments between buyer and seller for the period of ownership.
A quick example
Selling price: $500,000. Agent commission: $30,000. Title and settlement fees: $3,500. Transfer taxes: $1,500. Total selling costs: $35,000. Amount realized: $500,000 − $35,000 = $465,000. If adjusted basis is $300,000, taxable gain = $465,000 − $300,000 = $165,000 — not $200,000. Keeping careful records of selling costs can meaningfully reduce your tax bill.
Three buckets: selling costs, capitalized improvements, and operating deductions
It helps to sort every dollar you spend around a sale into one of three buckets, because each is treated differently. Selling costs (commissions, title fees, transfer taxes, escrow charges, seller-paid closing costs) reduce your amount realized — they come off the sale price when you compute gain on Form 4797. Capital improvements made before listing (a new roof, an HVAC replacement, a kitchen remodel) are added to your adjusted basis, which also reduces gain but through the other side of the equation. Ordinary operating expenses (routine repairs, cleaning, utilities, insurance during the rental period) are deducted on Schedule E in the year paid and do not affect the gain calculation at all.
The practical point is that a selling cost and a basis-adding improvement produce nearly the same tax result — both shrink the gain — while a current repair gives you an immediate ordinary deduction instead. Misclassifying a genuine selling cost as a repair, or vice versa, can distort both your annual return and your final gain, so keep the settlement statement and contractor invoices organized by category.
A fuller worked example with depreciation recapture
Selling costs matter most when depreciation recapture is in play, because they reduce the capital-gain layer that sits on top of recapture. Suppose you bought a rental for $360,000 (of which $60,000 was land), spent $40,000 on a capitalized addition, and claimed $90,000 of depreciation over the years. Your adjusted basis is $360,000 + $40,000 − $90,000 = $310,000.
You sell for $600,000 and pay $42,000 in commissions and closing costs, so your amount realized is $558,000. Total gain is $558,000 − $310,000 = $248,000. Of that, the first $90,000 is unrecaptured Section 1250 gain taxed at up to 25%, and the remaining $158,000 is long-term capital gain taxed at 0/15/20% (plus the 3.8% NIIT if you are over the threshold). Without the $42,000 of selling costs, your gain would have been $290,000 and the capital-gain layer $200,000 — so the selling costs saved capital-gains tax on $42,000, roughly $6,300–$8,400 at a 15–20% rate, plus any NIIT.
Where selling costs show up on your return
A rental sale is reported on Form 4797 (Sales of Business Property), not directly on Schedule D. You enter the gross sales price net of selling expenses as the amount realized, and the software or preparer flows the unrecaptured Section 1250 gain to the Schedule D worksheet and the ordinary or Section 1231 character to the right lines. Because selling costs are netted into the amount realized rather than listed as a separate deduction, there is no line labeled “commissions” — you simply report a smaller sales figure and keep the closing statement to substantiate it.
This is different from a personal-residence sale, where selling costs also reduce the amount realized but the gain (if any) is reported on Form 8949 and Schedule D. Either way, the mechanism is identical: selling expenses lower the number you started the gain calculation with.
Common mistakes that cost sellers money
The most frequent error is forgetting to include selling costs at all — sellers report the gross contract price as the amount realized and overpay tax on the commission they never kept. A second mistake is double-counting: deducting a pre-sale repair on Schedule E and also treating it as a selling cost. A third is misclassifying a mortgage payoff or loan prepayment penalty as a selling cost; loan payoff is not deductible and does not affect gain, though a prepayment penalty may be deductible as interest.
Proration items on the settlement statement — property tax and rent adjustments between buyer and seller — are also commonly mishandled. These are not selling costs; they are allocations of income and expense for the ownership period and belong on Schedule E, not in the gain calculation.
Planning tips
Because selling costs and capital improvements both reduce gain, keep a running basis schedule for the entire holding period rather than reconstructing it under deadline pressure at closing. Save every closing statement, commission agreement, and major improvement invoice. If you are negotiating who pays which closing costs, remember that a seller-paid cost reduces your gain, while a credit to the buyer that simply lowers the price has the same effect — the economics and the tax result are usually equivalent, so negotiate on total net proceeds.
If the sale would push you into the 20% capital-gains bracket or trigger NIIT, documenting every legitimate selling cost is one of the few levers that directly shrinks the taxable gain. And if you are considering a 1031 exchange instead, note that selling costs paid from exchange proceeds (customary transactional “exchange expenses”) generally do not create taxable boot — they can be paid without triggering recognition.
Financing costs and prorations are not selling costs
A frequent point of confusion is the treatment of loan-related charges at closing. Points, loan origination fees, and mortgage broker charges the seller pays relate to borrowing, not to transferring title, so they are not selling costs and do not reduce your amount realized. If you paid points to acquire the property originally, any remaining unamortized balance is generally deductible in the year you sell — but that is a separate deduction on Schedule E, not a reduction of gain.
Likewise, the payoff of your existing mortgage, accrued interest, and any per-diem interest at closing are not selling costs. They affect the cash you walk away with but have no effect on the taxable gain. The cleanest approach is to read the closing disclosure line by line and tag each charge as (a) a cost of transferring the property — a selling cost that reduces gain; (b) a financing charge — deducted or amortized elsewhere; or (c) a proration of taxes and rent — reported on Schedule E. Only bucket (a) belongs in the gain calculation.
Because selling costs reduce your gain dollar-for-dollar, the IRS can ask you to substantiate them. Keep the signed closing disclosure or settlement statement, the listing and commission agreements, invoices for any seller-paid repairs required by the contract, and receipts for transfer taxes and recording fees. A $35,000 stack of selling costs on a large sale can save $5,000–$8,000 in tax, and that is exactly the kind of figure an examiner will want to see documented. Build the file at closing, while every statement is in front of you, rather than years later when the paperwork is gone.
How selling costs work in a 1031 exchange
If you roll the sale into a 1031 like-kind exchange instead of cashing out, selling costs play a different but still favorable role. Customary transactional expenses — broker commissions, title insurance, escrow and closing fees, transfer taxes, and the qualified intermediary's fee — are treated as exchange expenses. They can be paid out of the exchange proceeds without being treated as taxable boot, and they also reduce the amount of replacement-property value you must acquire to achieve full deferral.
In practice, exchange expenses are netted at two points: they lower the 'net sales price' you must reinvest and they reduce the realized amount in the deferral calculation. Non-transactional costs are different — paying off a mortgage, prorated rent, prepaid property taxes, and loan fees for the new financing are not exchange expenses, and using exchange funds to cover them can create taxable boot. Have your intermediary and CPA classify each closing-statement line before funds move, because a misclassified payment is a common way an otherwise clean exchange springs a surprise tax.
Selling costs on an installment sale
When you sell on an installment note (Section 453) and collect the price over several years, selling costs still reduce your gain — they are built into the gross profit percentage that determines how much of each payment is taxable. Your selling expenses are added to adjusted basis (or netted against the contract price) when computing total gain, so a $500,000 sale with $35,000 of selling costs and a $300,000 basis produces $165,000 of gross profit, not $200,000, and that smaller profit is what gets spread across the payment years.
Note the recapture caveat that applies to installment sales generally: any Section 1245 ordinary recapture must be recognized in full in the year of sale, and unrecaptured Section 1250 gain is reported first as principal is collected. Selling costs lower the overall gain but do not change the ordering — the recapture layer still comes before the capital-gain layer as payments arrive.
Frequently asked questions
Can I deduct agent commissions when selling a rental?
Not as an operating deduction — commissions reduce your amount realized, which lowers your taxable gain. The effect is the same economically: they reduce your tax bill.
Do selling costs reduce boot in a 1031 exchange?
Customary transactional expenses — commissions, title, escrow, transfer taxes, and the intermediary's fee — are exchange expenses that can be paid from proceeds without creating taxable boot and that reduce the amount you must reinvest. Non-transactional items like mortgage payoff, prorations, and new-loan fees are not exchange expenses, and covering them with exchange funds can trigger boot.
Can I deduct staging or repair costs when selling a rental?
It depends on timing and purpose. Staging and repairs the purchase contract requires to complete the sale are generally selling costs that reduce your amount realized. Routine repairs made during the rental period are operating deductions on Schedule E, and a substantial pre-sale upgrade can be a capital improvement added to basis instead — so classify each expense by what it actually is rather than by when it was paid.
What selling costs reduce capital gains?
Agent commissions, title fees, closing attorney fees, transfer taxes, deed costs, and other expenses directly required to complete the sale. They reduce your amount realized, which lowers your gain.
Do selling costs also reduce depreciation recapture?
Selling costs reduce total gain but do not specifically reduce the recapture portion — the recapture is calculated first on total depreciation claimed, then the remainder is capital gain.
Do selling costs reduce the gain on a primary residence too?
Yes. On a primary-residence sale, selling costs reduce the amount realized before applying the Section 121 exclusion. If your gain after selling costs is under the $250,000/$500,000 exclusion, you may owe no tax at all.
Is a loan prepayment penalty a selling cost?
No. A prepayment penalty is generally treated as interest and may be deductible as such, but it does not reduce your amount realized or your capital gain the way a commission does.
Where do I report selling costs on a rental sale?
You do not report them on a separate line. You report the sales price net of selling expenses as the amount realized on Form 4797, and keep the closing statement to substantiate the reduction.
Sources
Educational information and estimates only. Not tax advice. Tax rules change and vary by situation; consult a qualified tax professional before acting.
