When individuals sell their real estate properties, they might be subject to capital gains tax on any profit made from the sale. This tax is levied on the difference between the selling price and the original purchase price, accounting for certain adjustments. However, homeowners may take advantage of a significant tax relief known as the capital gains tax exclusion, which allows them to exclude a portion of their profit from taxable income.

When you sell real estate, you may owe capital gains tax on the profit you earn. The taxable gain generally equals the difference between your sale price and your adjusted purchase price, which can include certain improvements and costs. This tax can affect how much you ultimately keep from the transaction.

You may reduce or eliminate part of that tax through the home sale exclusion if you meet specific ownership and use rules. If you lived in the property as your main home for at least two of the five years before the sale, you can exclude up to $250,000 in gain, or up to $500,000 if you file jointly and qualify. Accurate records of your purchase, improvements, and time in the home help you calculate and support your exclusion.

Key Takeaways

  • You may owe tax on the profit from selling property, but rules allow you to reduce the taxable amount.
  • Meeting ownership and residency requirements can let you exclude a substantial portion of your gain.
  • Careful calculation and proper reporting help you claim the benefit and stay compliant.

The information provided in this website was derived from sources deemed to be reliable to is not guaranteed or warranted.  All information, content, and materials available on this site are for general informational purposes only and are not intended to be legal, financial or tax advice. The information contained herein is not a substitute for professional legal, financial or tax consultation and should not be relied upon for any legal, financial, or tax matters. If you require legal, financial or tax assistance, please consult with a qualified attorney, financial or tax professional who can provide guidance tailored to your specific situation.

Understanding Capital Gains Tax

When you sell a capital asset (such as real estate, stocks, bonds, or certain business property) you may owe capital gains tax on the profit. The tax applies only to the difference between what you paid for the asset and what you received when you sold it.

Capital gains are not treated the same as wages or salary. The IRS separates these amounts from ordinary income and applies distinct capital gains tax rates, which can lower or increase what you owe depending on how long you held the asset and your taxable income.

You must report gains and losses on your federal return under Topic No. 701. Depending on your income level, you may also owe the Net Investment Income Tax (NIIT) and possibly state capital gains tax, which varies by state.

What Counts as a Gain or a Loss

capital gain occurs when your selling price exceeds your adjusted basis, which usually starts with your purchase cost. A capital loss happens when you sell for less than your basis.

You can use losses to offset gains. If your losses exceed your gains, you may deduct a limited amount against other income and carry forward the remainder to future years.

When you combine all transactions for the year, you calculate either a net long-term capital gain, a net short-term gain, or a net loss.

Key terms:

  • Capital asset: Property you own for investment or personal purposes
  • Capital gain: Profit from a sale
  • Capital loss: Loss from a sale

Short-Term and Long-Term Gain Rules

The length of time you hold an asset determines how it is taxed.

Holding PeriodType of GainFederal Tax Treatment
1 year or lessShort-term capital gainTaxed as ordinary income
More than 1 yearLong-term capital gain0%, 15%, or 20% rates

Short-term capital gains are taxed at your regular income tax rate.

Long-term capital gains rates are generally lower and depend on your taxable income. Higher-income taxpayers may also owe the 3.8% NIIT on net investment income.

Eligibility for the Capital Gains Tax Exclusion

Requirements Under IRC Section 121

The Section 121 exclusion allows you to shield a significant portion of profit from the sale of your main home from federal home sale tax.

You may exclude up to $250,000 of gain if you file as single, or up to $500,000 if you file a joint return. This benefit is often called the primary residence exclusion or home sale exclusion.

To qualify, you must meet specific timing and residency standards set by the IRS. Publication 523 outlines worksheets and detailed rules you can use to confirm eligibility and calculate your gain.

You cannot claim the capital gains exclusion if you used it for another home sale within the previous two years.

Ownership and Residency Requirements

You must satisfy both the ownership test and the use test during the five-year period before the sale date.

  • Ownership test: You owned the property for at least two years.
  • Use test: You lived in the home as your principal residence for at least two years.

The two-year periods do not need to be continuous. However, they must total at least 24 months (730 days) within the five-year window.

If you meet both tests, you can generally claim the full home sale tax exclusion. Failing one of the tests may still allow you to qualify for a partial exclusion in certain circumstances.

Special Circumstances and Partial Relief

Special rules apply if you are married, divorced, widowed, or serving on qualified official extended duty.

For married couples filing jointly:

  • At least one spouse must meet the ownership test.
  • Both spouses must meet the use test.
  • Neither spouse can have claimed another exclusion within two years.

If you transfer property to a spouse or former spouse during divorce, the recipient can include your ownership period when applying the ownership test.

A surviving spouse may claim the $500,000 exclusion if the sale occurs within two years of the other spouse’s death and other Section 121 requirements are met.

You may qualify for a partial exclusion if you sell due to work, health, or certain unforeseen events, even if you do not fully meet the standard tests.

Calculating the Exclusion Amount

Establishing Your Property’s Starting Basis

You begin by identifying your original cost basis, which usually starts with the purchase price of your home. Add closing costs and certain acquisition expenses you paid at the time of purchase.

For example:

ItemAmount
Purchase price$200,000
Closing costs$5,000
Initial basis$205,000

If you purchased the home jointly, calculate the basis using the total combined purchase amount. This figure becomes the foundation for determining your adjusted basis later.

Increasing Basis Through Capital Improvements

Your basis does not stay fixed. When you make qualifying improvements that add value, extend the home’s life, or adapt it to new uses, you increase your adjusted basis.

Common examples include:

  • Adding a room
  • Replacing the roof
  • Installing central air conditioning

If you spend $25,000 on a qualified addition, you add that amount to your existing basis. Routine repairs and maintenance, such as painting or fixing leaks, do not increase basis.

Your adjusted basis equals:

Original basis + qualifying improvements

Keeping detailed records of these costs helps you support the calculation if needed.

Learn more in our article: How to Track home improvements to increase cost basis & reduce capital gains taxes (iRS Sec 121)

Computing Gain and Applying the Home Sale Exclusion

To calculate capital gain, subtract your adjusted basis from the selling price:

Sale price – Adjusted basis = Capital gain (or loss)

If you sell your home for $550,000 and your adjusted basis is $300,000, your capital gain equals $250,000.

If the property qualifies as your primary residence and you meet ownership and use requirements, you may exclude up to:

  • $250,000 if you file as single
  • $500,000 if you file jointly

If your gain falls within the allowed exclusion amount, you owe no capital gains tax on that portion. Any gain above the exclusion remains taxable.

This exclusion applies only to a principal residence, not to rental or investment property.

Real Estate Sale and Reporting

Transaction Costs and Deductible Selling Outlays

You can lower your taxable gain by adding certain selling costs to your home’s basis or subtracting them from the sale proceeds. Only expenses directly connected to the sale qualify.

Common eligible costs include:

  • Attorney fees related to the closing
  • Title search and title insurance charges
  • Transfer or recording taxes
  • Real estate broker commissions
  • Advertising and marketing expenses

You may also count capital improvements made to increase the home’s value before the sale, as long as they are not routine repairs or maintenance. For example, replacing a roof to extend the home’s life may qualify, but painting for upkeep generally does not.

These amounts reduce the gain that may be subject to capital gains tax on real estate. Accurate records, including settlement statements and receipts, support the figures you report to the IRS.


Form 1099-S and Required Tax Reporting

When you sell real property, you often receive Form 1099-S, Proceeds from Real Estate Transactions. This form reports the gross proceeds of the sale to you and the IRS. If you receive it, you must report the transaction on your tax return, even if you qualify for the home sale exclusion.

You report the sale on Form 8949, then summarize totals on Schedule D (Form 1040), and include the results with your Form 1040.

In some cases, a sale of your main home does not generate Form 1099-S if you certify that:

  • Your gain does not exceed the Section 121 exclusion.
  • The sale price stays within the $250,000 limit ($500,000 if married filing jointly).

If your gain exceeds the exclusion or you receive Form 1099-S, you must properly report the sale to avoid penalties and IRS notices.

Sophisticated Planning Techniques and Key Factors

Like-Kind Exchanges Under Section 1031

1031 exchange, often called a like-kind exchange, allows you to postpone capital gains tax when you sell an investment or business property and reinvest the proceeds into another qualifying property. You defer the tax rather than eliminate it.

You must use both the relinquished and replacement properties for investment or business purposes. Personal residences and properties held primarily for resale do not qualify.

Strict timelines apply and require close attention:

RequirementDeadline
Identify replacement propertyWithin 45 days of sale
Complete purchase of replacementWithin 180 days of sale

You must also follow procedural rules, including using a qualified intermediary to hold sale proceeds. If you take possession of the funds, the IRS may treat the transaction as a taxable sale.

A like-kind exchange applies broadly to real estate held for investment, such as rental properties, commercial buildings, or land. The replacement property must be of similar nature or character, but it does not need to match in quality or value.

You can consolidate multiple properties into one or diversify by acquiring several assets. However, any cash you receive or debt reduction may trigger partial taxable gain, known as “boot.”

Because these transactions involve detailed Internal Revenue Code requirements, you should coordinate with tax and legal professionals before listing your property. Errors in timing or documentation can disqualify the exchange.

Using Installment Agreements to Postpone Tax

An installment sale allows you to spread capital gains tax over several years instead of recognizing the full gain in the year of sale. You report income as you receive principal payments.

This approach often works well when you finance the sale for the buyer. Rather than receiving a lump sum, you collect scheduled payments under a written agreement.

Each payment typically includes:

  • Return of your basis
  • Capital gain portion
  • Interest income

You pay tax only on the gain portion received each year. This structure may lower your annual tax burden by distributing income across multiple tax years.

If you expect to fall into a lower tax bracket in future years, an installment sale can improve overall tax efficiency. It may also help manage exposure to net investment income tax or phaseouts tied to adjusted gross income.

You must still recognize depreciation recapture in the year of sale, even if you receive payments over time. The IRS does not allow you to defer that portion.

Careful drafting of the installment agreement matters. You should address interest rates, default provisions, collateral, and security to protect your position as the seller.

This method introduces credit risk because you depend on the buyer’s ability to pay. Evaluate the buyer’s financial strength before agreeing to long-term payments.

Both installment sales and like-kind exchanges require structured planning. When you apply them correctly, you can control the timing of tax recognition and align it with your broader financial strategy.

This article is for informational purposes only. Tax laws can change—always consult a qualified tax advisor or CPA for your specific situation.

Do you have a property to sell?

If you have a property that you need to sell, now is the time to call Quantum Realty Advisors, Inc. for a free, 30-minute consultation to discuss your immediate needs and how we can help to address them. 

On behalf of our clients and strategic partners, we have successfully sell over hundreds of residential and commercial properties in most major markets nationwide. 

Our team has an extensive network of highly experienced partner brokers who can assist with all the local requirements, and we will personally be there for you every step of the way. 

The information provided in this website was derived from sources deemed to be reliable to is not guaranteed or warranted.  All information, content, and materials available on this site are for general informational purposes only and are not intended to be legal, financial or tax advice. The information contained herein is not a substitute for professional legal, financial or tax consultation and should not be relied upon for any legal, financial, or tax matters. If you require legal, financial or tax assistance, please consult with a qualified attorney, financial or tax professional who can provide guidance tailored to your specific situation.

Similar Posts