Most homes have a mortgage when sold. Homeowners can deduct their mortgage interest annually. But how does a mortgage affect capital gains when the home is sold for a profit? This is what we'll dig into today.
Calculating Capital Gains on the Sale of a Home
Capital gains result from selling a home for a profit. There are no taxable gains if the home is sold for breakeven or a loss. Capital gains are the difference between the sale price and the adjusted cost basis. This calculation is similar to most any capital asset.
We can see how to arrive at the capital gains figure using a few examples.
Purchase price: $250,000
+ Improvements: $25,000
= Adjusted Basis: $275,000
Sales price: $350,000
- Closing cost: 8% ($28,000)
Capital gains: $47,000 ($322,000 - $275,000)
Homeowners who have lived in the home for at least 2 of the last 5 years can benefit from the home exclusion. This exclusion is $250,000 for single filers and $500,000 for married filers.
A single filer in the 15% tax bracket who has lived in the home for four years will have long-term capital gains of $7,050.
Since the exclusion of $250,000 is more than the $7,050 of taxable gains, this filer will not owe taxes on the home.
Here’s an example that uses the exclusion.
Purchase price: $500,000
Improvements: $50,000
Adjusted basis: $550,000
Sales price: $900,000
Closing cost: 8% ($72,000)
Capital gains: $278,000
Without the exclusion, the filer would owe taxes on $278,000. Once the $250,000 exclusion is applied, they only owe taxes on $28,000.
If the homeowner sells the home for a loss, the exclusion does not apply because taxes are not owed on a loss. The homeowner can deduct up to $3,000 of loss. Any remaining loss is carried over into future years.
How Does a Mortgage Impact Capital Gains?
A mortgage doesn’t directly impact capital gains. However, homeowners who have a qualified mortgage and itemize their deductions can deduct mortgage interest annually.
Once the home is sold, the mortgage doesn't impact capital gains. The homeowner will use sale proceeds to pay off their mortgage.
Selling a home is a time-consuming and complex process, especially when you're trying to figure out the various components that may impact capital gains. Working with an experienced realtor and tax specialist can ensure this process goes smoothly.
This material is for general information and educational purposes only. Information is based on data gathered from what we believe are reliable sources. It is not guaranteed as to accuracy, does not purport to be complete and is not intended to be used as a primary basis for investment decisions. It should also not be construed as advice meeting the particular investment needs of any investor.
Realized does not provide tax or legal advice. This material is not a substitute for seeking the advice of a qualified professional for your individual situation.
Hypothetical examples shown are for illustrative purposes only.