Email FacebookTwitterMenu burgerClose thin

Capital Gains Tax on Real Estate Investment Property

SmartAsset maintains strict editorial integrity. It doesn’t provide legal, tax, accounting or financial advice and isn’t a financial planner, broker, lawyer or tax adviser. Consult with your own advisers for guidance. Opinions, analyses, reviews or recommendations expressed in this post are only the author’s and for informational purposes. This post may contain links from advertisers, and we may receive compensation for marketing their products or services or if users purchase products or services. | Marketing Disclosure
Share

Real estate investments can be lucrative assets. However, they can also incur capital gains taxes that weaken your profits. Fortunately, you can implement tactics that reduce capital gains taxes, so you can keep more of your money when you sell a property. Although the IRS taxes short-term and long-term gains differently, you can combat high tax rates on both. We’ll explain how both types of capital gains taxes work and how to minimize them.

A financial advisor can help you tax-optimize your investment portfolio. Find a financial advisor today.

What Are Capital Gains Taxes?

Capital gains taxes are the taxes you owe on the profit you make when you sell an investment for more than you originally paid for it. In real estate, this means the IRS taxes the difference between your property’s adjusted cost basis, which includes purchase price, certain closing costs and qualifying improvements, and the price you sell it for. These taxes come into play only when you sell the property, not while you own it.

There are two types of capital gains taxes: short-term and long-term. Short-term gains apply to properties held for one year or less . They are taxed at your ordinary income tax rate, which can be significantly higher. Long-term gains, on the other hand, apply to properties held for more than a year and are typically much lower.

How Are Capital Gains Taxed?

Different rates apply depending on whether capital gains are short-term or long-term.

Short-Term Capital Gains Rates

The IRS taxes short-term capital gains as standard income, meaning your income tax bracket will determine your tax rate. Income tax brackets are as follows: 10%, 12%, 22%, 24%, 32%, 35% and 37%. Your income determines your short-term capital gains tax rate.

For example, say you make $85,000 from your day job as a single person, putting you in the 22% marginal tax bracket. You sell an investment property nine months after purchasing it and make a $30,000 profit. The sale results in a short-term capital gain that boosts your total income to $115,000. As a single filer, this pushes you into the 24% tax bracket in 2026. As a result, a portion of your $115,000 income will be taxed a rate of 24%.e

Long-Term Capital Gains Rates

Conversely, long-term capital gains have lower, more favorable tax rates than short-term gains: 0%, 15% and 20%, depending on your income level and filing status.

For 2026, single filers making up to $49,450 pay no tax on long-term capital gains. Meanwhile, single filers will pay a rate of 15% if their income is between $49,451 and $545,500, and 20% if their income is above $545,500. In addition, single filers making $200,000 or more annually will pay a net investment income tax (NIIT) of 3.8% on capital gains from real estate.

Meanwhile, married couple filing 2026 taxes jointly will pay 0% if they earn up to $98,900. The 15% rate applies if the couple earns between $98,900 and $613,700. The 20% rate applies if they earn more than $613,700. NIIT applies to married couples filing jointly who earn over $250,000.

How to Limit Capital Gains on Real Estate Investment Properties

Limiting capital gains on real estate investment properties starts with smart tax planning, and timing is one of the most effective tools at your disposal. Holding a property for more than a year allows you to qualify for long-term capital gains rates, which are significantly lower than short-term rates. If you expect to sell, aligning the transaction with a year when your income is lower can also reduce the rate you pay, since capital gains are tied to your overall taxable income.

Make the Property Your Primary Residence

The IRS exempts primary residence sales from capital gains taxes up to $500,000 for married joint filers (up to $250,000 for single filers).

You can also avoid paying taxes on depreciation deductions this way. Using this option means fulfilling the following requirements:

  • Owning the home for two or more of the last five years
  • Living in the home as your primary residence for two or more of the last five years
  • Not having taken a previous primary residence exemption in two years

Use Tax-Loss Harvesting

Tax-loss harvesting means deliberately selling an asset for a loss to mitigate profits from another asset. If you sell a property for less than you bought it, you can reduce your taxes.

For instance, say you sell one property and make $30,000. You don’t want to pay taxes on this gain, so you sell another property for $25,000 less than what you paid. As a result, you pay taxes on only $5,000 of capital gains, rather than $30,000.

Leverage 1031 Exchanges

With a 1031 exchange, you use the income from the sale of an investment property to purchase another investment property of equal or greater value. Then, you don’t have to pay taxes on prior depreciation deductions when selling rental properties. This allows you to avoid income taxes on depreciation in perpetuity as long as you buy another property of equal or greater value.

How to Minimize Your Capital Gains Tax

Even if you can’t altogether avoid capital gains taxes, the following tactics will minimize the amount you pay:

Depreciation Deduction

The IRS allows rental property owners to deduct an annual depreciation amount from their income. The deduction comes from the expected lifespan of rental property, which the IRS defines as 27.5 years. You can calculate your depreciation deduction by dividing your rental property value by 27.5 (commercial real estate uses the lifespan figure of 39 years).

For instance, say you have a $250,000 residential investment property. Dividing this figure by the depreciation deduction lifespan of 27.5 gives you an annual deduction of $9,090.

Itemized Deductions

Generally, you can deduct the costs of managing property, lowering your tax burden. Running your real estate investment business incurs costs such as travel, legal fees and business equipment. These expenses can add up, but they can also create a tax benefit. In addition, you can deduct mortgage interest and the costs of repairing or maintaining a property.

Keeping detailed records and saving every receipt is vital to claiming as many deductions as possible.

Increased Property Basis

Boosting your property’s basis is one of the most effective ways to reduce the capital gains tax you’ll owe when you sell. Your basis starts with the purchase price. You can increase it by adding the cost of qualifying capital improvements, projects that add value, prolong the property’s life or adapt it to new uses. Renovations like replacing a roof, upgrading electrical systems, installing new flooring or adding rooms all increase your basis because they’re considered long-term improvements rather than routine repairs.

You can also increase your basis by including certain acquisition and selling costs. Closing costs, such as title fees, recording fees and some legal expenses, may qualify, as can selling expenses like real estate commissions and advertising costs. Keeping meticulous records of every improvement and transaction-related cost ensures you don’t miss deductions that could significantly reduce your taxable gains.

Depreciation Recapture: The Tax Most Investors Overlook

Claiming depreciation on a rental property reduces your taxable income every year you own it. This makes it one of the more valuable ongoing benefits in real estate investing. The part that tends to surprise sellers, however, is that the IRS treats those annual deductions as a loan of sorts. When the property sells, the IRS settles those deductions.

The settlement takes the form of depreciation recapture, taxed at a flat 25% rate on however much depreciation was taken over the ownership period. This rate applies separately from whatever capital gains rate covers the rest of the profit on the sale.

So, for instance, an investor who held a property for 15 years and claimed the full annual deduction each year could easily have accumulated over $100,000 in depreciation. This would produce a recapture bill in the range of $25,000 to $30,000, and that’s before the addition of any capital gains tax.

It’s important to note that the IRS calculates depreciation recapture based on the depreciation you were eligible to take, not just what you actually claimed. Passing on the deduction in a given year doesn’t reduce the recapture obligation at sale. Instead, it just means you paid more tax during ownership without reducing the bill at the end.

Planning ahead matters here more than it does in most areas of real estate taxation. Knowing your cumulative depreciation figure well before a sale gives you time to evaluate your options. A 1031 exchange into a replacement property pushes the recapture obligation forward rather than eliminating it. Still, for investors who intend to keep buying and holding, deferral can be a meaningful long-term advantage.

Opportunity Zones as a Capital Gains Strategy

Established as part of the 2017 tax overhaul, the Opportunity Zone program aims to channel private investment into economically distressed communities by attaching tax incentives to those who participate. For real estate investors with a large gain on a recent sale, it offers a different kind of tax relief.

The entry point is a capital gain from any asset sale, not just real estate. Reinvesting that gain into a Qualified Opportunity Fund within 180 days of the sale triggers a deferral on the tax owed. Rather than paying the capital gains bill in the year of the sale, the investor postpones that obligation while putting the capital to work in a qualifying investment.

The more substantial benefit comes from what happens inside the fund over time. Appreciation generated by the Opportunity Zone investment itself receives favorable treatment the longer the position is held. An investor who stays in the fund long enough can exit with the gains from that investment taxed at a significantly reduced rate compared to what a standard long-term capital gains sale would produce. The original deferred gain does eventually come due, but gains earned within the fund can be treated more favorably.

There are real constraints to weigh, though. Opportunity Zone funds concentrate capital in specific geographic areas, and the quality of those investments varies considerably. Liquidity is limited, the fund structures carry fees and the underlying development projects carry execution risk that a direct property purchase typically doesn’t.

The program tends to work best for investors who have a genuine long-term horizon, are comfortable with the illiquidity and have a large enough gain that the tax benefit justifies the added complexity. For those who need access to their capital within a few years or prefer direct control over their real estate holdings, other strategies are likely a more practical fit.

Bottom Line

A mortgage lender reviewing paperwork.

Capital gains taxes can curb your profits from real estate investments. Fortunately, multiple deductions and tax strategies can lower your tax burden. For example, you can deduct depreciation and make a home your primary residence before you sell it. In addition, upgrading your home can boost your property basis and lower your capital gains taxes. Being thorough in your research and record-keeping can go a long way towards ensuring you minimize capital gains taxes on real estate investments.

Tips on Capital Gains Tax on Real Estate Investment Property

  • You can make the most of your real estate investments by familiarizing yourself with relevant tax laws. A financial advisor can help you understand your financial position and make the most of your tax return. Finding a financial advisor doesn’t have to be hard. SmartAsset’s free tool matches you with vetted financial advisors who serve your area. From there, you can have a free introductory call with your matches to decide who is right for you. If you’re ready to find an advisor who can help you achieve your financial goals, get started now.
  • Check out our free capital gains tax calculator for a quick estimate of how much you’ll owe.
  • If you’re considering starting a real estate venture, it’s wise to do your homework first. Use this guide for how to buy investment property.

Photo credit: ©iStock.com/Perawit Boonchu, ©iStock.com/ArLawKa AungTun, ©iStock.com/ArLawKa AungTun