Account
Get our app
Account Sign up Sign in

Leave Taxes to a Pro

Get matched with a Tax Pro who knows what you need. Get 20% off your Rocket Tax package this Holiday season!

Leave Taxes to a Pro

Simplify your taxes

What are capital gains?

A capital gain is when an asset is sold for more than what was paid. For example, if you buy a share of stock for $40 and later sell that share for $100, you have a capital gain of $60. The tax on that profit is called capital gains tax.

Capital gains are classified as either long-term or short-term. If you hold an asset for a year or less, you may be subject to short-term capital gains taxes. Assets held for more than one year may be subject to long-term capital gains taxes. Net short-term capital gains are typically taxed at the same rate as ordinary income. Net long-term capital gains receive more favorable rates, which typically do not exceed 15% for most taxpayers. 

How do capital gains work in real estate?

Capital gains taxes on the sale of real estate are similar to those on other capital assets. If you own real estate for more than one year before the sale, you will be taxed at the long-term capital gains rate. If you own real estate for one year or less, you will be taxed at the short-term rate. The exact tax rate depends on your marital status, tax bracket, whether the property served as your primary residence, and other factors.

For 2024, single taxpayers and married couples filing jointly will not pay taxes on long-term capital gains up to $47,025 and $94,050, respectively. Single taxpayers may pay a 15% tax rate on long-term capital gains between $47,026 and $518,900. Married couples filing jointly may pay 15% on long-term capital gains between $94,051 and $583,750.

For 2025, single taxpayers may pay a 15% tax rate on long-term capital gains between $48,351 and $533,400. Married couples filing jointly may pay 15% on long-term capital gains between $96,701 and $600,050.

The long-term capital gains tax rate is currently capped at 20%.

To determine the amount of capital gains on real estate, subtract your basis from the sale price. Your basis in the real estate is generally the amount paid for the property plus closing costs, real estate agent fees, and significant capital improvements, such as a new roof or septic system. The sale of real estate is generally reported on your individual tax return using Form 8949 and Schedule D. Because of the complexity of reporting the sale of real estate, you may want a Tax Pro to review your tax return.

How do capital gains affect my taxes?

When a capital asset is sold for a profit, the taxpayer must report the sale on their income tax return. Short-term capital gains are taxed as ordinary income. For tax years 2024 and 2025, the highest rate for an individual is 37%. Long-term capital gains, however, are taxed at more favorable rates.

Long-term capital gains are taxed at either 0%, 15%, or 20%, depending on other reported income. Most taxpayers pay 15% or less.  

Some taxpayers may also be subject to the Net Investment Income Tax (NIIT) on their capital gains. The NIIT is a 3.8% tax for taxpayers with income above certain thresholds. The NIIT applies to single taxpayers and married couples filing jointly with modified adjusted gross incomes exceeding $200,000 and $250,000, respectively. Because of the NIIT, the total federal tax on long-term capital gains may be as high as 23.8%, and the federal tax on short-term capital gains may be as high as 40.8%.

How can I minimize capital gains taxes?

One way to minimize capital gains taxes on real estate sales is to claim the primary residence exclusion. You are generally eligible if you owned and used the residence as your main home for at least two years during the five-year period preceding the sale date.

A qualifying single taxpayer can exclude up to $250,000 of capital gain from the sale of a primary residence, while a married couple filing jointly can exclude up to $500,000. Because the tax benefits are significant, property owners may consider moving into an investment or rental property for two years prior to selling it in order to qualify for the exclusion.

There are other ways to reduce capital gains taxes when selling real estate. In a 1031 exchange, for instance, you essentially swap one real estate investment property for another and defer the capital gains on the transaction. Special rules apply when conducting a 1031 exchange, so working with an attorney or tax professional can make the process easier.

Capital gains taxes may also be reduced by adding expenses such as closing costs, realtor fees, and capital repairs and improvements to your basis. Increasing your basis directly reduces the amount of net capital gains. Finally, losses from the sale of other assets can offset the capital gains from real estate sales. For example, if you sell stocks for a long-term loss of $20,000 and you have $50,000 of long-term capital gains from selling real estate in the same year, you can lower your net capital gain to $30,000.

Figuring out how to legally minimize taxes based on your specific situation can be confusing. If you need tax help, Rocket Lawyer can now match you with a Tax Pro for affordable and convenient tax filing services. If you have questions about selling real estate or capital gains, you can also reach out to a Rocket Legal Pro for affordable legal advice.

This article contains general legal information and does not contain legal advice. Rocket Lawyer is not a law firm or a substitute for an attorney or law firm. The law is complex and changes often. For legal advice, please ask a lawyer.


Ask a lawyer

Our network attorneys are here for you.
Characters remaining: 600
Rocket Lawyer Network Attorneys

Try Rocket Lawyer FREE for 7 days

Start your membership now to get legal services you can trust at prices you can afford. You'll get:

All the legal documents you need—customize, share, print & more

Unlimited electronic signatures with RocketSign®

Ask a lawyer questions or have them review your document

Dispute protection on all your contracts with Document Defense®

30-minute phone call with a lawyer about any new issue

Discounts on business and attorney services