When you sell a piece of real estate—whether it's your home, a rental property, or vacant land—you may owe capital gains tax on the profit you made. Capital gains are the difference between what you paid for the property and what you sold it for. For example, if you bought a house for $250,000 and sold it for $350,000, your capital gain is $100,000.
Get Your Free GTA V Money Making Guide →
The Internal Revenue Service (IRS) taxes capital gains differently depending on how long you owned the property. If you owned it for less than one year, it's treated as a short-term capital gain and taxed at your regular income tax rate. If you owned it for more than one year, it's a long-term capital gain, which usually has a lower tax rate: 0%, 15%, or 20%, depending on your income level.
Real estate capital gains tax applies to most property sales, but there are important exceptions and reductions available. Some people may not owe any tax at all on their real estate sale, while others may owe taxes on only part of their gain. Understanding how this tax works is the first step toward potentially reducing what you owe to the IRS.
The federal government also allows certain deductions related to selling property. These include costs you paid to sell the home, such as real estate agent commissions, title insurance, and inspection fees. Some states and local governments impose their own capital gains taxes on top of the federal tax, though most states do not.
Practical takeaway: Calculate your actual gain by subtracting what you paid (including purchase costs) from what you received when you sold. This number determines how much capital gains tax may apply to your sale.
One of the most valuable provisions in the tax code is Section 121, which allows homeowners to exclude a significant amount of gain from taxation when selling their primary residence. This exclusion is available to many people and can result in paying zero federal capital gains tax on a home sale, even if you made a substantial profit.
Learn About Credit Card Balance Transfers →
If you are single, you may exclude up to $250,000 of gain from your primary residence sale. If you are married and file your taxes jointly, you may exclude up to $500,000 of gain. This means if you bought a home for $200,000 and sold it for $400,000, a single person would owe no federal capital gains tax (the $200,000 gain is less than $250,000). A married couple filing jointly also would owe no tax in this scenario.
To use this exclusion, you must meet two requirements. First, you must have owned the home for at least two of the five years before the sale. Second, you must have lived in the home as your primary residence for at least two of those same five years. These do not need to be consecutive years. For example, if you lived in a home for two years, moved away for one year, and then sold it, you still meet the requirement if the sale happens within five years of when you first moved in.
The Section 121 exclusion applies only to your primary residence, not to rental properties, vacation homes, or investment real estate. You also can use this exclusion only once every two years. If you sold a home and used the exclusion, you cannot use it again on another home sale for at least two years.
Some people do not qualify for the full exclusion. If you did not own or live in the home for the required two years, or if you used the exclusion within the past two years, you may be able to claim a reduced exclusion if certain conditions were met, such as a job change, health issue, or unforeseen circumstance.
Practical takeaway: If you own and live in your home, check whether your profit is less than $250,000 (or $500,000 if married). If so, you may owe no federal capital gains tax on the sale, even without taking any other steps.
The amount of capital gains tax you pay depends partly on your total income. The IRS uses different tax rate brackets for long-term capital gains. For 2024, long-term capital gains are taxed at 0%, 15%, or 20%, depending on your income level. These rates are lower than the regular income tax rates, which range from 10% to 37%.
Get Your Free USAA Credit Card Benefits →
The 0% rate applies to single filers with taxable income up to $47,025 and married couples filing jointly with income up to $94,050 (these amounts adjust each year). This means if your total income falls within this range, you may pay no federal tax on long-term capital gains. The 15% rate applies to income above these thresholds up to certain limits: $518,900 for single filers and $583,750 for married couples filing jointly. Any income above those amounts is taxed at 20%.
Your "taxable income" for this purpose includes all your income sources: wages, self-employment income, investment income, and capital gains. If you sell real estate and have a large gain, adding that gain to your other income might push you into a higher tax bracket. This is why some people benefit from timing their home sale or considering their overall income situation before selling.
For example, suppose you are single with $40,000 in wages and you sell a rental property with a $20,000 gain. Your total income is $60,000. The first $7,025 of your gain falls in the 0% bracket ($47,025 minus $40,000), and the remaining $12,975 falls in the 15% bracket. You would owe approximately $1,946 in federal capital gains tax on this sale.
Short-term capital gains (on property held less than one year) are taxed as regular income at your marginal tax rate, which can be as high as 37%. This is why holding property for more than one year before selling often results in a lower tax bill.
Practical takeaway: Review your total income for the year of the sale. If you are in the 0% bracket and your long-term capital gain is small, you may owe no federal tax. If your gain is large, plan to use deductions or other strategies to manage your overall taxable income.
Your capital gain is calculated by subtracting your "basis" from your selling price. Your basis is not just what you paid for the property—it includes many other costs related to buying, improving, and selling the property. By understanding and properly tracking these costs, you can reduce your capital gain and lower your tax bill.
Get Your Free Merrick Bank Card Details →
Your initial purchase price is the starting point for basis. Add to this the cost of any improvements you made to the property. An improvement is something that adds value, prolongs the life of the property, or adapts it to new use. Examples include adding a room, installing a new roof, upgrading the electrical system, adding a deck, or finishing a basement. Paint, repairs, and regular maintenance do not count as improvements and cannot be added to basis.
You can also add certain other costs to your basis: property taxes you paid at the time of purchase, title insurance, recording fees, attorney fees for the purchase, and loan origination fees. If you inherited the property, your basis may be "stepped up" to the property's value on the date of the person's death, which can significantly reduce your capital gain.
When you sell, you can deduct the costs of the sale from your proceeds. These include real estate agent commissions (typically 5-6% of the sale price), title insurance for the buyer, escrow fees, attorney fees, home inspection costs paid by you, and certain other selling expenses. These are subtracted from your sales price, not added to your basis, but the effect is the same: they reduce your taxable gain.
Keeping detailed records is essential. Save receipts and invoices for all improvements and selling costs. If you cannot document the cost, you cannot claim it as a deduction. For older properties, you may need to estimate costs from historical records or construction estimates if original receipts are not available.
Practical takeaway: Gather receipts for any home improvements you made and all selling costs. Add improvements to your basis and subtract selling costs from your sales price to find your actual gain. A $30,000
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.