Selling a property and capital gains tax refers to the federal tax owed on the profit made from disposing of a residential or investment property, calculated based on the difference between the sale price and adjusted basis, with rates depending on income level and ownership duration.
When you sell a house or land, the IRS considers the gain-the amount you make above your original cost and improvements-as taxable income. This applies a vacation home. The tax rate ranges from 0% to 20% for long-term gains, depending on your modified adjusted gross income (MAGI), with an additional 3.8% net investment income tax (NIIT) for high earners.
The calculation begins with determining your adjusted basis-the original purchase price plus capital improvements and certain closing costs. Subtract that from the net proceeds (sale price minus selling expenses like agent commissions and title fees). The result is your capital gain. For example, if you bought a home for $300,000, spent $40,000 on renovations, and sold it for $500,000 after paying $25,000 in selling costs, your adjusted basis is $340,000, and your net gain is $135,000 ($500,000 - $25,000 - $340,000).
Capital gains tax applies only to the profit, not the entire sale amount. The IRS distinguishes between short-term and long-term gains. If you held the property for one year or less, the gain is short-term and taxed at ordinary income rates-up to 37% in 2024. If you owned it longer than 12 months, it's long-term and subject to lower rates: 0%, 15%, or 20%, depending on your income bracket.
For single filers in 2024, the 0% rate applies to taxable income up to $47,625. The 15% rate kicks in above that, up to $518,900. Above that threshold, the rate rises to 20%. Married couples filing jointly have higher thresholds: $63,725 for 0%, $518,900 for 15%, and $600,000+ for 20%. These brackets are adjusted annually for inflation.
If your income exceeds $200,000 (single) or $250,000 (married), the 3.8% NIIT applies to the lesser of your net investment income or the excess of your MAGI over the threshold. In the earlier example, a $135,000 gain could trigger the NIIT if your total income exceeds those limits.
Homeowners who sell their primary residence may qualify for a capital gains exclusion of up to $250,000 ($500,000 for married couples filing jointly) if they've lived in the home for at least two of the five years before the sale. This exclusion reduces or eliminates tax liability on gains below the limit.
For instance, a single homeowner who bought a house for $200,000, added $30,000 in improvements, and sold it for $500,000 after paying $20,000 in selling costs has a $290,000 gain. After applying the $250,000 exclusion, $40,000 remains taxable. If this person is in the 15% long-term capital gains bracket, the tax owed is $6,000.
A common mistake is assuming the exclusion applies to multiple homes. It does not. You can only claim it once every two years. Also, the IRS requires you to have used the home as your principal residence for at least two out of the five years prior to sale. Temporary absences due to work or health reasons still count toward the requirement.
Different property types face different tax treatments. Primary residences benefit from the exclusion. Investment properties and rental homes are fully taxable unless structured through a 1031 exchange. A 1031 exchange allows deferral of capital gains tax by reinvesting proceeds into a similar property within 180 days.
| Type of Property | Capital Gains Tax Rate (Long-Term) | Exclusion Available? | Special Rules |
|---|---|---|---|
| Primary Residence | 0%, 15%, or 20% | Yes - up to $250K/$500K | Requires 2-year occupancy in past 5 years |
| Rental Property | 0%, 15%, or 20% | No | Depreciation recapture taxed at 25% |
| Investment Property | 0%, 15%, or 20% | No | Can defer via 1031 exchange |
| Vacation Home | 0%, 15%, or 20% | Partial, if used personally | Pro-rata allocation required |
Depreciation recapture applies to rental properties. If you claimed depreciation deductions during ownership, the IRS treats that portion of the gain as ordinary income, taxed at up to 25%. This often surprises owners who assume all gains are long-term capital gains.
You must report the sale on Form 8949 and Schedule D of your federal tax return. Form 8949 details each transaction, including date acquired, date sold, proceeds, adjusted basis, and gain or loss. The IRS uses this data to verify compliance.
I once helped a client file their 2023 return after selling a duplex they'd owned for seven years. They'd claimed $42,000 in depreciation. On Form 8949, we reported $68,000 in gain, with $42,000 taxed at 25% and $26,000 at 15%. Without proper documentation, the IRS would have disallowed the depreciation, increasing the tax bill.
Failure to report can lead to penalties. The IRS imposes a 20% accuracy-related penalty on underreported taxes, plus interest. In 2023, the IRS identified over 120,000 unreported property sales using data from state records and Form 1099-S.
Many believe that selling a property always triggers capital gains tax. That's false. If you sell at a loss, you can deduct the loss against other capital gains. Net losses can offset up to $3,000 of ordinary income annually. Any remaining loss carries forward indefinitely.
Another myth is that all gains are taxed at the same rate. The IRS distinguishes between short-term and long-term gains. Selling a property after six months results in ordinary income taxation, which can be higher than long-term rates.
Some think the exclusion applies even if they didn't live in the home. It doesn't. If you sell a vacation home you never occupied, the full gain is taxable. The exclusion only applies to homes you've lived in as your main residence.