Understanding Capital Gains in Real Estate

June 17, 2025

Share this article

Understanding Capital Gains in Real Estate

When you sell a stock, you owe taxes on your gain the difference between what you paid for the stock and what you sold it for. The same is true with selling a home (or a second home), but there are some special considerations.

How to Calculate Gain


In real estate, capital gains are based not on what you paid for the home, but on its adjusted cost basis. To calculate this:
1. Take the purchase price of the home: This is the sale price, not the amount of money you actually contributed at closing.
2. Add adjustments:
  • Cost of the purchase, including transfer fees, attorney fees, inspections, but not points you paid on your mortgage.
  • Cost of sale, including inspections, attorney's fee, real estate commission, and money you spent to fix up your home just prior to sale.
  • Cost of improvements, including room additions, deck, etc. Note here that improvements do not include repairing or replacing something already there, such as putting on a new roof or buying a new furnace.

3. The total of this is the adjusted cost basis of your home.  4. Subtract this adjusted cost basis from the amount you sell your home for. This is your capital gain.

A Special Real Estate Exemption for Capital Gains


Since 1997, up to $250,000 in capital gains ($500,000 for a married couple) on the sale of a home is exempt from taxation if you meet the following criteria:
  • You have lived in the home as your principal residence for two out of the last five years.
  • You have not sold or exchanged another home during the two years preceding the sale.

Also note that as of 2003, you also may qualify for this exemption if you meet what the IRS calls "unforeseen circumstances," such as job loss, divorce, or family medical emergency.

Recent Posts

September 17, 2025
As interest rates are trending downward, this shift is opening the door to new opportunities to lower monthly payments, consolidate debt, or tap into home equity.
September 8, 2025
In March 2026, the Homebuyers Privacy Protection Act will put an end to the unwanted solicitations many buyers receive after submitting a mortgage application.
September 3, 2025
Back-to-school season is here. Many Gen Z students are benefitting from a part-time job during the school year.
August 27, 2025
Mortgage strategies for retirement planning, including refinancing for retirement and more.
August 21, 2025
Refinances currently account for 46.5% of all mortgage activity. Is your home loan working for you? More homeowners are taking a strategic, big-picture approach to their finances—and home equity is playing a big role in that shift. With high-interest debt, rising living costs, and growing home equity balances, many of
August 14, 2025
Your down payment doesn't need to be a dealbreaker. Whether through local down payment assistance programs or federal loan options like FHA, VA, or USDA loans, there are multiple paths to affordable homeownership in 2025.
August 7, 2025
Looking to buy a new home before selling your current one? Most people think of a HELOC as a second mortgage or a way to tap into equity of your current home; however, another strategy for HELOCs is to use it as a bridge loan to secure a new home before selling your current one.
By marketingdept July 15, 2025
Buy Now, Sell Later: Qualifying for a New Home Without Selling Your Current One
July 1, 2025
To help you understand the buying process, we’ve broken it down into seven common steps The process can vary slightly from one person to the next, due to the many variables that are involved But it usually goes something like this
By marketingdept June 24, 2025
The Value Assurance program is a new and effective way to beat cash offers and increase your odds of getting your bid accepted without accumulating additional financial risk.
Show More