Email FacebookTwitterMenu burgerClose thin

When Are Capital Gains Taxes Due on Real Estate Sales?

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

Selling real estate can result in a significant profit, but it may also trigger capital gains taxes depending on whether the property qualifies for IRS exclusions, how much was earned and how long you owned the property. In most cases, capital gains taxes are owed for the tax year in which the property is sold, regardless of when the funds hit your bank account or how you choose to reinvest them. However, the rules differ depending on whether the property was your primary residence, an investment property or inherited real estate. 

A financial advisor can help review the sale details, apply the relevant tax rules and evaluate how the proceeds fit into a broader financial plan.

When Do You Pay Capital Gains Tax on Real Estate?

Capital gains taxes apply in the year the property is sold. So if you sell in 2026 you report and pay taxes on your 2026 return. This is typically by April of the following year.

You must report your gain using Form 8949 and Schedule D. These forms help you calculate your taxable profit and determine whether your gain is short term or long term. The IRS expects accurate reporting of your adjusted basis, selling expenses and holding period.

Some sellers may need to make quarterly estimated tax payments if the gain significantly increases their expected tax liability. Waiting until tax season can lead to penalties, although penalties may still apply if the sale occurs late in the year and no estimated payments were made in earlier quarters. In some cases, increasing tax withholding for the remainder of the year can offset the additional liability and reduce or eliminate estimated tax penalties.

Many states also tax capital gains on real estate. Payment deadlines will typically coincide with your state income tax filing date. 

If you sell property using an installment agreement, the tax is generally spread over time rather than paid all at once. Each payment typically includes a portion of principal and a portion of gain, and you report and pay capital gains taxes only on the gain allocated to the payments you receive in each tax year, subject to IRS installment sale rules.

Note: Your primary residence may qualify for an IRS exclusion, reducing or even eliminating tax. Meanwhile, inherited property often benefits from a stepped-up cost basis, lowering taxable gain. 

Home Sale Exclusion for Primary Residences

The Section 121 home sale exclusion allows eligible homeowners to exclude a portion of capital gains when selling a primary residence.

One valuable tax benefit for homeowners is the Section 121 home sale exclusion. This allows sellers to exclude up to $250,000 of gain (or $500,000 for married couples filing jointly) when selling a primary residence.

To qualify, homeowners must meet two tests:

  • Ownership test: You must have owned the home for at least two of the last five years.
  • Use test: You must have lived in the home as your primary residence for at least two of the last five years.

For example, if a married couple sells their home for a $480,000 gain, they can exclude the entire amount under the $500,000 limit and owe no federal capital gains tax.

Partial exclusions may apply in cases of job relocation, health reasons or other IRS-approved circumstances, even if the two-year requirement isn’t fully met.

Special Cases: Inherited Property, Gifts and Divorce

Capital gains taxes can work differently when real estate changes hands through an inheritance, gift or divorce. In each case, the property’s tax basis can determine how much gain is eventually taxable, while the transfer itself may or may not create an immediate tax bill.

Inherited real estate generally receives a new cost basis equal to its fair market value on the owner’s date of death, although an alternate valuation date may sometimes apply. This step-up in basis can eliminate much of the unrealized appreciation that accumulated during the previous owner’s lifetime. If the heir later sells the property for more than the new basis, the difference is generally taxable as a long-term capital gain, regardless of how long the heir owned the property.

Gifted property typically follows different rules. Instead of receiving a step-up in basis, the recipient generally takes over the donor’s adjusted basis for purposes of calculating a gain. For example, if a parent bought a property for $150,000, later gifted it to a child when it was worth $400,000 and the child eventually sold it for $450,000, the taxable gain could be based largely on the parent’s original basis rather than the property’s value when it was gifted. Special rules apply when a property’s fair market value at the time of the gift is below the donor’s basis.

Divorce can also delay, rather than eliminate, a potential capital gains tax. A transfer of real estate between spouses, or between former spouses when the transfer is incident to divorce, generally does not trigger an immediate gain or loss. The spouse receiving the property typically takes over the transferring spouse’s adjusted basis, which means the built-in gain may become taxable if the property is sold later. If divorcing spouses sell jointly owned real estate instead, each generally reports their share of the gain or loss based on their ownership under applicable state law.

In these situations, capital gains tax generally becomes relevant in the tax year when the property is sold rather than when it is inherited, gifted or transferred in a qualifying divorce. Because basis rules can significantly change the amount of taxable gain, keeping records of purchase prices, improvements, appraisals and prior transfers can be important when calculating the tax owed.

How Capital Gains Are Calculated on Real Estate

Investment properties, including rentals and vacation homes, do not qualify for the home sale exclusion. Gains from these properties are taxable, and depreciation recapture generally applies at rates up to 25%. A primary residence that was used as a deductible home office may also be subject to depreciation recapture on the portion of the property that was depreciated.

Your taxable capital gain on the sale is the profit you earn when selling a property for more than your adjusted basis. Your adjusted basis includes the original purchase price, plus closing costs and capital improvements, minus any depreciation taken (common for rental properties).

For example, if you bought a property for $300,000 and added $40,000 in improvements, your adjusted basis would be $340,000. If you then sold for $450,000, your gain would be $110,000 before factoring in selling expenses such as realtor commissions or closing costs. These expenses would reduce your taxable gain.

Your holding period for the property, meanwhile, determines the tax rate:

  • Short-term gains (meaning the property was held for one year of less) are taxed at ordinary income rates.
  • Long-term gains (the property was held for more than one year) qualify for preferential capital gains rates, 0%, 15% or 20% depending on income.

These tax brackets, along with your withholding and estimated taxes, influence what you owe at filing time. Selling high-value property can significantly affect your total tax liability, especially if you sell multiple properties in the same year.

Strategies to Manage Capital Gains Tax

Managing capital gains tax begins before you sell. Here are several strategies you can explore that may help to manage your tax burden:

  • Take advantage of the home sale exclusion: If selling a primary residence, ensure you meet the ownership and use tests to maximize or fully eliminate capital gains tax.
  • 1031 exchange: For investment properties, a 1031 exchange allows you to defer capital gains by reinvesting proceeds into another like-kind property. Timing and documentation must follow strict IRS guidelines.
  • Increase basis through improvements: Keep detailed records of capital improvements such as remodels, additions or system replacements, which increase your basis and lower taxable gain.

Bottom Line

Real estate sale taxes depend on when the sale occurs, the type of property involved and how specific tax rules apply.

Capital gains taxes on real estate are generally due for the tax year in which the property is sold, but the amount owed depends on factors such as the property’s adjusted basis, how long it was held and whether an exclusion or special rule applies. Inherited property, gifts and divorce-related transfers can all change how basis is calculated, which can significantly affect the eventual taxable gain. Keeping accurate records and understanding the applicable tax rules can help property owners estimate their potential liability before completing a sale.

Tax Planning Tips

  • A financial advisor can review your income, timing of transactions and available strategies to coordinate tax planning across investments, retirement accounts and major life events. Finding a financial advisor doesn’t have to be hard. SmartAsset’s free tool matches you with vetted financial advisors who serve your area, and you can have a free introductory call with your advisor matches to decide which one you feel is right for you. If you’re ready to find an advisor who can help you achieve your financial goals, get started now.
  • If you want to know how much your next tax refund or balance could be, SmartAsset’s tax return calculator can help you get an estimate.

Photo credit: ©iStock.com/designer491, ©iStock.com/bernardbodo, ©iStock.com/Chalirmpoj Pimpisarn