Tax Implications of Selling a Home in 2025
- Published on
- 13 min read
- Hayley Abernathy, Contributing AuthorCloseHayley Abernathy Contributing Author
Hayley M. Abernathy is a freelance writer and editor based in Knoxville, Tennessee, covering lifestyle and real estate topics.
- Richard Haddad, Executive EditorCloseRichard Haddad Executive Editor
Richard Haddad is the executive editor of HomeLight.com. He works with an experienced content team that oversees the company’s blog featuring in-depth articles about the home buying and selling process, homeownership news, home care and design tips, and related real estate trends. Previously, he served as an editor and content producer for World Company, Gannett, and Western News & Info, where he also served as news director and director of internet operations.
DISCLAIMER: This article is intended for educational purposes only, not legal or tax advice. If you need help determining the tax implications of selling a home, please consult a skilled tax professional.
You’ve just sold your home for a profit — way to go! — and now perhaps you find yourself wondering what happens next, especially when tax time comes around.
Maybe you’re already sitting down to work on taxes, and you’re worried about how much that profit you made last year will end up costing you. Or maybe you’re just pondering selling because you know you could make a great profit in this market, but you’re curious about how complicated that would make taxes.
Wherever you are in your home selling or tax prep journey at the moment, we’ll review how your taxes may be impacted by selling your home for a profit. We’ll discuss the capital gains tax, how you may be excluded from it, and what may be different for you if you’re selling an inherited property or relocating for the military. Lastly, we’ll point you to some forms and key resources to help along the way.
Capital gains tax implications of selling a home
The biggest question at tax time for someone who recently sold a home is whether they’ll have to pay federal capital gains taxes on the profit. Capital gains are the amount of money you make from selling capital assets, high-value items, such as homes, cars, and investments.
Home prices have increased dramatically in recent years. Therefore, many homeowners looking to sell in 2025 will have experienced significant capital gains since their home purchase, especially if they’ve owned their home for more than three years.
For tax year 2025, the IRS announced some rule changes on capital gains. The tax rates remain the same, but the income thresholds for those rates are moving slightly higher, with an approximate 2.8% increase from 2024 levels.
For insight into capital gains taxes for home sellers, we consulted Logan Allec, a CPA and founder of tax relief company Choice Tax Relief, and personal finance blog Money Done Right.
According to Allec, if you sold a home last year, you may receive a 1099-S in the mail from the escrow company. “The thing to keep in mind is that the number on that 1099-S is not necessarily taxable,” Allec adds. “For one thing, the amount on that form is the gross proceeds, not net proceeds.”
Calculating basis
To determine net proceeds, Allec says people must take time to calculate the basis of their home. The basis is tax-speak for what your home has cost you, and despite what you might think, it’s not just the purchase price.
“Your basis is probably actually more than that,” Allec explains. “Escrow fees, recording fees, appraisal fees — all that stuff, you can add to your basis in your home.” In other words, make sure you account for all the costs associated with selling your home when you’re calculating net profit.
You should also consider the costs of major or “capital” improvements you made to your home, but keep in mind that simple repairs and maintenance don’t necessarily increase the basis.
Allec says, “If something broke in your home, like some fixture or something, and you’re just returning it to its original condition, you can’t count that. But let’s say you add a whole new bedroom — that adds to your basis.”
For examples of more improvements that add to your home’s basis, check out page 10 of IRS Publication 523.
Calculating proceeds
Another way to make sure you don’t overestimate your profit from the home sale is to take into account all the selling expenses, as well. Make sure you subtract from your net profit things like the real estate broker’s commission and any other closing costs you paid.
Example calculation
Let’s look at the impact of calculating gross vs. net profit in a hypothetical example. About 10 years ago, you paid $350,000 for your home and paid $10,000 in closing costs. Five years later, you spent $20,000 to construct an addition to the house. Now, you sold your home for $500,000, with $40,000 in closing costs. Here’s how you can compute gross profit, basis, and net profit:
Gross profit calculation:
Gross Profit = Selling Price – Purchase Price
- Initial Purchase Price (10 years ago): $350,000
- Selling Price (now): $500,000
Gross Profit: $500,000 – $350,000 = $150,000
Basis calculation:
Basis = Purchase Price + Closing Costs + Capital Improvements
- Purchase Price: $350,000
- Closing Costs (10 years ago): $10,000
- Capital Improvements (5 years ago): $20,000
Basis = $350,000 + $10,000 + $20,000 = $380,000
Net profit calculation:
Net profit = Selling Price – Basis – Selling Costs
- Selling Price: $500,000
- Basis: $380,000
- Selling Costs (now): $40,000
Net profit = $500,000 – $380,000 – $40,000 = $80,000
As you can see, taking the time to make these calculations can make a significant difference.
Capital gains exclusions
Fortunately, many home sales qualify for the Exclusion of Gain exemption. This means that when certain conditions are met, sellers can exclude up to $250,000 (for a single person) or $500,000 (married, filing jointly) of their profit from a home sale.
Let’s take a look at when the exclusion does and does not apply.
When does the exclusion apply?
There are three conditions that must be met in order to use the $250,000 or $500,000 exclusion to avoid paying any capital gains taxes on the sale of a home:
- Ownership test. You need to have owned the home for at least two of the last five years.
- Use (or residency) test. You must have lived in the house as your primary residence for a total of at least two of the last five years, even if those two years were not continuous.
- Timing (or look-back) test. You must not have already taken advantage of this tax exclusion for another home in the last two years.
To qualify for the $500,000 exclusion:
- You must be married.
- You must file your taxes as married-filing-jointly.
- At least one spouse has to pass the ownership test.
- Both spouses must pass the use test.
When does the exclusion not apply?
Capital gains tax exclusion cannot apply when:
- You’re selling your second home (whether a personal vacation property or rental)
- You’ve lived in the home for less than two of the last five years
- You acquired the property through what is called a “like-kind exchange” in the past five years, wherein you reinvested into a similar (“like-kind”) property
- You are subject to the expatriate tax
Whether or not the exclusion applies to you, here are more tips for avoiding or reducing taxes on your home sale.
What about special circumstances?
Even if you don’t pass the ownership and use tests, you may still qualify for the exclusion or a partial exclusion under certain special circumstances, such as:
- Divorce or a separation agreement
- Death of a spouse
- Job change
- Certain extended duties away from the home as a result of serving in the uniformed services (more on this below), foreign service, or intelligence services
Sometimes even unexpected health or family changes can justify a partial exclusion. Allec recounts, “One client already had three children, and then they had triplets, and we argued that their home was too small. We got a proration for that, and it was not challenged by the IRS.”
For more information on special circumstances, consult the IRS guide, Tax Considerations When Selling a Home. If you use a tax preparation service like TurboTax, H&R Block, or Jackson Hewitt, these companies also have guides to assist you.
Note: Maybe you’re going through a divorce and haven’t actually sold your home yet — you’re just trying to wrap your mind around the tax implications. Check out these tips from real estate agents specializing in divorce and this discussion of whether to sell before or after a divorce.
Alternative minimum tax (AMT) considerations
The Alternative Minimum Tax (AMT) is a tax imposed on high earners, ensuring that they pay at least a minimum amount of tax, even if they have a lot of deductions. It will likely apply to your situation if you:
- Have a high income from multiple sources (exceeding the AMT exemption of $88,100 for single individuals, $68,650 for married couples filing separately, and $137,000 for married couples filing jointly.
- Sell a home with huge capital gains that exceed the exemption threshold
- Have several deductions for state and local taxes that lower your bill significantly
Since the AMT can impact the capital gains exclusion on your home sale, it’s wise to consult a tax professional to know it applies to you.
Selling an inherited property
What happens if you’re selling a property that you inherited?
- Thankfully, there are no federal inheritance taxes requiring you to pay on an inherited property at the time it becomes yours. (Note that, according to Policygenius, there are six states with inheritance taxes.)
- When you sell the inherited property, however, you will be subject to capital gains taxes based on the amount that the inherited property has increased in value since it became yours.
- The IRS uses what’s called a “stepped-up basis” to calculate capital gains on the sale of an inherited property, which ultimately helps reduce your taxes.
- So, for example, if you inherit a house that was worth $200,000 when you acquired it and sell it for $300,000 five years later, you could pay capital gains taxes on $100,000 of that sale.
Note: Receiving a house as a gift is very different for tax purposes than receiving one as an inheritance, Allec says: “Your basis in the home is generally the same as the person’s who gifted it to you was.”
Relocating for the military
There are some special rules for the armed forces.
Capital gains exclusion for the military
The IRS outlines some different situations in which members of the armed forces can still receive full or partial exclusion even when they don’t fully “pass” all the tests:
- As a starting point, the same rules about capital gains on the home sale apply — excluding $250,000 or $500,000 of gain from selling a primary residence that passes the usual tests we’ve already discussed.
- However, if you’re relocated to a new permanent duty station — preventing you from passing the ownership and use tests — you can still qualify for a reduced exclusion.
- You may also be eligible to “stop the clock” — or, more technically, choose to “suspend” the five-year “test period” that would normally be used to evaluate whether a house has been your primary residence. This may apply to you if you have been on “qualified official extended duty” preventing you from living in the house for two years within the last five years.
For an example of how a suspension plays out and more details about capital gains taxes for armed service members, check out page 17 of the IRS Armed Forces Tax Guide.
Writing off moving expenses
Capital gains aside for a moment, there may be a bonus for members of the armed forces. If you’re selling your home because you’ve been permanently relocated due to a military order, a significant portion of your moving costs may be tax-deductible.
According to IRS Publication 3, you can deduct:
- Transportation and storage of household goods and personal items
- Travel from your old home to your new home (including lodging, to an extent)
Take note, however, that food will not be deductible.
State and local taxes
Most states also tax capital gains. Currently, only 8 states do not tax capital gains:
- Alaska
- Florida
- New Hampshire
- Nevada
- South Dakota
- Tennessee
- Texas
- Wyoming
While specific rules vary, if you live elsewhere in the U.S., the profit on your home sale may be taxable at the state level. You can check your state’s capital gains tax rate here.
If you sold your home in a high-tax state like California or New York and are also in a high tax bracket, says Allec, “you probably want to talk to a professional” to help you file. A tax professional may be able to help you mitigate your tax burden, plus take into account any local taxes that may apply, as well.
More forms and resources
- For a summary of necessary tax paperwork, check out our guide on the important tax-related documents when selling a home.
- If you receive a 1099-S in the mail, you must report the sale of your home to the IRS, even if you qualify for full exclusion of gains. You’ll need to complete Schedule D (Form 1040), Capital Gains and Losses, and Form 8949, Sales and Other Dispositions of Capital Assets.
- If you’re a member of the armed forces moving because of reassignment and writing off moving expenses, use Form 3909. And the IRS Armed Forces’ Tax Guide contains all the official details.
- For more detailed information from the IRS about selling your home, refer to IRS Publication 523.
When to talk to a professional about property-related taxes
“If you’re selling a home and you clearly don’t qualify for that home sale exclusion,” recommends Allec, “it’s probably a good idea to reach out for help.” Or, depending on your specific situation, you might have more questions.
Rather than talking to your real estate agent, it’s a good idea to go to an accountant or attorney with specific questions, including:
- How to navigate estate taxes or what will happen if and when the property owner dies (in this case, you’d talk to an estate planning attorney instead of a tax attorney)
- How to structure the ownership of the property — perhaps you want to put it in the name of an estate, trust, or company, as opposed to your personal name
- How to buy a property in the US, when you aren’t a US resident or citizen
Your real estate agent may be able to refer you to the appropriate professional to help navigate the tax implications of selling a home, depending on your specific scenario and questions. Don’t have an agent? HomeLight can connect you to a top-performing, trusted agent in your market.
Header Image Source: (rawpixel / Unsplash)
- "Average House Price by State in 2024," Motley Fool Money, Jack Caporal (October 2024)
- "IRS releases tax inflation adjustments for tax year 2025," IRS (October 2024)
- "Tax considerations when selling a home," IRS (June 2023)
- "Tax Aspects of Home Ownership: Selling a Home," Intuit Turbotax (November 2024)
- "Capital Gains & Tax Implications on Home Sale," Jackson Hewitt Tax Services (March 2021)
- "Inheritance taxes by state (2024)," Policygenius, Derek Silva (January 2023)
- "States With Low and No Capital Gains Tax," Kiplinger, Kelley R. Taylor (July 2024)
- "2024 Capital Gains Tax Rates by State," smartasset, Nadia Ahmad, CEPF® (December 2023)