More home sales trigger capital gains tax. Here's how it works and how to avoid it.
As a result of rising home values, Americans are increasingly facing this tax when they sell their homes


Americans are increasingly facing capital gains tax when they sell their homes. In 2023, "roughly 8%" of home sales were hit with capital gains tax, which marks "more than double the share in 2019," said The Wall Street Journal, citing real estate data firm CoreLogic.
This uptick is a result of rapidly rising home values, coupled with the fact "that, unlike other tax provisions, this exemption is not adjusted with inflation," said The New York Times. Because the limit on how much profit from a home sale is exempt has not been indexed for inflation, "a $500,000 profit when the law was introduced in 1997 is equal to only about $262,000 today," said the Times, based on the same CoreLogic study.
With this tax on the rise for home sellers, here's what you need to know about when it applies, how much it runs, and whether there is any way to avoid it.
Subscribe to The Week
Escape your echo chamber. Get the facts behind the news, plus analysis from multiple perspectives.

Sign up for The Week's Free Newsletters
From our morning news briefing to a weekly Good News Newsletter, get the best of The Week delivered directly to your inbox.
From our morning news briefing to a weekly Good News Newsletter, get the best of The Week delivered directly to your inbox.
What is the capital gains tax on real estate, and when does it apply?
Put simply, "when you sell your home for more than what you paid for it, you could be subject to capital gains tax on the profit," said NerdWallet. In other words, this is a tax that applies to the net gain on a home sale, which "is calculated by subtracting the asset's original cost or purchase price (the 'tax basis'), plus any expenses incurred, from the final sale price," said Bankrate.
Whether you will pay capital gains tax on a home sale that resulted in a profit depends on how much of a profit you made, how long you lived in the home you sold, and what type of property it was (e.g. your primary residence or an investment property). That's because of the home sale exclusion, which offers a tax break for homeowners who meet certain criteria.
Under IRS rules, single filers can exempt up to $250,000 in profit, while married couples filing jointly can exempt up to $500,000. However, to qualify, "you need to have owned the home and used it as your primary residence for at least 24 months of the five years leading up to the sale," said the Journal.
In other scenarios, or if profit on the home sale is higher than the full exemption, capital gains tax may apply.
How much is capital gains tax for home sales?
Your capital gains tax rate "depends on several factors," said Bankrate, including "your income tax bracket," "your marital status," "how long you've owned the house" and "whether the house was your primary residence, a secondary residence or an investment property."
For the 2023 tax year, those with a taxable income of $44,625 or less ($89,250 if married and filing jointly) "are not subject to capital gains taxes," said Bankrate. Meanwhile, if your taxable income is "between $44,626 and $492,300 as a single filer, or between $89,251 and $553,850 if married and filing jointly, you would pay 15%" on the profit from a home sale. Those who earn above those amounts would pay a rate of 20%.
The above refers to long-term capital gains tax rates. However, "if you owned the home for a year or less before selling, short-term capital gains tax rates may apply," said NerdWallet, and that rate "is equal to your ordinary income tax rate, also known as your income tax bracket."
Is there any way to avoid capital gains tax when you sell?
As mentioned, there is a home sale exclusion, which can exempt you from paying taxes on a certain amount of profit from a home sale. To get that, however, you must have lived in the house for at least two of the five years prior to the sale. As such, if you are hoping to avoid capital gains tax, it's helpful to make sure you're meeting that residency requirement.
Similarly, to avoid short-term capital gains tax, you will want to avoid selling in less than a year.
Another tip, said NerdWallet, is to "keep the receipts for your home improvements." That's because "the cost basis of your home typically includes what you paid to purchase it, as well as the improvements you've made over the years," so if you can prove "your cost basis is higher, your exposure to the capital gains tax may be lower."
Sign up for Today's Best Articles in your inbox
A free daily email with the biggest news stories of the day – and the best features from TheWeek.com
Becca Stanek has worked as an editor and writer in the personal finance space since 2017. She previously served as a deputy editor and later a managing editor overseeing investing and savings content at LendingTree and as an editor at the financial startup SmartAsset, where she focused on retirement- and financial-adviser-related content. Before that, Becca was a staff writer at The Week, primarily contributing to Speed Reads.
-
Magazine solutions - May 2, 2025
Puzzles and Quizzes Issue - May 2, 2025
By The Week US
-
Magazine printables - May 2, 2025
Puzzles and Quizzes Issue - May 2, 2025
By The Week US
-
Shakespeare not an absent spouse, study proposes
speed read A letter fragment suggests that the Shakespeares lived together all along, says scholar Matthew Steggle
By Peter Weber, The Week US
-
Are bonds worth investing in?
the explainer They can diversify your portfolio and tend to be a safer investment than stocks
By Becca Stanek, The Week US
-
What are your retirement savings account options?
The explainer The two main types of accounts are 401(k) plans and individual retirement accounts (IRAs)
By Becca Stanek, The Week US
-
What is your net worth and why is it worth knowing?
the explainer Take stock of your assets
By Becca Stanek, The Week US
-
What to know before lending money to family or friends
the explainer Ensure both your relationship and your finances remain intact
By Becca Stanek, The Week US
-
The best time of year to buy a car
Some months — and days — are better than others
By Becca Stanek, The Week US
-
Considering quitting your job? Here's what to do first.
The Explainer Your job likely comes with a number of financial strings attached
By Becca Stanek, The Week US
-
The pros and cons of online-only banks
the explainer You can get your finances in order without getting off your couch
By Becca Stanek, The Week US
-
Do you owe taxes on sports betting wins?
the explainer If you gain wealth of any kind, you must pay taxes on it
By Becca Stanek, The Week US