Most home improvements are not tax deductible, but a few specific types are
The short answer: you cannot deduct the cost of fixing up your home as a personal tax deduction. The IRS treats your primary residence as a personal asset, not a business or investment property. When you paint the walls, replace the roof, or install new flooring, those costs come out of your after-tax money and stay off your tax return.
However, there are narrow exceptions. If you use part of your home for business purposes, or if you make improvements that may have access to as medical expenses, or if you own a rental property, some of those costs may be deductible. The key difference is whether the improvement serves a personal purpose or a business or medical one.
The most common confusion arises because home improvements do affect your taxes — just not in the way most people hope. When you sell your home, improvements you made can reduce the taxable gain on the sale. That is different from a deduction, and it works through a different mechanism entirely.
Key Takeaways
- Home improvements to your primary residence are not deductible as personal expenses on your tax return.
- Medical home improvements — such as a wheelchair ramp or bathroom grab bars — may be deductible as medical expenses if they exceed the threshold for that year.
- If you use part of your home for business, improvements to that space may be deductible as business expenses.
- Home improvements can reduce your taxable gain when you sell, but this works through the cost basis calculation, not through a deduction.
- Repairs and maintenance are never deductible for a primary residence; only capital improvements to a rental property may be.
How the cost basis rule works when you sell your home
This is where home improvements matter most to your taxes. When you sell your house, the IRS taxes you on the capital gain — the difference between what you paid and what you sold it for. But that calculation includes improvements you made.
If you bought your home for $300,000 and spent $50,000 on a new roof, foundation work, and a kitchen renovation, your cost basis becomes $350,000. If you sell for $450,000, your taxable gain is $100,000, not $150,000. The improvements reduced the gain by $50,000.
This is not a deduction in the year you make the improvement. It is a permanent adjustment to what you paid for the house, used only when you eventually sell. Most homeowners do not owe tax on the gain at all, because the law allows you to exclude up to $250,000 of gain if you are single, or $500,000 if you are married filing jointly, as long as you owned and lived in the home for at least two of the last five years.
Medical home improvements that may be deductible
If you make a home improvement specifically to accommodate a medical condition, it may count as a medical expense on Schedule A (if you itemize deductions). Common examples include wheelchair ramps, grab bars in bathrooms, widened doorways, or a stair lift for someone with mobility issues.
The improvement must be medically necessary — not just convenient or comfortable. The IRS looks at whether the improvement is primarily for medical reasons or primarily for general home improvement. A bathroom renovation that happens to include grab bars is not deductible; grab bars installed because a household member has arthritis or balance problems may be.
Medical expenses are only deductible to the extent they exceed 7.5% of your adjusted gross income (AGI) for the 2024 tax year. If your AGI is $80,000, you can only deduct medical expenses above $6,000. This threshold is high, so most people do not benefit from this deduction unless they have significant medical costs in a single year.
Home office and rental property improvements
If you use part of your home for business — a dedicated office, a studio, or a workspace — improvements to that space may be deductible as business expenses. The space must be used regularly and exclusively for business. A bedroom that doubles as an office does not may have access to; a separate room used only for work does.
Similarly, if you own a rental property, improvements to that property are treated differently than improvements to your primary home. Capital improvements — major upgrades like a new roof, HVAC system, or foundation work — can be depreciated over time, meaning you deduct a portion of the cost each year. Repairs and maintenance, which keep the property in its current condition, are fully deductible in the year you pay for them.
The line between a repair and an improvement matters. Fixing a leaky roof is a repair; replacing the entire roof is an improvement. Patching drywall is a repair; renovating all the walls is an improvement. For rental properties, this distinction determines whether you deduct the cost when ready or spread it over several years.
What does not count as a deductible improvement
Cosmetic upgrades to your primary residence are never deductible, even if they increase the home's value. Painting, new flooring, landscaping, a new deck, updated appliances, and bathroom or kitchen renovations are all personal expenses. The fact that they make your home more attractive or valuable does not make them tax deductible.
Repairs and maintenance also do not may have access to. Fixing a broken window, patching the roof, repainting, or replacing worn-out fixtures are all necessary upkeep, but they are not deductible for a primary residence. The IRS distinguishes between keeping your home in its current condition (a repair) and making it substantially better (an improvement), and only improvements affect your cost basis at sale.
Energy-efficient improvements — such as solar panels, new insulation, or a heat pump — do not generate a federal income tax deduction for your primary residence. Some states and utilities offer rebates or credits for energy upgrades, but these are separate from the federal tax system and vary by location.
Keeping records for improvements you make
Even though you cannot deduct home improvements in the year you make them, you should keep detailed records of what you spent and what was improved. These records matter when you sell your home, because you will need to show the cost basis calculation to support the gain you report.
Save receipts, invoices, and contracts for any major work. Take photos before and after. If you hire a contractor, keep the contract and final invoice showing what was done. If you do the work yourself, keep receipts for materials. The IRS does not require you to submit these documents with your tax return, but you must have them if the IRS ever questions your cost basis calculation.
For rental properties, record-keeping is even more important, because you are claiming deductions or depreciation each year. The IRS may ask for documentation if you are audited, and poor records can result in disallowed deductions.
Frequently Asked Questions
Can I deduct the cost of replacing my roof or HVAC system?
Not if your home is your primary residence. These are capital improvements that increase your home's value, but they are personal expenses. They do increase your cost basis, which reduces your taxable gain if you sell. For a rental property, you can depreciate these costs over time.
What if I install solar panels on my house?
You cannot deduct the cost as a tax deduction. However, the federal government offers an Investment Tax Credit (ITC) that allows you to claim a percentage of the cost as a credit on your tax return — not a deduction, but a direct reduction in tax owed. The credit percentage varies by year. Check the IRS website or Form 5695 for current rules.
If I work from home, can I deduct home improvements?
Only if you have a dedicated space used exclusively for business. If you have a separate home office, improvements to that room may be deductible as business expenses. General home improvements that benefit the whole house are not deductible, even if you work from home part-time.
Do I have to report home improvements when I sell my house?
You do not file a separate form, but you must calculate your cost basis correctly when you report the sale on Form 8949 and Schedule D. Your cost basis includes the original purchase price plus the cost of improvements. If you cannot document improvements, you can only use the purchase price, which may result in a higher taxable gain.
Can I deduct home improvements if I rent out a room in my house?
Only improvements made to the rented space itself may be deductible as rental expenses. Improvements to common areas or the rest of the house are personal expenses. You must allocate the cost of shared spaces — like hallways or bathrooms — between the rental portion and your personal use.