Checkmarks are saved only in this browser on this device — nothing is uploaded.
Try it: Standard vs itemized calculatorSee which deduction is bigger for 2025 or 2026 — including the SALT cap and the medical-expense floor.Every year 0 of 6
In the year you buy 0 of 4
Improvements and basis 0 of 3
In the year you sell 0 of 5
Property-tax relief at the state or local level 0 of 3
See our state guides for how property taxes work in several states.
How long to keep home records
Most tax records only need to be kept for a few years after you file, but home records are different. Your cost basis (the purchase price plus certain closing costs and the improvements you make) is what you subtract from the sale price to figure your gain, and you may not need it until you sell many years from now. Keep purchase and improvement records for as long as you own the home, then keep them with the return for the year you sell. Mortgage statements and property tax receipts follow the normal rules in our record-keeping guide. If you inherited the home or received it as a gift, different basis rules apply, so ask whoever handled the estate or gift for the paperwork they have.
Selling your home: the exclusion, worked through
If you owned and lived in the home as your main home for at least two of the five years before the sale, you can generally exclude up to $250,000 of gain ($500,000 for most married couples filing jointly). The gain is the sale price minus selling costs minus your adjusted basis.
Hypothetical illustration only — not a real person. A single owner bought a home in 2014 for $280,000, paid $6,000 of qualifying closing costs, added a $45,000 addition in 2019 and sells in 2026 for $640,000, paying $38,000 in selling costs.
- Adjusted basis: $280,000 + $6,000 + $45,000 = $331,000.
- Amount realized: $640,000 − $38,000 = $602,000.
- Gain: $602,000 − $331,000 = $271,000.
- Excluded: $250,000. Taxable long-term capital gain: $21,000.
Without records of the $45,000 addition, the taxable gain would be $66,000. That is why improvement receipts belong in the permanent folder.
Energy credits: check the dates
The 2025 tax law ended the Energy Efficient Home Improvement Credit and the Residential Clean Energy Credit for property placed in service after December 31, 2025. Work finished in 2025 can still be claimed on a 2025 return; projects finished in 2026 generally can’t. Our post on energy tax credits that ended has the details.
Working from home or renting a room
If you are self-employed and use part of the home only for business, see the home office deduction. Renting a room or the whole home creates rental income; renting for 14 days or fewer in a year generally means the rent isn’t taxable and the rental expenses aren’t deductible.
Official sources
- IRS Publication 523: Selling your home
- IRS: Schedule A instructions
- IRS Topic 503: Deductible taxes
- IRS Publication 587: Business use of your home
General information only — not tax, legal or financial advice. Tax figures change every year; verify the current numbers at IRS.gov or with a qualified professional. Read the full disclaimer.