If you want to reduce capital gains tax on property, the IRS taxes real estate sales based on factors like the type of property, how long you owned it, your cost basis, and whether you qualify for exclusions or deferral strategies. Knowing these rules can help you legally lower your taxable gain.
In this blog, we will explain when capital gains tax applies, the most effective ways to reduce it, key IRS rules to know, and practical strategies that can help you maximize your savings.
Key Takeaways
|
Know When Capital Gains Tax Applies to Property
Capital gains tax on property applies when you sell real estate for more than your adjusted cost basis, and the tax only hits the profit, not the full sale price. Buy a house for $300,000 and sell it for $420,000, and your taxable gain is $120,000, not $420,000, and only after subtracting eligible exclusions or adjustments.
This applies to your main home, a rental property, vacant land, or an inherited house. The rules differ depending on which one you sold, which is why a blanket strategy to avoid paying capital gains tax on property rarely works. Match the right tool to the type of property.

How the IRS Calculates Gain on a Property Sale
| Your taxable gain on a property sale = the sale price – your adjusted basis – selling expenses. |
Adjusted basis starts with what you paid for the property, then adds qualifying improvements and subtracts any depreciation claimed on a rental. Selling expenses, including commissions, title fees, and transfer taxes, reduce your gain directly.
Short-Term vs Long-Term Capital Gains on Property
A property held for one year or less generates a short-term gain, taxed at your ordinary income rate, up to 37%. If you hold it longer than a year, the gain becomes long-term, taxed at the far friendlier 0%, 15%, or 20% federal rate.
For 2026, the 0% long-term rate applies to taxable income up to $49,450 single or $98,900 married filing jointly. The 20% rate kicks in above $545,500 single or $613,700 married filing jointly, with everything between taxed at 15%. High earners may also owe the 3.8% Net Investment Income Tax once modified adjusted gross income passes $200,000 single or $250,000 married filing jointly.
The table below shows how holding period alone can shift your tax rate by 20 percentage points on the same dollar amount of gain.
| Holding Period | Tax Treatment | 2026 Federal Rate Range |
| 1 year or less | Short-term, ordinary income rates | 10% to 37% |
| More than 1 year | Long-term capital gains rates | 0%, 15%, or 20% |
| Long-term, high income | Long-term plus NIIT surtax | Up to 23.8% |
Use the Primary Residence Exclusion If the Property Was Your Main Home
The Section 121 exclusion lets you exclude up to $250,000 of gain (single) or $500,000 (married filing jointly) when you sell your main home, per IRS Topic No. 701 and Publication 523. This is the biggest tool for reducing paying capital gains tax on property, and its structure has not changed since 1997.
If your gain falls under the exclusion limit, you owe zero federal capital gains tax on that sale. A married couple who bought a home for $200,000 and sold it for $650,000 has a $450,000 gain, fully covered by the $500,000 exclusion, and reports nothing taxable.
The 2-Out-of-5-Year Rule Explained Simply
The ownership and use test requires owning and living in the home as your main residence for at least 24 months within the 5 years before the sale. The 24 months do not need to be consecutive, so someone who lived there a year, moved out for work, then moved back for over a year still qualifies.
If married filing jointly, only one spouse needs to meet the ownership test, but both spouses must independently meet the use test for the full $500,000 exclusion. You also cannot have used this exclusion on a different home sale within the last two years.
When a Partial Exclusion May Apply
A partial exclusion applies if you sell before hitting the 24-month mark due to a job change, health issue, divorce, or another IRS-recognized unforeseen circumstance. Divide the months you owned and lived in the home by 24, then multiply that fraction by your exclusion limit.
Someone who lived in the home 18 months before an employer-mandated relocation gets 18/24, or 75%, of the standard exclusion: $187,500 instead of $250,000 for a single filer. IRS Publication 523 outlines which circumstances qualify, and documentation matters if your return gets reviewed.
Increase Your Adjusted Basis With Eligible Property Improvements
Raising your cost basis is a direct, legal way to shrink your taxable gain, and it works for every property type, not just a primary home. Reduce capital gains tax by tracking every capital improvement from the day you bought the property to the day you sell it.
A capital improvement is any addition or upgrade that adds value, extends the property’s life, or adapts it to new uses. IRS Publication 551 governs what counts toward basis, and the line between an improvement and a repair carries real financial weight.
Improvements That May Reduce Taxable Gain
A new roof, a finished basement, a kitchen remodel, a new HVAC system, or an added bedroom all qualify as capital improvements under IRS guidance. Each dollar spent on a qualifying improvement adds a dollar to your basis, which subtracts a dollar from your eventual taxable gain. Keep receipts, contractor invoices, and permits for every project.
Repairs That Usually Do Not Increase Basis
Routine maintenance like repainting a wall, fixing a leaky faucet, or patching drywall does not increase your basis because it restores the property rather than improving it. The IRS draws this line consistently across Publication 523 and Publication 551.
Use a 1031 Exchange for Investment or Business Property
A 1031 exchange, named for IRC Section 1031, lets you defer capital gains tax on investment or business property by rolling proceeds into a new like-kind property instead of cashing out.
The deferral is not permanent forgiveness. It pushes the tax liability into the replacement property’s basis, so you eventually owe tax unless you keep exchanging or hold the asset until death, when heirs may receive a stepped-up basis.
Why 1031 Exchanges Do Not Usually Apply to Personal Homes
A 1031 exchange only applies to property held for investment or business use, not a personal residence, under current IRC Section 1031 rules. If the property you are selling is the house you live in, this strategy is off the table, and Section 121 is your tool instead.
Some investors convert a rental into a primary residence, or the reverse, to combine benefits over time, but the IRS scrutinizes these conversions closely.
Key Deadlines and Rules to Discuss Before Selling
The 45-day identification rule and the 180-day exchange completion rule are non-negotiable IRS deadlines governing every 1031 exchange. You have 45 calendar days from closing the sold property to identify, in writing, up to three potential replacement properties, and 180 days total to close on one.
Offset Gains With Capital Losses Where Available
Using capital losses to offset gains is a recognized IRS strategy reported on Schedule D and Form 8949. If you sold stocks, a business, or other capital assets at a loss in the same tax year as your property sale, those losses can directly cancel out part or all of your property gain.
Losses beyond your gains can offset up to $3,000 of ordinary income per year, with any remainder carried forward indefinitely. That makes year-end tax planning genuinely useful rather than just paperwork.
Why Property Owners Should Plan Losses Carefully
Timing a property sale in the same year you realize losses elsewhere in your portfolio can meaningfully cut your overall tax bill. Watch the wash-sale rule if you plan to repurchase a similar investment within 30 days of selling at a loss, since that disallows the loss for the current year. This rule applies to securities, not real estate, but it matters if your loss-harvesting strategy touches your brokerage account.
Documents to Save Before and After the Sale
Keep closing statements from both the purchase and the sale, every improvement receipt and contractor invoice, any 1099-S received, and records proving residency dates if claiming Section 121. The IRS requires retaining property records until the statute of limitations expires for the sale’s tax year, generally three years after filing, though longer in some cases.
For inherited property, also keep the appraisal or other documentation establishing fair market value on the date of death, since that becomes your stepped-up basis under IRC Section 1014.
How Hopkins CPA Firm Can Help With Property Tax Planning
Property tax decisions carry real financial weight, and getting the basis calculation or exclusion eligibility wrong can cost five or six figures. We at Hopkins CPA Firm bring a team with over 150 years of combined IRS resolution experience, including former IRS agents and revenue officers, to every property tax planning conversation.
Here is how we help:
- We review your purchase records, improvement history, and residency timeline to calculate your actual adjusted basis and exclusion eligibility before you list the property.
- We coordinate 1031 exchange timing with qualified intermediaries so the 45-day and 180-day deadlines never put your deferral at risk.
- We model your sale against current capital gains brackets and NIIT thresholds so you know your tax bill before closing, not after.
We have resolved over 10,000 IRS cases and saved clients more than $50,000 on average in penalties and tax exposure. If you are planning a property sale this year, talk to us before you sign anything with a property tax planning consultation.
Mistakes to Avoid Before Listing the Property
- Selling before hitting the 24-month ownership and use threshold without checking for a qualifying unforeseen circumstance.
- Throwing away receipts for capital improvements permanently erases your ability to raise your basis.
- Assuming a 1031 exchange applies to a personal residence: it does not.
- Missing the 45-day identification deadline on an investment property exchange because a qualified intermediary was not lined up in advance.
- Ignoring depreciation recapture on a former rental property, which gets taxed at a different rate than the rest of your gain.
- Forgetting to report a sale that generated a 1099-S, even when the gain is fully excluded under Section 121.
The Bottom Line on Property Capital Gains Tax
Reducing paying capital gains tax on property comes down to matching the right IRS provision to your specific sale. A primary home leans on the Section 121 exclusion, an investment property leans on a 1031 exchange, and every property benefits from a carefully tracked basis. Capital losses elsewhere in your portfolio can trim what is left after exclusions and deferrals are applied.
Hopkins CPA Firm brings former IRS agents and 150-plus years of combined resolution experience to exactly this kind of property tax planning, the kind of experience that catches the basis adjustment or filing detail a general tax preparer might miss. Contact us before your next property sale closes.
FAQs
Yes, through legal provisions like the Section 121 exclusion, basis adjustments, and 1031 exchanges, not through hiding income or misreporting gain.
Only on gains above $250,000 (single) or $500,000 (married filing jointly), provided you meet the 24-month ownership and use test.
Capital improvements like roofs, additions, and remodels raise your basis; selling costs like commissions and transfer taxes reduce your reportable gain directly.
Not for a personal residence; that rule ended in 1997. A 1031 exchange defers gain on investment property only, not a primary home.
Before listing, ideally 60 to 90 days out, so that basis records, exclusion eligibility, and any 1031 exchange timeline are confirmed before you sign a contract.