Buying or selling a home is often the largest financial transaction of a person's life. While the focus usually lands on interest rates, closing costs, and moving logistics, the tax consequences are equally significant. Whether you are a first-time buyer or a longtime homeowner looking to downsize, understanding the tax implications of buying or selling a home can save you thousands of dollars.
For the 2026 tax year, specific rules govern what you can deduct when you buy and how much profit you can keep tax-free when you sell. Navigating these rules correctly is essential to avoiding surprise tax bills and maximizing your financial position. In this guide, we will break down the key tax benefits for buyers and the critical capital gains rules for sellers.
Tax Benefits of Buying a Home
Transitioning from renting to owning opens the door to several tax advantages. However, most of these benefits require you to itemize your deductions rather than taking the standard deduction. It's important to compare both methods to see which lowers your tax liability more.
1. Mortgage Interest Deduction
For most homeowners, the mortgage interest deduction is the most valuable tax perk. You can deduct the interest you pay on up to $750,000 of mortgage debt ($375,000 if married filing separately). If you bought your home before December 16, 2017, the limit is higher at $1 million ($500,000 if married filing separately).
To claim this, you must itemize your deductions on Schedule A. This deduction applies to your primary residence and a second home, provided you don't rent the second home out for significant periods. If you are unsure whether itemizing makes sense for you, check out our guide on the difference between standard deduction and itemizing.
2. Property Tax Deduction (SALT Cap)
You can also deduct the state and local property taxes you pay on your home. However, under current tax law, there is a cap on the State and Local Tax (SALT) deduction. The total deduction for state and local income taxes (or sales taxes) plus property taxes is limited to $10,000 per year ($5,000 if married filing separately).
In areas with high property taxes, homeowners often hit this cap quickly, limiting the additional benefit of this deduction.
3. Mortgage Points
If you paid "points" to lower your interest rate when you bought your home, those points are generally deductible. In many cases, you can deduct the full amount in the year you paid them, provided specific requirements are met (e.g., the home is your primary residence, and paying points is an established business practice in your area). If you refinanced, however, you typically have to spread the deduction over the life of the loan.
For those new to the process, our First-Time Homebuyer's Mortgage Guide covers the basics of financing and closing costs in more detail.
Tax Implications of Selling a Home
When you sell your home, the primary tax concern is capital gains—the profit you make from the sale. Fortunately, the tax code offers a generous exclusion that allows many homeowners to avoid paying taxes on their profit entirely.
The Capital Gains Exclusion
If you sell your main home, you may be able to exclude up to $250,000 of gain from your income ($500,000 if you file a joint return with your spouse). This is known as the Section 121 exclusion. To qualify, you must meet the "ownership and use" tests:
- Ownership: You owned the home for at least two of the five years leading up to the sale.
- Use: You lived in the home as your primary residence for at least two of those five years.
The two years do not have to be continuous. For example, if you lived in the home for one year, rented it out for three, and then lived in it for another year, you would meet the requirement. Note that you can only claim this exclusion once every two years.
Calculating Your Gain (or Loss)
Your gain is not simply the selling price minus the original purchase price. You must calculate your "adjusted basis." Your basis starts with what you paid for the home, but it increases with the cost of capital improvements you've made over the years, such as adding a room, replacing the roof, or installing a new HVAC system. Routine repairs (like painting) do not count.
Formula: Selling Price - Selling Expenses (commissions, fees) - Adjusted Basis = Capital Gain.
If your gain is less than the exclusion amount ($250k/$500k), you owe $0 in capital gains tax. If it's higher, you only pay tax on the amount that exceeds the limit.
Exceptions to the 2-Year Rule
Life happens. Sometimes you must sell a home before living in it for two years due to unforeseen circumstances. The IRS allows for a partial exclusion if the sale is due to:
- A change in employment (your new job is at least 50 miles farther from your home than your old job).
- Health reasons (moving for a diagnosis, cure, or treatment).
- Unforeseen circumstances (divorce, death of a spouse, multiple births from the same pregnancy, or natural or man-made disasters).
In these cases, the exclusion is prorated based on how long you lived there. For instance, if you lived there for one year instead of two, you might be eligible for 50% of the maximum exclusion.
Reporting the Sale
Do you need to report the sale to the IRS? Not always. If your gain is fully excluded under the rules above, and you didn't receive a Form 1099-S, you may not need to report the sale on your tax return at all.
However, if you receive a Form 1099-S (Proceeds from Real Estate Transactions), you must report the sale on Form 8949 and Schedule D, even if you don't owe any tax. Failure to do so is a common tax mistake that will likely trigger an IRS notice.
Furthermore, you cannot deduct a loss on the sale of a personal residence. If you sell your home for less than your adjusted basis, it is considered a personal loss and offers no tax benefit.
Conclusion
The tax implications of buying or selling a home are a mix of lucrative benefits and strict rules. Buyers can lower their annual tax bills through interest and property tax deductions, while sellers can often walk away with significant profit tax-free thanks to the capital gains exclusion. Proper record-keeping—especially regarding home improvements—is vital to maximizing these benefits.
If you are planning a move in 2026, consult with a tax professional to ensure you are positioned to take full advantage of the tax code. A proactive approach can save you money and headaches down the road.
Frequently Asked Questions
Do I have to pay taxes if I sell my house and make a profit?
Not necessarily. If you have owned and lived in the home as your primary residence for at least two of the last five years, you can exclude up to $250,000 of profit (or $500,000 for married couples filing jointly) from capital gains taxes.
Can I deduct moving expenses when I buy a house?
Generally, no. Under current federal tax law (through 2025), moving expenses are only deductible for active-duty members of the Armed Forces who move pursuant to a military order. Some states may still allow a deduction, so check your local laws.
What home improvements are tax-deductible?
Home improvements are generally not deductible in the year you make them (unless they are for medical reasons, like installing a ramp). However, they add to your "basis" in the home, which reduces your taxable gain when you eventually sell. Keep receipts for big projects like roof replacements, additions, or kitchen remodels.
Is the cost of buying a home deductible?
Closing costs like title insurance, appraisal fees, and transfer taxes are generally not deductible. However, prepaid mortgage interest (points) and prepaid property taxes paid at closing are usually deductible in the year of purchase if you itemize.