For many homeowners, rising property values have created significant equity over the past several years. While selling a home at a substantial profit is usually good news, it’s important to understand the potential tax consequences before closing the sale.
Depending on your profit, how long you’ve owned and lived in the property, and your income level, selling your home could result in capital gains tax. In some situations, the 3.8% Net Investment Income Tax (NIIT) may also apply.
Fortunately, many homeowners qualify for generous tax exclusions that can eliminate or significantly reduce the taxable gain.
Take Advantage of the Home Sale Exclusion
If you’re selling your primary residence, you may be able to exclude a large portion of your profit from federal income taxes.
Eligible homeowners can exclude:
- Up to $250,000 of capital gains if filing as an individual
- Up to $500,000 if married and filing jointly
To qualify, you generally must meet these requirements:
- You owned the home for at least two years during the five years before the sale.
- You lived in the home as your primary residence for at least two years during that same five-year period.
- You haven’t claimed the home sale exclusion on another property within the previous two years.
The ownership and residency periods do not have to occur at the same time.
When Your Home Sale Becomes Taxable
If your profit exceeds the available exclusion, the remaining gain is generally subject to long-term capital gains tax, provided you’ve owned the property for more than one year. Current long-term capital gains tax rates are typically 15% or 20%, depending on your taxable income.
If you owned the property for one year or less, any gain is generally treated as short-term and taxed at your ordinary income tax rate, which may be considerably higher.
Vacation homes, second homes, and investment properties usually do not qualify for the primary residence exclusion. As a result, the entire gain may be taxable.
However, if the property is used as a rental or business asset, other tax strategies—such as an installment sale or a Section 1031 like-kind exchange—may help defer taxes in certain situations.
Understand When the Net Investment Income Tax Applies
Some homeowners may also owe the 3.8% Net Investment Income Tax (NIIT) in addition to capital gains tax.
If you qualify for the primary residence exclusion, the excluded portion of your gain is not subject to the NIIT.
However, gains that exceed the exclusion—or gains from selling a second home or vacation property—may be subject to the tax if your Modified Adjusted Gross Income (MAGI) exceeds:
- $200,000 for single filers
- $250,000 for married couples filing jointly
- $125,000 for married taxpayers filing separately
Your overall tax situation will determine whether the NIIT applies and how much additional tax you may owe.
Keep Accurate Records of Your Home’s Tax Basis
Your taxable gain is determined by subtracting your adjusted tax basis from the home’s selling price.
Your basis generally includes:
- The original purchase price
- Closing costs that qualify
- Major capital improvements, such as:
- Kitchen renovations
- Room additions
- New roofing
- HVAC replacements
Routine maintenance and repairs—including painting, landscaping, or fixing leaks—do not increase your tax basis.
If you’ve claimed depreciation for business use of your home or deducted casualty losses, those adjustments generally reduce your basis and may increase your taxable gain.
Maintaining detailed records of home improvements can help minimize taxes when you eventually sell.
Can You Deduct a Loss on the Sale?
In most cases, losses from selling a personal residence are not tax deductible.
However, if part of your home was used exclusively for business purposes or rented to tenants, the loss related to that portion may qualify for a tax deduction under certain circumstances.
Plan Ahead Before Selling Your Home
Every home sale has unique tax consequences. Some homeowners pay no federal tax at all, while others may face significant capital gains taxes depending on their circumstances.
Understanding the available exclusions, keeping accurate records, and planning before listing your property can help reduce unexpected tax bills and maximize your after-tax proceeds.
If you’re considering selling your home, consult with a qualified tax professional before putting it on the market. Careful planning can help you estimate your tax liability and identify opportunities to reduce or defer taxes.
