🥝GuideKiwi
Free Guide

Free Guide to Capital Gains Tax on Property Sales

Understanding Capital Gains and How They're Taxed When you sell a property for more than you paid for it, the profit you make is called a capital gain. The I...

GuideKiwi Editorial Team·

Understanding Capital Gains and How They're Taxed

When you sell a property for more than you paid for it, the profit you make is called a capital gain. The Internal Revenue Service (IRS) treats this profit as income, which means you may owe federal income tax on it. Understanding how capital gains work is the foundation for managing your tax situation when you sell real estate.

Capital gains are divided into two categories: short-term and long-term. Short-term capital gains occur when you sell a property you've owned for one year or less. These gains are taxed at your ordinary income tax rate, which can be as high as 37% at the federal level, depending on your total income. Long-term capital gains happen when you own the property for more than one year before selling. These are taxed at lower rates: 0%, 15%, or 20%, depending on your income level and filing status.

For example, imagine you buy a rental property for $200,000 and sell it two years later for $250,000. Your capital gain is $50,000. If you're in the 22% ordinary income tax bracket but qualify for the 15% long-term capital gains rate, you would owe $7,500 in federal tax on that gain instead of $11,000. That's a significant difference.

The calculation is straightforward: take your sale price, subtract your cost basis (the price you paid plus any improvements), and the result is your capital gain or loss. If you sell for less than you paid, you have a capital loss, which can sometimes offset other gains.

Practical Takeaway: Track your original purchase price and all property improvements carefully. The longer you hold a property before selling, the better your tax treatment will likely be, since long-term capital gains rates are substantially lower than short-term rates.

Calculating Your Cost Basis Correctly

Cost basis is the foundation of your capital gains calculation, so getting it right matters. Your cost basis starts with the original purchase price of the property. However, it doesn't end there. You can add to your basis by including certain expenses and improvements you made to the property.

Capital improvements are permanent improvements that add value to your property, prolong its life, or adapt it to new uses. Examples include a new roof, adding a room, installing new plumbing or electrical systems, or putting in a driveway. These can be added to your basis. In contrast, repairs and maintenance—like painting, fixing a leaky faucet, or replacing worn-out gutters—generally cannot be added to your basis because they simply maintain the property's existing condition.

Let's say you buy a home for $300,000. Over the years, you spend $15,000 on a new roof, $20,000 on a kitchen remodel, and $5,000 on regular maintenance and repairs. Your cost basis would be $335,000 (the original $300,000 plus the $15,000 roof and $20,000 kitchen remodel, but not the $5,000 in repairs). If you later sell the home for $400,000, your capital gain would be $65,000, not $100,000.

You may also adjust your basis for things like depreciation (if the property was a rental), casualty losses (like damage from a hurricane), or certain other events. Keep detailed records and receipts for all improvements. The IRS may request documentation if you're audited.

Practical Takeaway: Maintain a file with receipts and descriptions of all capital improvements you make to your property. Distinguish carefully between improvements (which increase basis) and maintenance (which don't). This documentation could save you thousands in taxes.

Special Situations: The Primary Residence Exclusion

If you're selling a home you've lived in as your primary residence, a significant tax break may be available. Under Section 121 of the tax code, you may exclude up to $250,000 of capital gains from taxation if you're single, or up to $500,000 if you're married filing jointly. This is one of the most valuable tax benefits available to homeowners.

To take advantage of this exclusion, you must meet several 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 periods don't need to be consecutive, and they don't need to overlap. If you satisfy these conditions, you can exclude your capital gains up to the limit, even if the gain is much larger.

Consider this example: You bought a home for $250,000, lived in it for seven years, and made $150,000 in improvements. Your cost basis is $400,000. You sell it for $700,000, creating a $300,000 capital gain. If you're single and meet the requirements, you can exclude $250,000 of that gain. You would owe tax on only $50,000 of the gain. If you're in the 15% long-term capital gains bracket, your federal tax would be $7,500 instead of potentially $45,000.

This exclusion is available once every two years. If you've used it recently and are considering selling another home, timing becomes important. Also, if you've excluded gains on another property in the past two years, you may not be able to use the full exclusion amount.

Practical Takeaway: If you're selling your primary residence, carefully verify that you meet the ownership and use tests before calculating your tax liability. This exclusion could eliminate tax on a substantial portion of your gain. Keep records of when you owned and occupied the property.

Reporting Capital Gains on Your Tax Return

When you sell property, you must report the transaction to the IRS. Understanding the forms and process helps you prepare your tax return accurately and avoid errors that could trigger an audit.

The first step is Form 8949, Sales of Capital Assets. This form is where you report details about your property sale: the date you bought it, the date you sold it, your cost basis, your sale price, and the resulting gain or loss. If you're selling your primary residence and using the exclusion discussed above, you'll still report the full transaction on Form 8949, but note the exclusion on Schedule D (discussed below).

From Form 8949, your information carries to Schedule D, Capital Gains and Losses. This schedule nets together all your capital gains and losses from the year. If you have more long-term gains than losses, you'll report your net long-term capital gain on your main tax return (Form 1040). If you have short-term and long-term gains and losses, Schedule D calculates separate totals for each category.

Finally, depending on your total income and capital gains, you may need to complete Schedule 2 (Additional Taxes) if you owe Net Investment Income Tax (a 3.8% tax on investment income for higher-income taxpayers). This is a separate tax from regular capital gains tax.

The process requires accuracy. If you report a gain of $300,000 when the IRS's records show you received a Form 1099-S (the sale reporting form sent by real estate professionals) for a different amount, the IRS will notice the discrepancy. Your tax software typically guides you through these forms step-by-step.

Practical Takeaway: Gather all documentation before filing: your original purchase documents, receipts for improvements, and the closing statement from the sale showing your net proceeds. These documents support what you report on Forms 8949 and Schedule D.

State and Local Taxes on Property Sales

Federal capital gains tax is only part of the picture. Many states and some local governments also tax capital gains from property sales, and these can add significantly to your total tax bill.

Currently, nine states have no state income tax: Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming, and New Hampshire (which taxes only dividends and interest, not capital gains). If you sell property in one of these states, you won't owe state capital gains tax, though you'll still owe federal tax.

In the remaining 41 states, state income tax applies to capital gains at rates ranging from about 3% to over 13%. For example, California taxes long-term capital gains as regular income, with rates

🥝

More guides on the way

Browse our full collection of free guides on topics that matter.

Browse All Guides →