$Missed Deductions

Do I have to pay taxes on the profit from selling my house?

Home Buyingbeginner3 answers · 5 min readUpdated February 28, 2026

Quick Answer

Most homeowners pay no taxes on home sale profits thanks to the home sale exclusion. Single filers can exclude up to $250,000 in gains, and married couples can exclude up to $500,000, provided they meet the 2-out-of-5-year ownership and residency requirements.

Best Answer

RK

Robert Kim, Tax Return Analyst

Best for people selling their primary residence who have lived there for at least 2 of the last 5 years

Top Answer

How the home sale exclusion works


In most cases, you won't owe taxes on your home sale profit. The IRS allows single taxpayers to exclude up to $250,000 in capital gains, and married couples filing jointly can exclude up to $500,000. According to IRS Publication 523, you qualify for this exclusion if you owned and lived in the home as your primary residence for at least 2 of the 5 years before the sale.


The exclusion applies to your actual profit (gain), not the sale price. Your gain equals your sale price minus your "basis" — typically what you paid for the home plus qualifying improvements.


Example: $400,000 home sale with no taxes owed


Let's say you're married and bought your home for $300,000 in 2019. You added a deck for $15,000 and new windows for $10,000, bringing your basis to $325,000. In 2026, you sell for $650,000.


  • Sale price: $650,000
  • Minus basis: $325,000
  • Your gain: $325,000
  • Exclusion (married): $500,000
  • Taxes owed: $0

  • Even with a $325,000 profit, you owe no federal taxes because it's under the $500,000 married exclusion limit.


    When you might owe taxes on home sale profits


    You'll owe capital gains taxes if:


  • Your gain exceeds the exclusion limits ($250K single, $500K married)
  • You don't meet the 2-out-of-5-year rule for ownership and residence
  • You've used the exclusion in the past 2 years (with limited exceptions)
  • The home wasn't your primary residence (investment properties don't qualify)

  • Tax rates on home sale gains


    If you do owe taxes, the rate depends on how long you owned the home:


  • Owned more than 1 year: Long-term capital gains rates (0%, 15%, or 20% based on income)
  • Owned 1 year or less: Ordinary income tax rates (10% to 37%)

  • For 2026, married couples pay 0% long-term capital gains tax on income up to $94,050, 15% on income up to $583,750, and 20% above that threshold.


    What you should do


    Before selling, calculate your potential gain and verify you meet the exclusion requirements. Keep records of your original purchase price and all qualifying home improvements — these increase your basis and reduce your taxable gain.


    If your gain might exceed the exclusion limits, consider timing strategies or consult a tax professional. Use our return scanner to review past returns and ensure you haven't missed any basis adjustments.


    Key takeaway: Most homeowners pay zero taxes on home sale profits thanks to the $250,000/$500,000 exclusion, provided they meet the 2-out-of-5-year ownership and residency test.

    Key Takeaway: Most homeowners pay zero taxes on home sale profits thanks to the $250,000/$500,000 exclusion, provided they meet the 2-out-of-5-year ownership and residency test.

    Home sale exclusion limits and requirements

    Filing StatusExclusion LimitOwnership TestResidency Test
    Single$250,0002 out of 5 years2 out of 5 years as primary residence
    Married Filing Jointly$500,0002 out of 5 years2 out of 5 years as primary residence
    Married Filing Separately$250,000 each2 out of 5 years2 out of 5 years as primary residence

    More Perspectives

    MW

    Michelle Woodard, Tax Policy Analyst

    Best for people selling their first home who want to understand the basics of home sale taxation

    Don't panic — most first-time sellers owe nothing


    As a first-time seller, the tax rules might seem intimidating, but here's the good news: according to the National Association of Realtors, over 95% of homeowners who sell their primary residence owe no federal taxes on their profits.


    The key is understanding your "basis" — this isn't just what you paid for the house. Your basis includes:


  • Original purchase price
  • Closing costs when you bought
  • Capital improvements (not repairs)
  • Certain selling expenses

  • Example for a typical first-time seller


    You bought your starter home in 2021 for $250,000. You paid $3,000 in closing costs, spent $8,000 on a new roof, and $5,000 finishing the basement. Your basis is $266,000.


    If you sell for $350,000, your gain is only $84,000 ($350,000 - $266,000). Since this is well under the $250,000 exclusion (or $500,000 if married), you owe zero taxes.


    What counts as improvements vs. repairs


    This distinction matters for your basis:


    Improvements (add to basis): New roof, kitchen remodel, adding a deck, finishing basement, new HVAC system


    Repairs (don't add to basis): Painting, fixing leaks, replacing broken appliances, routine maintenance


    Special situations for first-time sellers


    If you lived in the home less than 2 years due to job change, health issues, or other qualifying circumstances, you might qualify for a partial exclusion. For example, if you lived there 1 year out of the required 2, you could exclude up to $125,000 (50% of the full exclusion) as a single filer.


    Key takeaway: Keep all records of home improvements and closing costs — they reduce your taxable gain and most first-time sellers end up owing no taxes at all.

    Key Takeaway:

    RK

    Robert Kim, Tax Return Analyst

    Best for homeowners whose sale profits might exceed the exclusion limits or who own expensive properties

    When the exclusion isn't enough


    If you're selling a high-value home or one that's appreciated significantly, your gain might exceed the $250,000/$500,000 exclusion limits. Per IRC Section 121, the excess gain is subject to capital gains tax.


    Example: High-value home with taxable gain


    You're married and bought a home in 2018 for $600,000. After $50,000 in improvements, your basis is $650,000. You sell in 2026 for $1,400,000.


  • Gain: $750,000 ($1,400,000 - $650,000)
  • Exclusion: $500,000 (married)
  • Taxable gain: $250,000
  • Tax owed (15% rate): $37,500

  • Strategies to minimize taxes


    Maximize your basis: Include all qualifying improvements, selling expenses (realtor commissions, title insurance), and original closing costs. A $10,000 kitchen remodel reduces your taxable gain by $10,000.


    Timing considerations: If you're close to the 2-year residency requirement, waiting might save significant taxes. The exclusion can be worth $37,500-$100,000 depending on your tax bracket.


    Installment sale: If your gain is substantial, consider an installment sale to spread the tax burden over multiple years and potentially stay in lower capital gains brackets.


    State tax implications


    Don't forget state taxes. States like California don't conform to the federal exclusion and may tax all gains above $250,000/$500,000. Other states like Florida and Texas have no state capital gains tax.


    Key takeaway: Even high-value homeowners can significantly reduce taxes through proper planning and maximizing their basis — every improvement dollar saves 15-20 cents in taxes.

    Key Takeaway:

    Sources

    home sale exclusioncapital gains taxprimary residencehome selling taxes

    Reviewed by Robert Kim, Tax Return Analyst on February 28, 2026

    This content is for educational purposes only and is not a substitute for professional tax advice. Consult a qualified tax professional for advice specific to your situation.