Free Guide to Home Sale Tax Considerations
Understanding Capital Gains Tax on Home Sales When you sell a home, the difference between what you paid for it and what you sell it for is called a capital...
Understanding Capital Gains Tax on Home Sales
When you sell a home, the difference between what you paid for it and what you sell it for is called a capital gain. This gain may be subject to federal income tax, which is a key consideration for most homeowners. The Internal Revenue Service (IRS) taxes capital gains differently depending on how long you owned the property and your filing status.
For federal purposes, the IRS allows homeowners to exclude up to $250,000 of capital gains if they are single, or $500,000 if married filing jointly. This exclusion applies if you meet two requirements: you owned the home for at least two of the five years before the sale, and you used it as your primary residence for at least two of those five years. These rules mean many homeowners pay no federal tax on their home sale at all.
To calculate your potential capital gains tax, you need to understand the difference between your adjusted basis and your sale price. Your basis starts with what you paid for the home, plus the cost of certain improvements like adding a deck, finishing a basement, or replacing a roof. It does not include routine repairs and maintenance. For example, if you bought a home for $200,000, added a $50,000 kitchen renovation, and sold it for $400,000, your basis would be $250,000 and your capital gain would be $150,000. If you are single and this is your primary residence, this entire gain would be excluded from federal tax.
Capital gains are taxed at different rates depending on your income level and how long you held the property. Long-term capital gains (property held over one year) receive more favorable tax rates than short-term gains. Long-term rates for 2024 are 0%, 15%, or 20% depending on your total income. Short-term capital gains are taxed as ordinary income, which can be significantly higher.
Practical takeaway: Before selling, gather your original purchase paperwork and documentation of any home improvements. Calculate your likely capital gain by subtracting your adjusted basis from the expected sale price. If the gain exceeds the exclusion limits for your situation, consult a tax professional about potential tax liability.
State and Local Taxes on Home Sales
Beyond federal taxes, many states and cities impose their own taxes on home sales. These vary widely by location, and they represent an important cost to consider when planning a sale. Some states have capital gains taxes on real estate transactions, while others impose sales taxes on the home itself.
As of 2024, only a few states have specific capital gains taxes that apply to real estate. California, for instance, taxes net capital gains above $250,000 at a 13.3% rate when combined with the state's top income tax bracket. New York imposes its own capital gains tax on gains over $1 million, with rates up to 8.82% depending on income. Washington State has a 7% capital gains tax on certain long-term gains over $250,000. However, most states do not have a separate capital gains tax and instead treat gains as regular income subject to ordinary state income tax rates.
Some states also charge transfer taxes or recording fees when a property changes hands. These are often paid by the seller, though this can be negotiated as part of the sale. Transfer taxes can range from less than 1% to over 4% of the sale price depending on the state. For example, Pennsylvania charges 1% to sellers in many cases, while New Jersey charges between 0.5% and 1% depending on the sale price and the buyer's status.
Local taxes also matter. Some counties and municipalities impose additional transfer taxes, conveyance taxes, or recordation fees. New York City, for instance, charges both a city transfer tax and a state transfer tax that together can total up to 3.9% for residential properties. Washington D.C. charges a 1.1% tax on the seller and 1.45% on the buyer.
Several states offer homeowner exemptions from capital gains tax or transfer tax requirements. For example, some states exempt primary residences from transfer taxes, or allow reduced rates for owner-occupied homes. Florida, Texas, and South Dakota have no state income tax at all, which benefits home sellers in those states.
Practical takeaway: Research your state and local tax requirements before listing your home. Contact your state's department of revenue and your county assessor's office to determine what taxes apply to home sales in your area. Factor these costs into your expected net proceeds from the sale.
Deductions and Expenses Related to Selling
The costs you incur to sell your home can reduce the amount of capital gains you owe taxes on. These selling expenses are subtracted from your sale price when calculating your capital gain. Understanding which costs qualify can significantly impact your tax liability.
Real estate agent commissions are among the largest deductible expenses. The typical commission in the United States ranges from 5% to 6% of the sale price, split between the buyer's agent and seller's agent. On a $400,000 home sale, a 6% commission would total $24,000. This is fully deductible from your sale price when calculating capital gains, effectively reducing your taxable gain by that amount.
Closing costs that you as the seller pay are generally deductible. These include: title insurance fees, attorney fees, property inspections required by the buyer, appraisal fees, recording fees, survey costs, and homeowner association transfer fees. Transfer taxes and conveyance taxes paid at closing are also deductible. In many sales, closing costs total 1% to 3% of the sale price and can substantially reduce your taxable gain.
Some home improvements can be added to your basis and therefore reduce your taxable gain. However, not all improvements qualify. Capital improvements are permanent upgrades that add value to the home, prolong its life, or adapt it to a new use. Examples include: adding a room, installing a new roof, upgrading electrical systems, replacing windows, landscaping improvements, adding a pool, finishing a basement, and installing new HVAC systems. These are deductible from your gain.
Repairs and maintenance do not qualify. Painting the interior, fixing a leaky faucet, patching drywall, and replacing broken porch steps are examples of repairs that do not reduce your capital gain, even though they may increase your home's value. The distinction is sometimes unclear, so documentation and professional guidance matter. For example, replacing a few roof shingles is a repair, but replacing the entire roof is a capital improvement.
Keep receipts and documentation for all improvements made during your ownership. The IRS may request evidence if you are audited. Create a record showing the date, description, and cost of each improvement. If you paid for improvements with cash, save receipts or bank statements showing the payment.
Practical takeaway: Before you sell, gather all records of improvements you made to the home over the years. Separate these from ordinary maintenance and repairs. Estimate the total cost of improvements, as this amount reduces your taxable capital gain dollar-for-dollar.
Special Situations and Exceptions
The standard rules for capital gains exclusion on home sales do not apply in every situation. Several special circumstances can change your tax treatment or disqualify you from the standard exclusion. Understanding these exceptions helps you plan more accurately.
If you owned the home for less than two of the five years before the sale, you cannot use the $250,000 or $500,000 exclusion for capital gains. Investors and people who sell homes shortly after purchase are in this position. For example, someone who bought a home for $300,000 and sold it 18 months later for $400,000 would owe capital gains tax on the full $100,000 gain, with no exclusion available. The gain would be taxed at long-term or short-term rates depending on the exact holding period.
If you did not use the home as your primary residence for at least two of the five years before the sale, the exclusion does not apply. A primary residence is the place where you live most of the time. Vacation homes, investment properties, and homes rented to others do not qualify. If you converted a vacation home to a primary residence, the time spent as a vacation home does not count toward the two-year requirement.
There are some exceptions to these rules. If you moved due to a change of employment, health reasons, or unforeseen circumstances, you may be able to exclude part of the gain even if you do not meet the two-year requirements. The IRS allows a pro-rata portion
Related Guides
More guides on the way
Browse our full collection of free guides on topics that matter.
Browse All Guides โ