Do you have to pay tax when selling a house?

Asked by: Mrs. Madonna Crist II  |  Last update: August 7, 2026
Score: 4.9/5 (58 votes)

You may have to pay federal capital gains tax if you sell your house for a profit, but many homeowners owe little or nothing. If you owned and lived in the home for at least two of the five years before the sale, you can exclude up to $ 250 , 000 $ 2 5 0 , 0 0 0 (single) or $ 500 , 000 $ 5 0 0 , 0 0 0 (married filing jointly) of the gain from your income.

Do you have to pay IRS taxes when you sell a house?

Taxpayers who don't qualify to exclude all of the taxable gain from their income must report the gain from the sale of their home when they file their tax return. Anyone who chooses not to claim the exclusion must report the taxable gain on their tax return.

What amount is taxable when selling a house?

When selling a house, you usually pay capital gains tax on the profit, but can often exclude up to $250,000 (single) or $500,000 (married filing jointly) if you've lived there for 2 of the last 5 years. For profits above the exclusion, long-term gains (owned over a year) are taxed at 0%, 15%, or 20% based on income, while short-term gains (owned a year or less) are taxed at your ordinary income rate.

How much is capital gains tax on a $500,000 house?

When you sell your primary residence, $250,000 of capital gains (or $500,000 for a couple) are exempted from capital gains taxation. This is generally true only if you have owned and used your home as your main residence for at least two out of the five years prior to the sale.

How much capital gains do I pay on $400,000?

If you sell a property and realize a $400,000 capital gain after June 25, 2024: The first $250,000: 50% taxable ($125,000) The next $150,000: 66.67% taxable ($100,005) Total taxable: $225,005.

Watch Out For Capital Gains when Selling Your House

28 related questions found

When you sell a house, do you get a tax document?

The seller should also be aware of Form 1099-S, “Proceeds From Real Estate Transactions.” A seller will receive this form if the gain on the sale of the home is not entirely excluded from income. The gain from your home can be tax-free up to $250,000 if single or $500,000 if married.

How much capital gains do I pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

How much capital gains tax do you pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

How can I legally avoid capital gains tax?

A common way to defer or reduce your capital gains taxes is to use tax-advantaged accounts. Retirement accounts such as 401(k) plans, and individual retirement accounts offer tax-deferred investment. You don't pay income or capital gains taxes on assets while they remain in the account.

What is the 6 year rule?

If you use your former home to produce income (for example, you rent it out or make it available for rent), you can choose to treat it as your main residence for up to 6 years after you stop living in it. This is sometimes called the '6-year rule'. You can choose when to stop the period covered by your choice.

Does the IRS know when you sell your house?

That's simply how the law works in California and across the United States. With the help of real estate settlement agents, the IRS has thorough reporting on the sale of your home, including all associated financial transactions.

What is the 2 year 5 year rule?

The "2-year, 5-year rule" primarily refers to the IRS rule allowing homeowners to exclude up to $250,000 (or $500,000 married) of capital gains from the sale of their primary residence if they owned and lived in it as their main home for at least 2 years out of the 5 years before the sale, meeting both ownership and use tests within that 5-year window. There's also a "5-year rule" for Roth IRAs, requiring separate 5-year periods for contributions and conversions to avoid taxes. 

How much capital gains tax on $300,000?

Capital gains tax on $300,000 depends on your filing status and total income, but for most, it will be taxed at the 15% federal rate, meaning around $45,000 in tax, potentially rising to 20% if your total income is very high, and you'll also need to account for state taxes and potentially a 3.8% Medicare surtax. A $300,000 gain usually falls into the 15% bracket for single filers (above $48,350) and married filing jointly (above $96,700), while for married filing separately, it hits the 20% bracket (over $300,000).

How to calculate capital gains tax on sale of house?

To calculate capital gains on a home sale, find your "Amount Realized" (Sale Price - Selling Costs) and subtract your "Adjusted Basis" (Original Purchase Price + Improvements + Buying Costs), then see if the gain qualifies for the IRS $250k/$500k exclusion for primary residences; any profit above the exclusion is taxable. 

How much capital gains will I pay on my property?

Capital gains tax on property depends on if it's your primary home (often excluded) or investment property, the holding period (short-term taxed as ordinary income, long-term at 0%, 15%, or 20%), and your income bracket; for primary homes, up to $250k (single) / $500k (married) profit is often excluded if lived in for 2 of last 5 years, while investment property gains are generally 0%, 15%, or 20% (long-term) or up to 37% (short-term), with potential 25% depreciation recapture.

How soon do you have to buy a house to avoid capital gains?

You don't have a strict timeline to buy another home to avoid capital gains on your primary residence; instead, you must meet the IRS's "2-out-of-5-year rule" for ownership and use of the sold home, allowing you to exclude up to $250k/$500k profit, but you can't use the exclusion again for two years if you sold another home recently, while deferring taxes on investment property requires a strict 45/180-day timeline for a 1031 exchange.

What is the 7 year rule for taxes?

If no return was filed, the period to file a claim is 2 years from the date the tax was paid. 7 years - For filing a claim for credit or refund due to an overpayment resulting from a bad debt deduction or a loss from worthless securities, the time to make the claim is 7 years from the date the return was due.

What are the biggest tax mistakes people make?

The biggest tax mistakes people make include filing late, math errors, incorrect personal info (like Social Security numbers), forgetting deductions/credits (like EITC), misreporting income, not signing forms, and making errors with bank details for direct deposit, all leading to delays, penalties, or missed savings, with using tax software or professionals helping avoid these common pitfalls.

What happens if you sell a house and don't buy another?

If you sell your home and decide not to buy immediately, you may still qualify for the capital gains tax exclusion if: The home was your primary residence. You meet the ownership and use tests. You haven't used the exclusion on another home in the last two years.

How much capital gains will I pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

Who is exempt from capital gains tax?

Certain joint returns can exclude up to $500,000 of gain. You must meet all these requirements to qualify for a capital gains tax exemption: You must have owned the home for a period of at least two years during the five years ending on the date of the sale.