Skip to main content
Tax Implications of Selling Property

Tax Implications of Selling Property

Guide to capital gains on real estate, depreciation recapture, 1031 exchanges, and primary residence exclusions.

Overview

This comprehensive guide covers tax implications of selling property for United States. Understanding income tax in United States is essential for compliance and effective tax planning. This guide walks you through the key concepts, requirements, and best practices to help you navigate the tax landscape confidently.

Last updated: July 2026.

Key Topics

1. Capital Gains on Real Estate

When selling real estate, the profit is calculated as the sale price minus your cost basis (purchase price plus improvements and selling costs). If the property was held for more than one year, it qualifies for long-term capital gains rates. Rental properties that have depreciated over time present an additional tax consideration: when you sell, you must recapture the depreciation deductions you previously claimed, which is taxed at a maximum rate of 25%.

2. Primary Residence Exclusion

Homeowners can exclude up to $250,000 in capital gains ($500,000 for married filing jointly) from the sale of their primary residence, provided they have lived in the home for at least two of the previous five years. The property does not need to be your primary residence for both years, but it does not need to be your primary residence for the entire two-year period — just meet the ownership and use tests.

3. 1031 Exchange

A Section 1031 exchange allows investors to defer all capital gains tax by reinvesting the proceeds from a property sale into a like-kind replacement property. Both the relinquished property and the replacement property must be used for business or investment purposes. The exchange must be completed within 180 days of the sale, and a qualified intermediary must facilitate the transaction.

Step-by-Step Guide

1

Determine Your Cost Basis

Add the original purchase price to all capital improvements (not routine repairs) and subtract any depreciation taken to arrive at your adjusted cost basis.

2

Calculate the Gain or Loss

Subtract the adjusted cost basis and selling expenses (commission, closing costs, etc.) from the sale price to determine your capital gain or loss.

3

Depreciation Recapture

If the property was a rental, calculate the total depreciation claimed and recognize it as unrecaptured Section 1250 gain taxed at up to 25%.

4

Apply Exclusion If Eligible

If the property was your primary residence, calculate whether you qualify for the $250,000/$500,000 exclusion.

5

Consider a 1031 Exchange

If reinvesting in another investment property, explore using a Section 1031 exchange to defer capital gains tax entirely.

6

Report on Tax Return

Report the sale on Schedule D and Form 8949. Depreciation recapture may require additional schedules and forms.

Tips & Best Practices

  • Keep all records of home improvements to maximize your cost basis and minimize taxable gain when selling.
  • 1031 exchanges are complex transactions — use a qualified intermediary and consult a tax professional to ensure compliance.
  • If you are selling your primary residence, timing the sale to maximize the two-year ownership and use test is critical for qualifying for the full exclusion.

Official Resources

For the most accurate and up-to-date information, visit the official tax authority:

Internal Revenue Service (IRS)