Home Equity & Net Proceeds

Do You Pay Taxes When You Sell Your House? How the $250,000 Exclusion Works

Do You Pay Taxes When You Sell Your House? How the $250,000 Exclusion Works

By LivLyte Editorial Team

12 min read

Horizontal bar chart of a hypothetical $600,000 home sale: the seller’s profit, or gain, is $280,000 after a $230,000 purchase price, $45,000 of improvements and $45,000 of selling costs. Under IRS rules the tax-free limit is $250,000 for a single filer, leaving $30,000 of taxable gain, and $500,000 for a married couple filing jointly, leaving $0. Bars are drawn to scale from $0 to $500,000.

KEY TAKEAWAY

Most people who sell their main home owe no federal income tax on the profit. If you owned and lived in the home for at least 2 of the last 5 years, you can usually exclude up to $250,000 of gain, or $500,000 if you’re married and file jointly.

Do you pay taxes when you sell your house? Usually not, if it’s your main home. Under IRS rules, you can exclude up to $250,000 of profit from your income, or up to $500,000 if you’re married and file a joint return, as long as you owned and lived in the home for at least 2 of the 5 years before the sale.

You may owe tax if your profit is bigger than that, if you don’t meet the 2-out-of-5-year rule, or if part of the home was a rental or a home office. This guide shows who qualifies for the exclusion, how to figure your profit (the IRS calls it your gain), when you must report the sale, and a hypothetical example with real numbers.

Key takeaways

  • Most people who sell their main home owe no federal income tax on the profit. The IRS lets you exclude up to $250,000 of gain, or $500,000 for married couples filing jointly.

  • To qualify, you generally must have owned the home and lived in it as your main home for at least 2 years during the 5 years before the sale, and not used the exclusion on another home in the last 2 years.

  • Your gain is not your sale price. It’s roughly the sale price, minus selling costs like agent commissions, minus what you paid for the home and the improvements you made.

  • If you get a Form 1099-S from your closing agent, you must report the sale on your tax return, even if you owe nothing.

  • You can’t deduct a loss on the sale of your home.

How much tax do you pay when you sell your house?

If your whole gain fits within the exclusion, you owe no federal income tax on it. If your gain is bigger, the extra part is taxed as a capital gain.

According to IRS Topic no. 409, a gain on something you owned for more than one year is long-term. Long-term gains are taxed at 0%, 15% or 20%, depending on your taxable income. The IRS says that for 2025, the rate on most net capital gain was no higher than 15% for most people. A gain on a home you owned for one year or less is short-term and is taxed like regular income.

Higher earners may also owe the 3.8% net investment income tax. IRS Topic no. 559 says it can apply when your modified adjusted gross income is over $200,000 if you’re single, or $250,000 if you’re married filing jointly. It doesn’t apply to the part of a home sale gain you exclude.

Your state may tax the gain too, and state rules can differ from federal rules. Property taxes and any transfer tax you pay at closing are separate costs, not income tax. Our guide to how much it costs to sell a house covers those.

Who qualifies for the $250,000 or $500,000 exclusion?

According to IRS Topic no. 701, you generally must pass two tests during the 5 years before the date of sale, plus a look-back rule:

  • Ownership test: You (or your spouse) owned the home for at least 24 months (2 years).

  • Use test: You lived in the home as your main home for at least 24 months. The months don’t have to be in a row, and you can meet the ownership and use tests during different 2-year periods.

  • Look-back rule: You generally can’t take the exclusion if you excluded the gain from another home sale during the 2 years before this sale.

To use the $500,000 amount, you must file a joint return. Either spouse can meet the ownership test, but both spouses must meet the use test.

Surviving spouses get extra help. IRS Publication 523 says a surviving spouse who hasn’t remarried may be able to use the $500,000 exclusion if the home is sold within 2 years of the spouse’s death and other conditions are met.

What if you lived there less than 2 years?

You may still get a partial exclusion. Publication 523 says you can qualify if the main reason you sold was a change in where you work, a health issue or an unforeseeable event. Its examples include:

  • Taking a new job at least 50 miles farther from the home than your old job

  • Moving to get medical care, or to care for a family member who is sick or injured

  • A death, a divorce or legal separation, or the home being destroyed or condemned

The partial amount depends on how long you owned and lived in the home. A tax professional can run the numbers with you.

How to figure your gain on a home sale, step by step

Your gain is your profit for tax purposes. The worksheet in Publication 523 works like this:

  1. Start with the sale price. This is the total amount you received for the home.

  2. Subtract your selling expenses. The IRS lists sales commissions, advertising fees, legal fees, and loan charges you paid that would normally be the buyer’s. The result is your “amount realized.”

  3. Figure your adjusted basis. This is generally what you paid for the home, plus some closing costs from your purchase, plus the cost of improvements.

  4. Subtract the basis from the amount realized. A positive number is a gain. A negative number is a loss.

  5. Subtract your exclusion. Whatever is left is your taxable gain.

Improvements raise your basis, which lowers your gain. The IRS says improvements add to your home’s value, make it last longer or adapt it to new uses. Its examples include a new roof, new siding, a new furnace or central air, an added bathroom or deck, and a kitchen modernization. Keep your purchase closing statement and your receipts for projects like these. They’re how you prove your basis.

Special cases that can create a tax bill

  • Home office or rental use. Publication 523 says depreciation you took for business or rental use after May 6, 1997, can’t be excluded and must be “recaptured.” Topic 409 says this kind of gain is taxed at up to 25%. Renting the home out before you moved in can also reduce your exclusion under the “nonqualified use” rules.

  • Inherited homes. Publication 523 says your basis in an inherited home is generally its fair market value on the date the owner died. That often means a small gain if you sell soon after. Learn more in our guide to selling a house after a parent dies.

  • Selling at a loss. The IRS says losses from selling personal-use property, such as your home, aren’t tax deductible.

  • Military and some government workers. Topic 701 says those on qualified official extended duty may be able to suspend the 5-year test period for up to 10 years.

Do you have to report the sale of your house?

Not always. Topic 701 says you must report the sale if you receive Form 1099-S, Proceeds From Real Estate Transactions, even if the gain is excludable. You must also report it if you can’t exclude all of your gain. You report the sale on Form 8949 and Schedule D (Form 1040).

Whether you get a 1099-S can depend on a form you sign at closing. The IRS instructions for Form 1099-S say a main home sold for $250,000 or less ($500,000 or less if you’re married) doesn’t have to be reported if the seller gives the closing agent a written certification. In it, the seller confirms the home was their main residence and the full gain is excludable. Ask your title or escrow company about this before closing.

Hypothetical example: the tax on a $600,000 home sale

This is a hypothetical example. A homeowner bought a house in 2012 for $230,000 and has lived in it ever since. Over the years they spent $45,000 on improvements: a new roof, a new furnace and a kitchen remodel. They sell for $600,000. Their selling costs are $45,000, based on the 6% commission and 1.5% closing cost defaults in LivLyte’s net proceeds calculator. For simplicity, the example treats all $45,000 as selling expenses and leaves out purchase closing costs.

Line item

Single filer

Married filing jointly

Sale price

$600,000

$600,000

Selling expenses

−⁠$45,000

−⁠$45,000

Amount realized

$555,000

$555,000

Adjusted basis

−⁠$275,000

−⁠$275,000

Gain

$280,000

$280,000

Exclusion used

−⁠$250,000

−⁠$280,000

Taxable gain

$30,000

$0

Est. federal tax (15%)

$4,500

$0

If the seller is single, $30,000 of the gain is taxable. At an assumed 15% rate, that’s about $4,500 of federal tax. If the seller is married, files jointly and both spouses meet the use test, the whole $280,000 fits under the $500,000 limit, and no federal income tax is due. The 15% rate is an assumption. Your rate depends on your total taxable income, and state tax may apply.

What could your home sell for as-is?

Enter your address to start your free Net Sheet: your estimated price, selling costs and what you could walk away with.

Your selling options compared, before taxes

How you sell changes what you walk away with. This hypothetical example uses the default assumptions in LivLyte’s net proceeds calculator for the same $600,000 home. The figures are before any income tax.

Line item

Traditional sale

Selling with LivLyte

Cash buyer (70%)

Estimated value

$600,000

$600,000

$600,000

Cash buyer discount

$0

$0

−⁠$180,000

Commissions or program fee

−⁠$36,000

−⁠$30,000

$0

Prep and staging

−⁠$10,800

$0

$0

Repairs from inspection

−⁠$16,800

$0

$0

Closing costs and transaction fees

−⁠$9,000

−⁠$30,000

$0

Seller concessions

−⁠$18,000

−⁠$6,000

$0

Move-out or leaseback

−⁠$2,000

$0 (free 14-day leaseback)

$0

Net proceeds

$507,400

$534,000

$420,000

In this example, selling with LivLyte nets $26,600 more than a traditional sale and $114,000 more than a cash offer at 70% of value. At 60% of value, a cash buyer would pay $360,000. Timing differs too. Based on the calculator’s averages, a traditional sale takes about 45 days to find a buyer plus 30 days to close. LivLyte averages about 15 days to a buyer plus about 30 days to close. A cash buyer may close in 20 to 30 days. These are averages, not guarantees.

Don’t take a much lower offer just to shrink a tax bill. In the tax example above, the single seller’s estimated federal tax was $4,500. In this table, the cash offer nets $87,400 less than a traditional sale.

The LivLyte column’s 5% transaction fees cover agent commissions and closing costs, which LivLyte pays. These figures are estimates, not offers. Commissions are negotiable, and your real numbers depend on your home, your market and your contract.

Disclosure: LivLyte publishes this article and is one of the options compared. Timelines and figures come from the default assumptions in LivLyte’s net proceeds calculator and are estimates, not guarantees.

Frequently asked questions

Do you have to pay taxes when you sell your house?

Usually not on your main home. If you owned and lived in it for at least 2 of the 5 years before the sale, you can generally exclude up to $250,000 of gain, or $500,000 if you’re married filing jointly. You only owe federal income tax on gain above that amount, or if you don’t qualify. You may still need to report the sale.

How can I avoid capital gains tax when selling my house?

Meet the 2-out-of-5-year ownership and use tests before you sell, and don’t use the exclusion on another home within 2 years. Keep records of improvements, since they raise your basis, and count selling expenses like commissions. If you must sell early for a job, health or another qualifying reason, ask a tax professional about a partial exclusion.

Do I pay taxes on my house sale if I buy another house?

Buying another home doesn’t change the federal tax on your sale. Under the rules in IRS Publication 523, the exclusion depends on the ownership and use tests and the 2-year look-back, not on whether you buy again. If your gain is more than your exclusion, the extra is taxable even if you put the money into a new home.

How long do you have to live in a house to avoid capital gains tax?

Generally at least 24 months (2 years) during the 5 years before the sale, and you must have owned it for at least 2 of those years too. The 2 years don’t have to be in a row. If you sell sooner because of a job move, health issue or unforeseeable event, you may qualify for a partial exclusion.

Does getting a Form 1099-S mean I owe tax?

No. A 1099-S only reports the sale to the IRS. If you receive one, you must report the sale on Form 8949, but you can still exclude the gain if you qualify. Many sellers of a main home don’t get a 1099-S at all, because they sign a certification at closing.

Is LivLyte a cash buyer?

No. LivLyte prices your home to attract a qualified buyer in about 15 days and lists it on the MLS with a local agent. Sellers receive up to 90% of the LivLyte Value at closing: a 5% program fee ($15,000 minimum) plus 5% for agent commissions and closing costs, paid at closing with nothing upfront. Homes already listed on the MLS aren’t accepted.

Our recommendation

If you’ve owned and lived in your home for at least 2 of the last 5 years and your gain is under $250,000 ($500,000 if married filing jointly), you likely owe no federal income tax on the sale. Pull together your purchase closing statement and improvement receipts, and estimate your gain with the IRS worksheet.

Talk with a CPA, enrolled agent or tax attorney before you list if your gain is close to the limit, you rented the home or used part of it for business, you inherited it, or you’re selling before the 2-year mark. If you’re only a few months short of 2 years and don’t qualify for a partial exclusion, waiting to sell may be the better option. Weigh the possible tax savings against your carrying costs.

To see what you’d actually walk away with before taxes, read if I sell my house for $300K, how much do I actually get.

Get your free Net Sheet from LivLyte

Want to know what you’d walk away with before you talk to your tax pro? Request a free Net Sheet to see what you could net with LivLyte compared with a traditional sale or a cash offer. It’s free, and not every property is accepted.

A+ BBB rating · 4.7-star Google rating

“Great company! After my mom passed away, I was dreading selling her house, but they took care of everything paperwork , showings, and all the little details so I didn’t have to stress.…”

Chris M ★★★★★

“LivLyte did everything they said they would. Sold my house in less than a month. The entire Team kept me informed through the entire process”

Ron Fryar ★★★★★

“They make it easy to sell my mom’s house. They walk you through the steps, it was easy and they are very nice people to work with.”

Mike C ★★★★★

Reviews are from real LivLyte customers. Individual results vary.

Sources

  1. Internal Revenue Service, Topic no. 701, “Sale of your home” (accessed Dec 5, 2026)

  2. Internal Revenue Service, Publication 523 (2025), “Selling Your Home” (accessed Dec 5, 2026)

  3. Internal Revenue Service, Topic no. 409, “Capital gains and losses” (accessed Dec 5, 2026)

  4. Internal Revenue Service, Topic no. 559, “Net investment income tax” (accessed Dec 5, 2026)

  5. Internal Revenue Service, Instructions for Form 1099-S (12/2026) (accessed Dec 5, 2026)

  6. LivLyte net proceeds calculator (default assumptions) (accessed Dec 5, 2026)

How we made this article

This article was drafted with AI assistance and checked against the IRS sources listed above. LivLyte has a financial interest in one of the selling options described. Tax rules change and depend on your full tax picture, so talk with a CPA, enrolled agent or tax attorney about your situation. This is general information, not tax, legal or financial advice.

Legal disclaimer

This article is for general information only and is not legal, tax or financial advice. Reading it does not create an attorney-client relationship. Home sale tax rules depend on your situation, state rules vary, and tax laws can change. Before you sell or file your return, talk with a licensed tax professional, such as a CPA or enrolled agent, or a tax attorney in your state. LivLyte is not a law firm and does not give legal or tax advice.

Want to see what you’d actually walk away with?

Want to see what you’d actually walk away with?

Get a free Net Sheet Offer from LivLyte. You’ll see your price and your net proceeds in writing, usually the same day, with no repairs and no agent commission.

Sell as-is without taking a lowball offer

See your estimated sale price, selling costs and what you could walk away with. Your Net Sheet is free, with no repairs and nothing paid upfront.

Who Else Wants to Be a Happy LivLyte Customer?

Who Else Wants to Be a Happy LivLyte Customer?

Get Started

Sell your home in 15 days or less and receive up to 90% of the market sale price without the hassle of prepping, repairs or surprises.

Copyright © 2026 LivLyte LLC. All Rights Reserved

Sell your home in 15 days or less and receive up to 90% of the market sale price without the hassle of prepping, repairs or surprises.

Copyright © 2026 LivLyte LLC. All Rights Reserved

Sell your home in 15 days or less and receive up to 90% of the market sale price without the hassle of prepping, repairs or surprises.

Copyright © 2026 LivLyte LLC. All Rights Reserved

Sell your home in 15 days or less and receive up to 90% of the market sale price without the hassle of prepping, repairs or surprises.

Copyright © 2026 LivLyte LLC. All Rights Reserved