Are buyer-required repairs deductible selling expenses when selling a rental property?

Finally closed on a rental house I've owned for nine years. During the inspection the buyer demanded about $14,000 in repairs — new water heater, some electrical fixes, patching a section of the roof. I paid every penny before closing and it all shows on the HUD-1. Now I'm sitting down to do the numbers on my gain and I can't figure out where these go. Are buyer-required repairs deductible selling expenses when selling a rental property, or do they go somewhere else entirely? I already pulled Schedule D and Form 4797 but I'm not sure whether to add them to my selling expenses or treat them differently. The property was fully depreciated on Schedule E over the years. Any help appreciated.

32 comments

Generally, no — repairs required by the buyer don't get added to selling expenses. Whether any of them go to your basis depends on what the work actually did: improvements that better or restore the property get added to basis, while ordinary maintenance is a repair, so they don't reduce your gain on Form 4797 the way commissions or closing costs do. Selling expenses are things like the agent's commission, transfer taxes, title insurance, and legal fees paid to close the sale.

Hannah C.

Author

Thanks, that's a clear line. So the $14k only helps me if parts of it count as improvements to basis or as repairs on Schedule E?

Repair vs. improvement is the key question here. If any of those items — say, the roof patch — extended the life of the property or added value rather than just maintaining it, it might qualify as a capital improvement that gets added to your adjusted basis before you calculate the gain. A new water heater is usually considered a capital improvement, not a repair.

That's a fair point. The water heater in particular — the IRS would likely treat a full replacement as a capital improvement that increases adjusted basis rather than a deductible repair.

Hannah C.

Author

So I might be able to bump my basis with the water heater at least. That actually helps a bit.

There's a third possibility people overlook: if any of these costs were ordinary and necessary expenses of the rental activity in the year of sale, they'd go on Schedule E as a rental expense for that year, reducing your rental income before you close out the property. The electrical fixes, for example, could potentially be ordinary repairs deducted on Schedule E line 14 rather than factored into basis or selling costs.

This is what my CPA did on my sale last year. The repairs that were clearly maintenance went on Schedule E for the final partial year. Only the water heater went to basis.

Hannah C.

Author

That's a helpful split. I hadn't thought about putting them on Schedule E for this final year rather than on the disposition side.

Came through the same situation last spring. I pasted my closing disclosure and repair invoices into taxr.ai and had Taxr sort each line item into the three buckets: Schedule E expense, basis adjustment, or selling expense. It then built a simple worksheet showing what hit Form 4797 Part III line 23 as adjusted basis versus what stayed off the gain calculation entirely. Saved me from miscategorizing the roof work. The categorization still needs your own review but seeing it laid out by item was clarifying.

Hannah C.

Author

Seeing each invoice sorted into a bucket would really help me. I'll try it with my closing disclosure and invoices.

Worth remembering that selling expenses reduce your amount realized, which is what flows into the gain calculation on Form 4797. So agent commissions, deed prep fees, transfer taxes — those come off the top. Buyer-required repairs don't fit that definition unless you can argue they were a price concession structured as a repair credit, in which case you'd reduce the sale price directly. How the contract reads matters a lot.

Hannah C.

Author

My contract says the seller will complete repairs prior to closing, not a credit. So sounds like a straight repair obligation on my end.

Right, that language means you performed the repairs yourself and bear the cost. A price reduction or repair credit handled at closing would look different on the settlement statement.

Don't forget the depreciation piece. With nine years on Schedule E, you have accumulated depreciation that reduces your basis, and the gain attributable to it is unrecaptured Section 1250 gain taxed at up to 25% (not ordinary income, since residential rentals are depreciated straight-line), worked through on Form 4797 Part III before you even get to the rest of the capital gain. The repair vs. basis question is secondary to making sure your adjusted basis correctly reflects total accumulated depreciation.

Hannah C.

Author

Yeah the depreciation recapture piece is what's making me nervous. Nine years of deductions coming back.

It's just the math of the form — Form 4797 Part III walks you through it line by line. Make sure your depreciation schedule matches what you actually claimed on Schedule E each year.

I sold a rental duplex two years ago and had almost this exact dispute with my preparer over whether the inspection repairs reduced my gain. I ended up uploading my purchase settlement statement, the depreciation schedule, and the repair invoices to Taxr and had it check whether each repair item met the IRS standard for a capital improvement. It flagged the water heater and an HVAC replacement as basis-eligible and left the painting and caulking off. That list made the conversation with my CPA much shorter. Worth doing before you sit with a professional.

One thing that matters for the Schedule E angle: were these repairs paid in the same tax year the sale closed? If the sale and the repairs both happened in the same calendar year, they're expenses of that rental year and Schedule E works cleanly. If a repair carried over from a prior year, that's a different situation.

Hannah C.

Author

Sale and all repairs completed same calendar year, so that's clean at least.

To restate what a few people are pointing at: the three possible treatments are (1) deductible repair on Schedule E for the final year, (2) capital improvement added to adjusted basis on Form 4797, or (3) neither — just an out-of-pocket cost you can't recover. Buyer-required repairs most often land in category 1 or 3 depending on the nature of the work.

If your passive activity losses from prior years were suspended under Form 8582 because of the MAGI phase-out, the year of sale is when those suspended losses release and can offset the gain. Worth pulling Form 8582 from prior returns to see if you have a stockpile.

Hannah C.

Author

I had some suspended losses for a couple years when my income was higher. Didn't realize the sale year was when those freed up. I'll check my old 8582s.

That's right — the disposition of the entire interest releases all suspended passive losses in that activity. It's one of the better benefits of finally closing out a rental.

Practically speaking: get your repair invoices and label each one as capital or expense using the IRS improvement vs. repair standard from Publication 527. Then split accordingly between Form 4797 basis and Schedule E. Your closing disclosure already shows the sale price and commission — start there for the amount realized.

The roof patch question is genuinely ambiguous. A full replacement would typically be a capital improvement with a 27.5-year recovery period under MACRS, but the property is being sold so there's no depreciation period left to recover it over — it just goes into adjusted basis and reduces the gain. A patch that simply restores the existing roof is more likely a deductible repair. The invoices need to show scope of work clearly.

Hannah C.

Author

Invoice says 'replace damaged sheathing and shingles on northwest section.' Sounds more patch than full replacement to me.

That reads as a repair to me too, not a full replacement. I'd put it on Schedule E rather than basis. But if the amount is significant enough, run it by a CPA or enrolled agent before filing.

For what it's worth I went through a buyer-demanded repair situation and my enrolled agent said the most defensible position is to treat cosmetic repairs (paint, cleaning, caulk) as Schedule E expenses, mechanical replacements (water heater, HVAC unit) as capital improvements to basis, and structural repairs (roof patch) case by case depending on scope. That's roughly what the IRS guidance in Publication 527 supports.

Hannah C.

Author

That breakdown is really practical. Matches what others here are saying too.

Quick correction on something from earlier in the thread: someone implied the electrical fixes would automatically be ordinary repairs on Schedule E. That's not always true. If the electrical work brought the system up to code or added capacity, it might be a capital improvement rather than maintenance. The nature and result of the work, not just the category of the trade, determines the treatment.

Fair correction. I should have said to look at what the work actually did, not just that it was electrical work. If the invoice says 'panel upgrade' that's different from 'replaced faulty breaker.'

If any of your Schedule E rental expenses in the final year create a loss in combination with these repairs, check Form 8582 to see how the passive activity rules affect deductibility. Active participation lets you deduct up to $25,000 of rental loss against ordinary income, with that allowance phasing out based on your MAGI — Publication 527 at irs.gov has the thresholds. The loss limitation rules don't go away just because you're in a sale year for the rental expenses portion.