Capital gains tax applies to the profit you make when you sell a property for more than you paid for it. Understanding this concept starts with knowing what counts as a "gain." If you bought a house for $300,000 and sold it five years later for $450,000, your capital gain is $150,000 β that's the difference between your selling price and your original purchase price.
Free Guide to Budget-Friendly Anti-Aging Skincare Options β
The IRS treats real estate differently from some other investments. When you own property, you're building equity over time. That equity becomes taxable only when you trigger a sale. This is why many long-term property owners don't pay capital gains tax every year β the tax event occurs at the moment of sale, not during the years you hold the property.
Real estate capital gains come in two categories: short-term and long-term. Short-term gains happen when you own the property for one year or less before selling. These gains are taxed as ordinary income, which means they're subject to the same tax rates as your salary or wages. Long-term gains occur when you own the property for more than one year. These typically receive preferential tax treatment, with lower rates than ordinary income.
Your basis in the property matters tremendously. Basis isn't just your purchase price β it includes closing costs, certain improvements you've made, and other expenses tied to acquiring the property. If you paid $300,000 for a house and spent $20,000 on closing costs plus $30,000 on a new roof, your basis would be $350,000. When you sell for $450,000, your gain would be $100,000, not $150,000.
Practical takeaway: Before selling real estate, gather documentation of your original purchase price, closing costs, and any capital improvements you've made. These reduce your taxable gain.
One of the most significant tax benefits in U.S. tax law is the Section 121 exclusion for primary residences. This rule allows homeowners to exclude up to $250,000 of capital gains from taxation if they're unmarried, or $500,000 if they're married filing jointly. This isn't a tax deferral β it's a permanent exclusion from taxation.
Get Your Free Guide to Sending Money on Venmo β
To use this exclusion, you must meet specific requirements. First, you must have owned the property as your primary residence for at least two of the five years before the sale. Second, you must not have used this exclusion on another property within the two years before this sale. These rules exist to prevent abuse of the provision, which Congress designed for people selling homes they actually lived in.
The two-year ownership requirement doesn't need to be continuous. You could own a home for one year, rent it out for two years, then move back in for one year and still meet the test. What matters is that you lived there as your main home for at least 24 months during the five-year window before selling.
Here's a realistic example: Sarah bought a home for $200,000 fifteen years ago and lived there the entire time. She sells it for $500,000. Her capital gain is $300,000. Under the Section 121 exclusion, she can exclude $250,000 from taxation (since she's unmarried). She owes capital gains tax on only $50,000 of that profit. If her long-term capital gains rate is 15%, she'd owe about $7,500 in federal capital gains tax.
Without this exclusion, Sarah would owe approximately $45,000 in federal tax on that same sale. The exclusion saved her roughly $37,500. This illustrates why the primary residence exclusion represents such a major benefit for homeowners.
Practical takeaway: If you're selling a home you've lived in for at least two of the past five years, investigate whether you qualify for the primary residence exclusion. For many homeowners, this eliminates capital gains tax entirely.
The federal tax rate applied to your capital gains depends on how long you owned the property. Long-term capital gains rates are substantially lower than short-term rates. As of 2024, long-term capital gains rates are 0%, 15%, or 20%, depending on your total income. Short-term gains, meanwhile, are taxed as ordinary income at rates up to 37%.
Get Your Free Paycheck Tax Calculation Guide β
The difference is dramatic. Consider two scenarios with the same $100,000 profit. If you're in the highest federal tax bracket and sell after owning for less than one year, you might pay $37,000 in federal tax. If you've owned that same property for more than one year, you'd pay $20,000 β saving $17,000 just by waiting.
Long-term capital gains thresholds depend on your filing status and total income. For 2024, the 0% rate applies to single filers with taxable income up to $47,025. The 15% rate applies to income between that threshold and $518,900 for single filers. Married couples filing jointly get higher thresholds: 0% rate up to $94,050, and 15% rate up to $583,750. Income above these thresholds faces the 20% rate.
These thresholds change yearly with inflation adjustments. Your "total income" for these purposes includes more than just the capital gain from selling your property. It includes your wages, retirement account distributions, dividends, and other income sources. A retired person with a pension and investment income might have their capital gains taxed at a different rate than a working professional with similar gains but higher wages.
State taxes also apply to capital gains in most states. Some states tax capital gains like ordinary income, while others have special rates. California taxes all capital gains as ordinary income with rates up to 13.3%. New York has a top capital gains rate of 6.85%. A few states, like Texas and Florida, have no state income tax at all. Where you live significantly affects your total tax bill on a real estate sale.
Practical takeaway: Hold rental properties or investment real estate for more than one year before selling to access long-term rates. The tax savings often dwarf the benefit of selling quickly.
Your basis β the amount you can subtract from your sales price β includes far more than your original purchase price. Understanding what qualifies as part of your basis versus what doesn't can reduce your taxable gain substantially.
Pay Your Banana Republic Credit Card Bill Guide β
Capital improvements increase your basis. These are permanent improvements that extend the property's useful life, increase its value, or adapt it to new uses. A new roof qualifies. So do new windows, a new HVAC system, an addition to the house, a new deck, or a swimming pool. These improvements become part of your basis, reducing your gain when you sell.
Repairs and maintenance do not qualify as basis adjustments. If you painted your house, fixed a broken window, or patched the roof, these costs are maintenance, not improvements. The distinction can be tricky. Replacing a few shingles on your existing roof is repair. Installing an entirely new roof is an improvement. Patching drywall is maintenance. Adding a new wall is an improvement.
Closing costs at purchase also increase your basis. These include realtor commissions you paid when buying, title insurance, appraisal fees, attorney fees, recording fees, and loan origination fees. These costs don't reduce your basis when you sell β they increase your basis at purchase, effectively spreading their benefit across your holding period.
Cost basis for inherited property works differently. If you inherited real estate and the person who owned it passed away in 2024, your basis "steps up" to the fair market value of the property on the date of death. This is one of the most powerful tax benefits in the tax code. If your parent bought a house for $100,000 fifty years ago and it's worth $500,000 when they pass away, your basis is $500,000, not $100,000. If you sold it immediately for $500,000, you'd have zero capital gain. This step-up eliminates all accumulated gains up to the date of death.
Depreciation on rental properties is another basis consideration. When you rent out property, you can deduct depreciation each year, which reduces your taxable income. However, depreciation also reduces your
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.