Real Estate Capital Gains Tax: Exclusions, Rates, and Reporting

Real estate capital gains tax applies when a property is sold for more than its adjusted cost basis, and the rules governing that liability are among the most consequential in US tax law for property owners. Federal treatment under the Internal Revenue Code determines whether gains are taxed at ordinary income rates or preferential long-term rates, and a statutory exclusion removes up to $500,000 of gain from federal taxation for qualifying primary residence sales. The interaction between federal provisions, state-level capital gains taxes, and depreciation recapture creates a layered framework that affects every residential and commercial property transaction.


Definition and scope

Capital gains tax on real estate is the federal — and often state — tax imposed on the profit realized when real property is sold or exchanged. Under 26 U.S.C. § 1001, gain is the amount by which the amount realized exceeds the adjusted basis of the property. Adjusted basis begins with the original purchase price and is modified upward by capital improvements and downward by depreciation deductions claimed during ownership.

The Internal Revenue Service (IRS) classifies real estate gains as either short-term or long-term depending on the holding period. Property held for 12 months or fewer produces short-term gain, taxed at ordinary income rates ranging from 10% to 37% (IRS Revenue Procedure 2023-34, tax year 2024 rate schedules). Property held for more than 12 months produces long-term gain, eligible for preferential rates of 0%, 15%, or 20% depending on taxable income thresholds.

The scope extends beyond simple sale transactions. Involuntary conversions, like-kind exchanges under 26 U.S.C. § 1031, installment sales under 26 U.S.C. § 453, and partial sales of property interests all trigger capital gain analysis under distinct rules. State income tax adds a second layer: 41 states and the District of Columbia impose their own income or capital gains taxes, with rates and exclusion rules that diverge substantially from federal treatment (Tax Foundation, State Individual Income Tax Rates, 2024).

Transactions involving property providers may also implicate net investment income tax (NIIT) under 26 U.S.C. § 1411, which imposes an additional 3.8% surcharge on capital gains for taxpayers whose modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly).


How it works

The federal capital gains calculation on a real estate sale follows a defined sequence:

  1. Determine amount realized — the sale price plus any liabilities assumed by the buyer, minus selling expenses such as commissions and closing costs.
  2. Calculate adjusted basis — original purchase price, plus capital improvements (not repairs), minus accumulated depreciation deductions.
  3. Compute realized gain — amount realized minus adjusted basis.
  4. Apply applicable exclusions — the primary residence exclusion under 26 U.S.C. § 121 reduces or eliminates gain on qualifying homes.
  5. Classify remaining gain — separate depreciation recapture (taxed at a maximum 25% rate under 26 U.S.C. § 1250) from remaining capital gain.
  6. Apply the applicable rate — 0%, 15%, or 20% for long-term capital gain; ordinary income rates for short-term gain.
  7. Assess NIIT applicability — apply the 3.8% surcharge if income thresholds are met.
  8. Report on the correct form — Schedule D of Form 1040 aggregates capital gain transactions; Form 8949 itemizes individual sales; Form 4797 covers business property.

Depreciation recapture under § 1250 is a frequently misunderstood element. Rental property owners who have claimed depreciation deductions over ownership must recapture the lesser of total depreciation taken or total gain realized, at a statutory maximum rate of 25%, before the remaining gain receives long-term capital gain treatment.


Common scenarios

Primary residence sale. Under § 121, a taxpayer who has owned and used the property as a principal residence for at least 2 of the 5 years preceding the sale may exclude up to $250,000 of gain ($500,000 for married couples filing jointly). Reduced exclusions apply when the ownership-and-use test is only partially satisfied due to employment relocation, health events, or unforeseen circumstances, as defined in IRS Publication 523.

Rental property sale. No § 121 exclusion applies to pure rental property. The full gain is subject to capital gains tax, with accumulated depreciation recaptured at the 25% maximum rate. A property purchased for $300,000, depreciated by $80,000, and sold for $450,000 produces a $150,000 realized gain — $80,000 of which is subject to recapture and $70,000 subject to the long-term rate.

Like-kind exchange (§ 1031). Investors may defer all capital gains tax — including depreciation recapture — by exchanging investment or business property for qualifying replacement property within the timelines specified under Treasury Regulation § 1.1031. The 45-day identification window and 180-day closing window are statutory and non-extendable except in federally declared disasters.

Inherited property. Property acquired by inheritance receives a stepped-up basis to fair market value at the date of the decedent's death under 26 U.S.C. § 1014, effectively eliminating capital gains on pre-death appreciation.


Decision boundaries

The central distinction in real estate capital gain analysis is investment property versus primary residence, a classification that determines § 121 exclusion eligibility, § 1031 exchange eligibility, and depreciation recapture exposure simultaneously.

A secondary distinction separates short-term from long-term holding periods. The 12-month threshold is absolute; a property sold on day 364 of ownership receives no preferential rate, while the same property sold on day 366 qualifies for the long-term schedule.

A third boundary governs active dealer status versus passive investor status. Taxpayers who buy and sell real property as a trade or business — classified as dealers under 26 U.S.C. § 1221(a)(1) — do not recognize capital gain at all; their profits constitute ordinary income and are also subject to self-employment tax. Dealer classification turns on facts-and-circumstances analysis, not simple transaction volume.

Reporting obligations likewise differ by transaction type. Installment sales require Form 6252 in each year payments are received. Like-kind exchanges require Form 8824. Partial exclusions under § 121 require specific disclosure on Form 8949. The IRS Instructions for Schedule D and IRS Publication 544 provide the authoritative mapping between transaction type and reporting form.

The property provider network purpose and scope resource provides contextual background on how property transaction records are structured for reference purposes, and the how-to-use-this-property-resource page covers how the National Property Authority organizes transaction-related reference materials.


References

 ·   ·