ImageImage

You just sold your investment property for $450,000. You purchased it five years ago for $300,000. Now you're facing a $150,000 capital gain and wondering how much the IRS will take. The answer depends on several critical factors: how long you owned the property, your income level, and specific exclusions available for primary residences.

Capital gains tax on real estate is the federal tax you pay on profits from selling property. For 2025, long-term capital gains (property held over one year) are taxed at 0%, 15%, or 20% depending on your income bracket, while short-term gains face ordinary income tax rates of up to 37%. Understanding these rates and available strategies can save you tens of thousands of dollars.

What Is Capital Gains Tax on Real Estate?

Capital gains tax applies to the profit you make when selling real estate property. The gain is calculated by subtracting your adjusted cost basis (original purchase price plus improvements) from the sale price, minus selling expenses like real estate commissions and closing costs.

The Internal Revenue Service distinguishes between two types of capital gains:

Short-term capital gains: Properties held for one year or less, taxed as ordinary income at your regular income tax rate (10% to 37% for 2025)

Long-term capital gains: Properties held for more than one year, taxed at preferential rates (0%, 15%, or 20%)

Example Calculation

If you bought a rental property for $200,000, spent $50,000 on improvements, and sold it for $350,000 with $20,000 in selling costs, your taxable capital gain would be $80,000 ($350,000 - $200,000 - $50,000 - $20,000).

2025 Capital Gains Tax Rates for Real Estate

The capital gains tax rate you pay depends on your taxable income and filing status. For 2025, the IRS has established three long-term capital gains tax brackets that significantly impact your tax liability on real estate sales.

2025 Long-Term Capital Gains Tax Rates

Filing Status

0% Rate

15% Rate

20% Rate

Single

Up to $47,025

$47,026-$518,900

Over $518,900

Married Filing Jointly

Up to $94,050

$94,051-$583,750

Over $583,750

Head of Household

Up to $63,000

$63,001-$551,350

Over $551,350

Important: High-income earners may also face the 3.8% Net Investment Income Tax (NIIT) on capital gains if their modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly), bringing the effective top rate to 23.8%.

Primary Residence Exclusion: The $250,000/$500,000 Rule

The most powerful tax break for homeowners is the primary residence capital gains exclusion. If you meet specific ownership and use requirements, you can exclude up to $250,000 of capital gains ($500,000 for married couples filing jointly) from your taxable income when selling your home.

Qualification Requirements

Ownership test: You must have owned the home for at least two years during the five-year period ending on the sale date

Use test: You must have lived in the home as your primary residence for at least two years during that same five-year period

Frequency limit: You haven't used this exclusion on another home sale in the past two years

Not acquired through 1031 exchange: The property wasn't acquired through a like-kind exchange in the past five years

Real Example

A married couple bought their home in 2019 for $400,000 and sold it in 2025 for $850,000. Their capital gain is $450,000, but they can exclude $500,000, resulting in zero capital gains tax. If they were single, they'd exclude $250,000 and pay tax on the remaining $200,000.

Investment Properties vs. Primary Homes

The tax treatment differs dramatically between investment properties and primary residences. While primary homes qualify for the generous exclusion described above, rental properties and investment real estate face full capital gains taxation without this benefit.

Key Differences for Investment PropertiesDepreciation Recapture

If you claimed depreciation deductions on a rental property, you'll pay depreciation recapture tax at 25% on the depreciated amount when you sell, even if the property lost value. This applies separately from capital gains tax on the appreciation.

Staying informed about key 2025 tax law changes can help you optimize your real estate investment strategy and timing.

Strategies to Reduce Capital Gains Tax

Smart planning can significantly reduce your capital gains tax liability on real estate sales. While you can't avoid taxes entirely on investment property gains, several legitimate strategies can lower your tax bill or defer it to future years.

Proven Tax Reduction Strategies

Hold property over one year: Qualify for lower long-term capital gains rates instead of ordinary income rates. The difference between short-term and long-term rates can save you 10-17% on your tax bill

Time your sale strategically: If you expect lower income in a future year, delaying the sale could push you into a lower tax bracket and reduce your capital gains rate from 15% to 0%

Use a 1031 exchange: Defer all capital gains tax by reinvesting proceeds into a like-kind investment property within strict timelines (45 days to identify, 180 days to close)

Maximize your cost basis: Track all capital improvements (not repairs) to increase your adjusted basis and reduce taxable gain. This includes additions, renovations, and major upgrades like new roofs or HVAC systems

Convert rental to primary residence: Live in your rental property for at least two years to potentially qualify for the primary residence exclusion, though IRS rules limit this for former rentals

Offset gains with losses: Harvest capital losses from other investments in the same tax year to offset real estate gains. Losses can offset gains dollar-for-dollar

Installment sale method: Spread the gain over multiple years by accepting payments over time, potentially keeping you in a lower tax bracket each year

Opportunity Zone investment: Defer and potentially reduce capital gains tax by investing proceeds into Qualified Opportunity Funds within 180 days of the sale

These strategies work best with proper tax planning for your business and real estate portfolio. The right strategy depends on your specific situation, income level, and long-term investment goals.

State Capital Gains Taxes on Real Estate

Federal capital gains tax is only part of the equation. Most states also tax capital gains, though rates and rules vary significantly. Some states have no income tax at all, while others tax capital gains at rates approaching 14%.

States with No Capital Gains Tax (No State Income Tax)

Alaska, Florida, Nevada, New Hampshire (limited), South Dakota, Tennessee, Texas, Washington, and Wyoming. Selling property in these states means you only pay federal capital gains tax.

High State Capital Gains Tax States

California: Up to 13.3% (top bracket)

New York: Up to 10.9%

New Jersey: Up to 10.75%

Oregon: Up to 9.9%

Important Note on Residency

State tax is based on residency, not property location. If you're a California resident selling property in Texas, you'll still pay California state tax on the gain. However, if you've moved to a no-income-tax state before the sale, you may avoid state capital gains tax entirely.

For property investors, this creates opportunities for strategic planning. Establishing residency in a no-tax state before a major real estate sale can save six figures on a substantial gain. However, states scrutinize such moves closely, so genuine relocation with supporting documentation is essential.

Capital Gains Reporting and Documentation

Properly reporting capital gains from real estate sales is crucial for tax compliance. The IRS receives notification of your property sale through Form 1099-S, which your closing agent typically files. You must report this on your tax return even if you qualify for exclusions.

Required Forms and Documentation

Form 8949: Reports all capital asset sales and purchases, including real estate

Schedule D: Summarizes capital gains and losses from Form 8949

Form 4797: Required for investment property or business property sales, reports depreciation recapture

Schedule E: For rental property owners, shows rental income history

Essential Records to Maintain

  • Purchase documents (HUD-1 or closing disclosure) showing original cost
  • All capital improvement receipts and invoices (renovations, additions, major upgrades)
  • Sale documents showing final sale price and expenses
  • Real estate commission and closing cost invoices
  • Depreciation schedules for rental properties

The IRS can audit real estate transactions up to six years after filing if they suspect substantial underreporting. Understanding how to prepare for a tax audit and maintaining comprehensive documentation protects you if questions arise.

Frequently Asked Questions

Do I have to pay capital gains tax if I sell my house?

Not necessarily. If the property was your primary residence and you meet the ownership and use tests (owned and lived in it for two of the past five years), you can exclude up to $250,000 of gain ($500,000 for married couples). Any gain above these amounts is subject to capital gains tax. Investment properties don't qualify for this exclusion and face full capital gains taxation.

What's the difference between short-term and long-term capital gains on real estate?

Short-term capital gains apply to properties held for one year or less and are taxed at your ordinary income tax rate (10-37% for 2025). Long-term capital gains apply to properties held over one year and are taxed at preferential rates of 0%, 15%, or 20% depending on your income. The holding period makes a significant difference—potentially saving 17% or more in taxes.

How is capital gains tax calculated on inherited property?

Inherited property receives a 'step-up in basis' to the fair market value on the date of the decedent's death. This means if you inherit a home worth $500,000 that your parents bought for $100,000, your cost basis becomes $500,000. If you sell it shortly after inheriting for $510,000, you'd only pay capital gains tax on the $10,000 gain, not $410,000.

Can I avoid capital gains tax by reinvesting in another property?

Yes, but only through a 1031 like-kind exchange for investment properties. This allows you to defer all capital gains tax by reinvesting the proceeds into another investment property. You must identify the replacement property within 45 days and close within 180 days. This strategy doesn't apply to primary residences, which use the exclusion rules instead.

What expenses can I deduct to reduce my capital gain?

You can deduct selling expenses like real estate commissions, closing costs, legal fees, and transfer taxes. You can also add capital improvements (not repairs) to your cost basis—this includes additions, renovations, new roofing, HVAC systems, and major upgrades. Regular repairs like painting or fixing a leaky faucet don't count. Keep all receipts for improvements made during your ownership.

Do I pay capital gains tax if I sell at a loss?

For your primary residence, you cannot deduct a capital loss on your tax return. However, losses on investment properties can be deducted and used to offset other capital gains. If your capital losses exceed your gains, you can deduct up to $3,000 per year against ordinary income, with remaining losses carried forward to future years.

What happens if I convert my rental property to my primary residence?

You can potentially use the primary residence exclusion after meeting the two-year use requirement, but IRS rules limit this for former rentals. Post-2008, the exclusion is prorated based on years of qualified use versus non-qualified use. Additionally, you must pay depreciation recapture tax at 25% on all depreciation claimed during the rental period, even if you later qualify for the exclusion on appreciation.

How can Madras Accountancy help with real estate capital gains tax planning?

Madras Accountancy provides comprehensive tax planning services for real estate investors and CPA firms. Our team calculates your exact capital gains liability, identifies opportunities for tax reduction through strategies like 1031 exchanges and strategic timing, ensures proper documentation and reporting compliance, and coordinates with your CPA for seamless tax preparation. We've helped clients save an average of 18-24% on capital gains taxes through proactive planning.

Take Control of Your Real Estate Tax Strategy

Understanding capital gains tax on real estate empowers you to make informed decisions about when to sell, how to structure transactions, and which strategies can save you thousands of dollars. The difference between short-term and long-term rates, the power of the primary residence exclusion, and strategic planning tools like 1031 exchanges can dramatically impact your after-tax proceeds.

The key is planning ahead. Tax-saving strategies work best when implemented before the sale, not after. Whether you're selling your first investment property or managing a large real estate portfolio, working with experienced tax professionals ensures you take advantage of every available benefit while remaining fully compliant with IRS regulations.

Madras Accountancy specializes in real estate tax planning for investors, CPA firms, and property owners. Our team stays current on the latest IRS guidance and state tax laws to provide strategic advice that reduces your tax burden. We handle everything from calculating your exact liability to coordinating complex transactions like 1031 exchanges, giving you confidence in your tax position and peace of mind.

Table of Contents

Expert tips and emerging industry trends

View all posts
Icon
Icon
Image

November 12, 2025

Exit Strategy Modeling Real Estate: 7 Proven Methods (2025)

Plan your exit with real estate modeling strategies. Maximize returns using 7 proven methods for property disposition.

Image

November 12, 2025

CPA Retainer Plans for Real Estate Investors: Guide

Compare CPA retainer plans for real estate investors. Get year-round tax planning and save thousands in 2025.

View all posts
Icon
Icon