Understanding Capital Gains Tax, Selling a Home, and the IRS Form 523
- Kimberly C21

- 5 days ago
- 5 min read

Most people know they owe taxes when they make money. Far fewer understand exactly how much, when, or why. Capital gains tax is one of the most misunderstood parts of the US tax code, and getting it wrong can cost thousands of dollars. Whether you sold stocks, a rental property, or your family home, here is what you need to know.
What Is a Capital Gain?
A capital gain is the profit you make when you sell an asset for more than you paid for it. That asset could be a stock, a bond, real estate, a business, or even a collectible like art or coins. The gain is the difference between your purchase price (called your "cost basis") and the sale price.
For example, if you bought shares for $10,000 and sold them for $15,000, your capital gain is $5,000. The IRS wants a cut of that.
Short-Term vs. Long-Term: Why Timing Matters
Not all capital gains are taxed the same way. The tax rate depends almost entirely on how long you held the asset before selling it.
Short-term capital gains apply to assets held for one year or less. These gains are taxed as ordinary income, meaning rates range from 10% to 37% depending on your total taxable income.
Long-term capital gains apply to assets held for more than one year. These gains are taxed at preferential rates of 0%, 15%, or 20%.
The difference can be dramatic. A single filer who earns $80,000 in taxable income would pay 22% on a short-term gain but just 15% on a long-term gain. On a $50,000 gain, that is a $3,500 difference from a single decision about when to sell.
Selling Your Home? IRS Publication 523 Is Your Guide
Home sales are one of the most common capital gains events for everyday Americans. Fortunately, the IRS offers a significant exclusion for primary residences, and IRS Publication 523 walks you through every step of calculating and reporting your gain.
The Home Sale Exclusion
If you sell your primary home, you may be able to exclude a large portion of your gain from taxes entirely:
Up to $250,000 of gain is excluded for single filers.
Up to $500,000 of gain is excluded for married couples filing jointly.
To qualify, you must have owned the home and used it as your primary residence for at least two of the five years leading up to the sale. The two years do not need to be consecutive.
For example, if you bought a home for $300,000 and sold it for $700,000, your gain is $400,000. As a married couple, you could exclude $500,000, meaning you would owe zero capital gains tax on the full profit.
What If You Don't Qualify for the Full Exclusion?
You may still qualify for a partial exclusion if you sold before meeting the two-year requirement due to:
A job relocation of at least 50 miles
A health-related reason
Unforeseen circumstances such as divorce, death of a spouse, or a natural disaster
Publication 523 includes detailed worksheets to help you calculate your exact exclusion and any remaining taxable gain. It also covers situations involving home offices, rental use, and depreciation recapture, all of which can reduce the amount you can exclude.
Active-duty military members receive an additional benefit
Why REALTORS® Are Pushing for Change
The $250,000 and $500,000 home sale exclusions sound generous until you consider they have not changed since 1997. Over the past 25+ years, home values in many markets have risen dramatically, and millions of ordinary homeowners are now running into a tax wall that was never designed for them.
The National Association of REALTORS (NAR) calls this the "stay-put penalty." When homeowners face a large capital gains bill after selling, many simply choose not to sell. That decision, multiplied across millions of households, tightens housing supply, drives up prices, and makes it harder for first-time buyers to find a home.
How Big Is the Problem?
NAR-commissioned research puts real numbers to the issue:
Today, 34% of homeowners (roughly 29 million people) have already built enough equity to exceed the $250,000 single-filer exclusion. About 10% (8 million) exceed the $500,000 married-couple threshold.
By 2030, those numbers are projected to jump to 56%, exceeding the $250,000 cap, and nearly 23%,
exceeding $500,000.
By 2035, close to 70% of homeowners could have equity above $250,000, and 38% above $500,000.
Eight states could see more than 40% of their homeowners above the $500,000 cap by 2030, growing to 20 states by 2035.
These are not wealthy speculators. These are long-term homeowners who stayed in place, watched their neighborhood appreciate, and are now being penalized for it.
NAR is actively lobbying for a bipartisan bill called the More Homes on the Market Act. The proposal would:
Double the exclusion to $500,000 for single filers and $1,000,000 for married couples filing jointly.
Index both thresholds to inflation going forward, so the caps keep pace with real-world home values automatically.
NAR argues the change would unlock millions of homes currently sitting off the market, easing inventory pressure nationwide and giving first-time buyers more options at more affordable prices.
You can read NAR's full research brief below:
Strategies to Reduce Your Capital Gains Tax
There are several legal ways to lower what you owe. None of them require complex financial engineering.
Consider Qualified Opportunity Zones
Reinvesting realized gains into a Qualified Opportunity Zone (QOZ) fund within 180 days of the sale can defer taxes on the original gain. If you hold the QOZ investment for at least 10 years, any new appreciation in that fund becomes completely tax-free.
Keep your Home Improvement receipts
For home sales, you will use the worksheets inside IRS Publication 523 to determine your adjusted basis, calculate your gain, and confirm whether you qualify for the exclusion. Keep records of major home improvements, as these increase your cost basis and reduce your taxable gain.
Key Takeaways
Capital gains tax is not a fixed number. It depends on what you sold, how long you held it, and your total income for the year. A few smart decisions, like holding an asset past the one-year mark or timing a home sale correctly, can save you tens of thousands of dollars.
If you are selling a home, read IRS Publication 523 before you decide to sell and certinly before you close. The exclusion rules are generous, but only if you meet them. And if you are investing, think carefully about the difference between a short-term and long-term strategy. The IRS rewards patience.
This article is for informational purposes only and does not constitute tax, legal, or financial advice. Tax laws change frequently. Consult a qualified tax professional before making decisions based on your specific situation.



Comments