The tax implications of selling property center on capital gains tax, the formal term used by the IRS for the profit you earn when a property sells for more than you paid. Federal law taxes that gain at rates from 0% to 20% for long-term holdings, and additional layers from depreciation recapture, the Net Investment Income Tax (NIIT), and state taxes can push your total bill far higher. Understanding all three layers before you sign a contract is the difference between a planned tax event and an expensive surprise. Getlotus works with individual sellers and businesses every day to map these liabilities before closing day arrives.
What are the tax implications of selling property?
Capital gains tax is the primary federal tax on a property sale. The IRS calculates your gain by subtracting your adjusted basis from the amount you realized on the sale. Your adjusted basis starts with the purchase price, then adds closing costs and capital improvements, and subtracts any depreciation you claimed or were allowed to claim.
Two holding periods determine your rate. Sell within one year of purchase and the gain is short-term, taxed as ordinary income at rates up to 37%. Hold longer than one year and the gain is long-term. Long-term capital gains rates in 2026 run 0%, 15%, or 20% depending on your taxable income and filing status. That spread alone is reason enough to plan the timing of any sale.

Depreciation recapture adds a separate layer for rental and investment properties. The IRS taxes recaptured depreciation at a maximum rate of 25%, regardless of your income bracket. High earners face one more charge: the NIIT adds 3.8% on net investment income above $200,000 for single filers or $250,000 for married filers. State taxes then stack on top of all of that.
What federal rules apply when selling your primary home?
The Section 121 exclusion is the most valuable tax break available to homeowners. It lets you exclude up to $250,000 of gain if you are single, or $500,000 if you are married filing jointly, from federal income tax. To qualify, you must have owned and lived in the home as your primary residence for at least 2 of the 5 years before the sale.
The exclusion is not automatic. Several conditions can reduce or eliminate it:
- You cannot use the exclusion more than once every two years.
- Periods of non-qualified use (renting the home before converting it to a primary residence) reduce the excludable portion proportionally.
- Gain attributable to depreciation taken during any rental period is never excluded. It is always recaptured at up to 25%.
- A loss on the sale of a personal residence provides no tax deduction, unlike a loss on an investment property.
Partial exclusions exist for sellers who move early due to a job relocation, a qualifying health event, or an unforeseen circumstance. The IRS allows a prorated exclusion based on how many months of the required 24 you actually lived in the home.
Pro Tip: Keep receipts for every capital improvement you make to your home. A new roof, an addition, or a kitchen remodel raises your adjusted basis and directly reduces your taxable gain when you sell.
Any gain above the exclusion limit is taxed at long-term capital gains rates if you held the property for more than one year. Gains above the limit for high-income sellers also trigger the 3.8% NIIT.
How are gains from investment or rental properties taxed?
Investment and rental properties receive no Section 121 exclusion. Every dollar of gain is taxable, and the tax structure is more complex than it is for primary residences.
Your adjusted basis on a rental property shrinks each year you claim depreciation. The IRS requires residential rental property to be depreciated over 27.5 years. When you sell, the IRS recaptures that depreciation at a maximum rate of 25%. This applies even if you forgot to claim the deduction. The IRS taxes the amount you were allowed to deduct, not just what you actually claimed.
Here is how the federal tax layers stack for a rental property sale:
| Tax component | Rate | Who pays it |
|---|---|---|
| Long-term capital gains | 0%, 15%, or 20% | All sellers with gains |
| Depreciation recapture | Up to 25% | Sellers who claimed or could claim depreciation |
| Net Investment Income Tax | 3.8% | Single filers above $200k AGI; joint filers above $250k AGI |
| State capital gains tax | 0% to 13%+ | Varies by state |
State taxes vary dramatically. No-income-tax states like Florida and Texas charge 0%, while California can push combined federal and state rates above 35% for high earners. Where you live when you sell matters as much as how long you held the property.
Recordkeeping is the foundation of accurate tax calculation. You need receipts for every improvement, a full depreciation schedule, and documentation of all selling expenses. Missing records force you to use unfavorable estimates, which almost always increase your tax bill.
Pro Tip: Request a depreciation schedule from your accountant every year you own a rental property. When you sell, that schedule becomes the starting point for calculating your recapture liability.
What strategies can reduce or defer taxes when selling property?
Tax reduction on a property sale is legal, predictable, and worth planning for well before you list. The most effective strategies require action before or during the sale, not after.
- Use a 1031 exchange for investment property. A 1031 exchange lets you defer all capital gains and depreciation recapture taxes by reinvesting the proceeds into a like-kind property. You have 45 days to identify a replacement property and 180 days to close. A qualified intermediary must hold the funds. Miss either deadline and the entire gain becomes taxable in the year of sale.
- Spread the gain with an installment sale. An installment sale lets the buyer pay you over multiple years. You recognize gain proportionally as you receive payments. This spreads your tax liability across several tax years and can keep you in lower brackets each year.
- Time the sale for a low-income year. Long-term capital gains rates depend on your total taxable income. Selling in a year when your income is lower, such as early retirement or a career transition, can drop your rate from 20% to 15% or even 0%.
- Offset gains with capital losses. Capital losses from stocks, bonds, or other investments offset capital gains dollar for dollar. Unused losses carry forward to future years. Coordinating a property sale with loss harvesting in your investment portfolio is a direct way to cut your tax bill.
- Convert a rental to a primary residence. Moving into a rental property and living there for at least 2 years before selling can qualify you for a partial Section 121 exclusion. The gain attributable to periods of non-qualified use and all depreciation recapture remain taxable, but the strategy still reduces the overall bill.
Pro Tip: Start the 1031 exchange process before you accept an offer. Once you close on the sale, the 45-day clock starts immediately. Waiting until after closing to find a qualified intermediary is one of the most common and costly mistakes sellers make.
How do you calculate your adjusted basis and net capital gain?
Accurate gain calculation requires four inputs: your adjusted basis, your amount realized, the exclusion you qualify for, and the depreciation subject to recapture.
- Start with your purchase price. Add all closing costs you paid at acquisition, such as title fees, legal fees, and transfer taxes.
- Add capital improvements. A capital improvement extends the life or increases the value of the property. Painting and routine repairs do not count. A new HVAC system or an added bathroom does.
- Subtract depreciation. For rental properties, subtract all depreciation claimed or allowable over the holding period.
- Calculate your amount realized. Take the sale price and subtract selling expenses: agent commissions, closing costs, and any seller-paid concessions.
- Subtract adjusted basis from amount realized. The result is your total capital gain before any exclusion.
| Step | Example amount |
|---|---|
| Purchase price + closing costs | $320,000 |
| Capital improvements | $40,000 |
| Adjusted basis before depreciation | $360,000 |
| Minus depreciation claimed | $50,000 |
| Final adjusted basis | $310,000 |
| Sale price minus selling expenses | $550,000 |
| Total capital gain | $240,000 |
Accurate documentation of every component is the only way to defend your numbers in an audit. A missing improvement receipt can cost you more in taxes than the improvement itself.
What mistakes should you avoid before selling property?
Most sellers underestimate their total tax liability because they focus only on the federal capital gains rate and ignore the other layers. The combined burden of federal gains tax, depreciation recapture, NIIT, and state taxes can reach 35% or more in high-tax states. Planning around the federal rate alone produces a dangerously low estimate.
Common mistakes that cost sellers money:
- Assuming the primary residence exclusion applies automatically. Partial eligibility rules and non-qualified use periods are complex and frequently misapplied.
- Ignoring depreciation recapture. The IRS taxes recaptured depreciation even if you never claimed the deduction.
- Waiting until after contract signing to consult a tax professional. By then, most planning options are closed.
- Failing to document improvements throughout ownership. Missing records inflate your taxable gain.
- Overlooking state-specific rules. Some states have their own exclusion limits, holding period requirements, or conformity rules that differ from federal law.
“The biggest tax mistake sellers make is treating the sale as a financial event rather than a tax event. By the time the contract is signed, the most powerful planning tools are already off the table. The sellers who come out ahead are the ones who called their advisor six months before listing, not six days after closing.”
Key takeaways
Selling property triggers capital gains tax, depreciation recapture, NIIT, and state taxes. Knowing each layer and planning before you list is the only way to protect your net proceeds.
| Point | Details |
|---|---|
| Primary residence exclusion | Single filers exclude up to $250,000 of gain; married filers exclude up to $500,000 if ownership and use tests are met. |
| Depreciation recapture rate | The IRS taxes recaptured depreciation at up to 25%, even if you never claimed the deduction. |
| 1031 exchange deadlines | You have 45 days to identify a replacement property and 180 days to close; missing either deadline eliminates the deferral. |
| State tax impact | State capital gains rates range from 0% to over 13%, pushing combined rates above 35% in high-tax states. |
| Adjusted basis accuracy | Your taxable gain depends entirely on accurate records of purchase costs, improvements, and depreciation. |
What I’ve learned from watching sellers get blindsided by property taxes
Most sellers walk into a property sale thinking about the check they will receive. They think about the federal capital gains rate, maybe the exclusion, and not much else. After years of working through these situations, I can tell you that the sellers who end up surprised are almost always the ones who planned around a single number.
The real picture is a stack. Federal gains tax sits on top of depreciation recapture, which sits on top of NIIT, which sits on top of state tax. Each layer is calculated differently and triggered by different thresholds. A seller in California with a rental property they have held for 15 years can face a combined rate that takes more than a third of their gain. That is not a worst-case scenario. That is a typical outcome for someone who did not plan.
The other thing I see constantly is sellers who assume the primary residence exclusion is automatic. They lived in the house, so they assume they qualify for the full $500,000. But if they rented the property for three years before moving in, or if they used part of it as a home office and claimed depreciation, the calculation is more complicated. The IRS does not give back depreciation, ever.
My honest advice: treat the sale of any property as a tax planning project that starts at least six months before you list. Pull your depreciation schedule. Calculate your adjusted basis. Run a projection of your combined federal and state liability. Then decide whether a 1031 exchange, an installment sale, or a timed sale in a lower-income year makes sense for your situation. The tax planning services you invest in before the sale almost always cost less than the taxes you avoid.
FAQ
What is capital gains tax on a property sale?
Capital gains tax is the federal tax on the profit from selling a property. Long-term rates in 2026 range from 0% to 20% based on your taxable income and filing status.
How does the primary residence exclusion work?
Single filers can exclude up to $250,000 of gain and married filers up to $500,000, provided they owned and lived in the home for at least 2 of the 5 years before the sale.
What is depreciation recapture and how much does it cost?
Depreciation recapture is the IRS requirement to pay tax on depreciation previously claimed on a rental or investment property. The maximum rate is 25%, and it applies even if you did not actually claim the deduction.
Can I defer taxes by doing a 1031 exchange?
A 1031 exchange defers capital gains and depreciation recapture taxes when you reinvest sale proceeds into a like-kind property. You must identify the replacement property within 45 days and close within 180 days.
Do I owe state taxes when I sell property?
State capital gains taxes apply in most states and range from 0% in states with no income tax to over 13% in states like California. Your total tax liability from a property sale includes both federal and state obligations.
