---
title: "Capital Gains Tax On Primary Residence: How Much Is It And Can It Be Avoided?"
description: Primary residence homeowners can take advantage of certain tax benefits when selling their home.
image: https://www.realized1031.com/hubfs/Images/photo/abstract/couple-white-house-IS-1204610560.jpg
---

[![Realized 1031 Exchange Marketplace](https://www.realized1031.com/hs-fs/hubfs/Images/Brand/Logo/Realized/Realized-Logo-Black.png?width=240&height=80&name=Realized-Logo-Black.png "Realized 1031 Logo") ](https://www.realized1031.com/)

- [Wealth Management Gap](https://www.realized1031.com/the-wealth-management-gap)
- [Our Process](https://www.realized1031.com/how-realized-works)
- [Financial Advisors](https://www.realized1031.com/advisor)
- [Resources](https://www.realized1031.com/resources)

- [The Company](https://www.realized1031.com/about-us)
- [Articles](https://www.realized1031.com/blog)

[Register](https://www.realized1031.com/marketplace)

[Log In](https://www.realized1031.com/login)

- Better Business Bureau Rating: **A+**
- [FINRA BrokerCheck](https://brokercheck.finra.org/firm/summary/22333)
- [Call](tel:1-877-797-1031) **(877) 797-1031**

# Capital Gains Tax On Primary Residence: How Much Is It And Can It Be Avoided?

Posted Jan 25, 2021

![couple-white-house-IS-1204610560](https://www.realized1031.com/hs-fs/hubfs/Images/photo/abstract/couple-white-house-IS-1204610560.jpg?width=753&name=couple-white-house-IS-1204610560.jpg)

A primary residence is not an investment property and thus has different tax outcomes. Primary residence homeowners can take advantage of certain tax benefits when selling their home. This benefit is called section 121 primary residence tax exclusion.

### What is a Primary Residence?

Your primary residence is where you live. It is where you spend most of your time. A few qualifying factors for primary residence status include:

- The home’s address is on your driver’s license, voter registration card, and car registration.
- It’s where you receive your tax returns.
- The home’s address is listed with USPS.
- Closest to where you bank, work, or club/organization you’re affiliated with.
- Family members live close by.

From the IRS’s perspective, spending most of your time at this location is the most important factor. The above points are helpful if you own more than one home (i.e., vacation home). If you own only one home, determining your primary residence is much simpler.

### Primary Residence Capital Gains Tax

When selling a home for a gain, you may owe taxes. If you’ve lived in the home for more than a year, you’ll pay long-term capital gains taxes. To figure out your gain, you must first determine your cost [basis](https://www.realized1031.com/glossary/basis) in the home. 

A basis is used to determine the amount of taxes owed. The sales price minus the basis (plus sales cost) equals the gain or loss. A larger basis will result in a smaller gain and thus less in taxes. If you sell your home below the basis, you’ll have a loss. A loss on a primary residence is not deductible.

Even if you don’t owe any taxes, it’s best to report it on your tax return. If you got a [1099S](https://www.irs.gov/pub/irs-pdf/f1099s.pdf) (i.e., proceeds from real estate transaction), you have to report it anyway.

The basis can change as you own the home due to home improvements, realtor costs, and other expenses. This change in basis is called the [adjusted basis](https://www.realized1031.com/glossary/adjusted-basis). The adjusted basis is then used to figure out the gain when the home is sold.

Note that it’s important to keep any receipts related to capital improvements on the home. The IRS may want to verify them.

Depending on the expense, the basis will adjust up or down. Here’s a quick guide showing how different expenses affect the basis.

**Adjust Up:**

- Acquisition costs (i.e., title-related, transfer fees, surveys).
- Cost for additions or improvements.
- Cost of installing utility service.
- Property-related legal fees.
- Restoration cost related to damage or lost due to theft, flood, fire, or other casualty.
- Home energy improvement tax credits received after 2005.

**Adjust Down:**

- Depreciation (i.e., home used as rental or business).
- Insurance payouts related to casualty or theft loss.
- Deductible for casualty loss that wasn’t covered by insurance.
- Gain on sales of a home before May 7, 1997.
- Money received for granting an easement.

The following expenses do not affect the cost basis:

- Appraisal fees
- Pest inspection fees
- Credit report fees
- Mortgage broker's commissions
- Loan fees (not points)

To see how the basis is determined, let’s go through an example.

Home purchase price: $250,000

+ Closing cost: $7,000

+ Improvements while occupying home: $50,000

= Adjusted basis: $307,000

Home sales price: $400,000

- Closing cost: $30,000

= Sale Proceeds: $370,000

Now we can calculate the capital gain:

$370,000

- $307,000

= $63,000

The capital gain on this home is $63,000. However, this may not be the amount that is owed in taxes. 

### Is There a Way to Avoid It?

The IRS tax code has something called [section 121](https://www.irs.gov/pub/irs-drop/rr-14-02.pdf), which allows primary residence homeowners to exclude a certain amount of gains on the sale of their home. As usual, with tax benefit perks, there are strings attached. 

The section 121 exclusion allows the following amounts to be excluded, depending on your tax filing status:

- Single — $250,000
- Married — $500,000

The condition is that you must have lived in the home for 2 of the last 5 years. The 2 years do not need to be 24 consecutive months. This also means that you can complete the transaction every two years. The exclusion applies to federal taxes only. State taxes still apply but may be reduced if the state has a credit or other favorable tax reductions on the sale of a primary residence.

From the above example, the $63,000 is an allowed exclusion. Taking another scenario, the allowed exclusion on a $300,000 gain for a single filer is $250,000. Taxes will be owed on $50,000 of the gain.

The more an investor is able to increase their adjusted cost basis, the more they will decrease their gain and, thus, potential tax bill. Of course, if the home appreciates at a rate that keeps ahead of any upwardly adjusting cost basis, the potential gain will not decrease. The primary residence tax exclusion is fairly straightforward, but it's always best to work with your financial or tax advisor when selling a home.

This material is for general information and educational purposes only. Information is based on data gathered from what we believe are reliable sources. It is not guaranteed as to accuracy, does not purport to be complete and is not intended to be used as a primary basis for investment decisions.

This is a hypothetical example that is demonstrating some mathematical principles. It does not illustrate any investment products and does not show past or future performance of any specific investment. Investing involves risk, including the loss of principal.

Download The Guide To Capital Gains

[![The Investor's Cap Gains Guidebook](https://www.realized1031.com/hs-fs/hubfs/Images/UI/graphics/composites/Capital-Gains-eBook-250.png?width=250&height=250&name=Capital-Gains-eBook-250.png "Re-invest your capital gains. ...") ](https://www.realized1031.com/blog/capital-gains-tax-on-primary-residence-how-much-is-it-and-can-it-be-avoided#blogform)

Download eBook

---

 

---

### The Investor's Cap Gains Guidebook

![Download The Guide To Capital Gains](https://www.realized1031.com/hs-fs/hubfs/Images/UI/graphics/composites/Capital-Gains-eBook-550.jpg?width=550&height=650&name=Capital-Gains-eBook-550.jpg)

Re-invest your capital gains. Defer or Eliminate Taxable Income.

By providing your email and phone number, you are opting to receive communications from Realized. If you receive a text message and choose to stop receiving further messages, reply STOP to immediately unsubscribe. Msg & Data rates may apply. To manage receiving emails from Realized visit the Manage Preferences link in any email received.

Search

### [Why Realized](https://www.realized1031.com/why-realized)

- [Wealth Management](https://www.realized1031.com/the-wealth-management-gap)
- [Why Realized](https://www.realized1031.com/why-realized)
- [Our Process](https://www.realized1031.com/how-realized-works)
- [Scenarios](https://www.realized1031.com/scenarios)
- [Private Client Program](https://www.realized1031.com/private-client)
- [Realized Exchange Services](https://www.realized1031.com/realized-exchange-services)

### [The Company](https://www.realized1031.com/about-us)

- [The Team](https://www.realized1031.com/about-us)
- [FAQ](https://www.realized1031.com/frequently-asked-questions)
- [Testimonials](https://www.realized1031.com/testimonials)
- [Press](https://www.realized1031.com/press)
- [Careers](https://www.realized1031.com/careers)

### [Partners](https://www.realized1031.com/partners)

- [Financial Advisors](https://www.realized1031.com/advisor)
- [Broker Dealers](https://www.realized1031.com/partners/broker-dealers)
- [Real Estate Agents](https://www.realized1031.com/partners/real-estate-agents)
- [Certified Public Accountants](https://www.realized1031.com/partners/certified-public-accountants)

### [Resources](https://www.realized1031.com/resources)

- #### Learn
  
    - [Articles](https://www.realized1031.com/blog)
    - [Glossary of Terms](https://www.realized1031.com/glossary)
    - [Capital Gains Tax Rates](https://www.realized1031.com/capital-gains-tax-rate)
- #### Watch
  
    - [Video Library](https://www.realized1031.com/videos)
    - [Webinar Archive](https://www.realized1031.com/webinars)
- #### Read
  
    - [Delaware Statutory Trust](https://www.realized1031.com/delaware-statutory-trust)
    - [Tenants-In-Common](https://www.realized1031.com/tenants-in-common-tic)
    - [1031 Exchange](https://www.realized1031.com/1031-exchange)
    - [Qualified Intermediary](https://www.realized1031.com/qualified-intermediary)
    - [Qualified Opportunity Zones](https://www.realized1031.com/opportunity-zones)

#### Realized

- 500 W 13th Street  
  Austin, TX 78701
- (877) 797-1031

##### [Contact Us](https://www.realized1031.com/contact-us)

- [![Realized on Facebook](https://www.realized1031.com/hs-fs/hubfs/Images/UI/Social/Icons/Mix/social-facebook-whiterev.png?width=60&height=60&name=social-facebook-whiterev.png)](https://www.facebook.com/Realized/)
- [![Realized on LinkedIn](https://www.realized1031.com/hs-fs/hubfs/Images/UI/Social/Icons/Mix/social-linkedin-whiterev.png?width=60&height=60&name=social-linkedin-whiterev.png)](https://www.linkedin.com/company/realized/)
- [![Realized on YouTube](https://www.realized1031.com/hs-fs/hubfs/Images/UI/Social/Icons/Mix/social-youtube-whiterev.png?width=60&height=60&name=social-youtube-whiterev.png)](https://www.youtube.com/c/Realized1031?sub_confirmation=1)

- [![Realized Holdings, Inc. BBB Business Review](https://www.realized1031.com/hs-fs/hubfs/Images/professional-assoc/bbb/RZH2-bbb-seal.png?width=40&height=65&name=RZH2-bbb-seal.png)](http://www.bbb.org/central-texas/business-reviews/real-estate-investors/realized-holdings-llc-in-austin-tx-1000112948/#bbbonlineclick)
- [![FEA Logo](https://www.realized1031.com/hs-fs/hubfs/Images/professional-assoc/fea/RZH2-fea-logo.png?width=82&height=65&name=RZH2-fea-logo.png "FEA Logo")](https://www.1031.org)

SECURITIES DISCLOSURE

Realized1031.com is a website operated by Realized Technologies, LLC, a wholly owned subsidiary of Realized Holdings, Inc. (“Realized Holdings”). Securities and/or Investment Advisory Services may be offered through Registered Representatives or Investment Advisor Representatives of Realized Financial, Inc. ("Realized"), a broker/dealer, member [FINRA](https://www.finra.org)/[SIPC](https://www.sipc.org/), and registered investment adviser. Realized is a subsidiary of Realized Holdings, Inc. ("Realized Holdings"). Check the background of this firm on [FINRA's BrokerCheck](https://brokercheck.finra.org/firm/summary/22333).

Hypothetical example(s) are for illustrative purposes only and are not intended to represent the past or future performance of any specific investment.

Investing in alternative assets involves higher risks than traditional investments and is suitable only for sophisticated investors. Alternative investments are often sold by prospectus that discloses all risks, fees, and expenses. They are not tax efficient and an investor should consult with his/her tax advisor prior to investing. Alternative investments have higher fees than traditional investments and they may also be highly leveraged and engage in speculative investment techniques, which can magnify the potential for investment loss or gain and should not be deemed a complete investment program. The value of the investment may fall as well as rise and investors may get back less than they invested.

This site is published for residents of the United States who are accredited investors only. Registered Representatives and Investment Advisor Representatives may only conduct business with residents of the states and jurisdictions in which they are properly registered. Therefore, a response to a request for information may be delayed until appropriate registration is obtained or exemption from registration is determined. Not all of services referenced on this site are available in every state and through every representative listed. For additional information, please contact the Realized Compliance department at 512-472-7171 or info@realized1031.com.

- [Terms & Conditions](https://www.realized1031.com/terms-and-conditions)
- [Privacy Policy](https://www.realized1031.com/privacy-policy)
- [Form CRS](https://www.realized1031.com/hubfs/common-files/disclosures/FormCRS.pdf)
- [ADV 2A](https://www.realized1031.com/hubfs/common-files/disclosures/ADV2A.pdf)
- [Reg BI Disclosures](https://www.realized1031.com/hubfs/common-files/disclosures/RegBI.pdf)
-  

© 2026 Realized Holdings, Inc.

```json
{
  "@context" : "http://schema.org/",
  "@type" : "BlogPosting",
  "articleBody" : "A primary residence is not an investment property and thus has different tax outcomes. Primary residence homeowners can take advantage of certain tax benefits when selling their home. This benefit is called section 121 primary residence tax exclusion. What is a Primary Residence? Your primary residence is where you live. It is where you spend most of your time. A few qualifying factors for primary residence status include: The home’s address is on your driver’s license, voter registration card, and car registration. It’s where you receive your tax returns. The home’s address is listed with USPS. Closest to where you bank, work, or club/organization you’re affiliated with. Family members live close by. From the IRS’s perspective, spending most of your time at this location is the most important factor. The above points are helpful if you own more than one home (i.e., vacation home). If you own only one home, determining your primary residence is much simpler. Primary Residence Capital Gains Tax When selling a home for a gain, you may owe taxes. If you’ve lived in the home for more than a year, you’ll pay long-term capital gains taxes. To figure out your gain, you must first determine your cost basis in the home. A basis is used to determine the amount of taxes owed. The sales price minus the basis (plus sales cost) equals the gain or loss. A larger basis will result in a smaller gain and thus less in taxes. If you sell your home below the basis, you’ll have a loss. A loss on a primary residence is not deductible. Even if you don’t owe any taxes, it’s best to report it on your tax return. If you got a 1099S (i.e., proceeds from real estate transaction), you have to report it anyway. The basis can change as you own the home due to home improvements, realtor costs, and other expenses. This change in basis is called the adjusted basis. The adjusted basis is then used to figure out the gain when the home is sold. Note that it’s important to keep any receipts related to capital improvements on the home. The IRS may want to verify them. Depending on the expense, the basis will adjust up or down. Here’s a quick guide showing how different expenses affect the basis. Adjust Up: Acquisition costs (i.e., title-related, transfer fees, surveys). Cost for additions or improvements. Cost of installing utility service. Property-related legal fees. Restoration cost related to damage or lost due to theft, flood, fire, or other casualty. Home energy improvement tax credits received after 2005. Adjust Down: Depreciation (i.e., home used as rental or business). Insurance payouts related to casualty or theft loss. Deductible for casualty loss that wasn’t covered by insurance. Gain on sales of a home before May 7, 1997. Money received for granting an easement. The following expenses do not affect the cost basis: Appraisal fees Pest inspection fees Credit report fees Mortgage broker's commissions Loan fees (not points) To see how the basis is determined, let’s go through an example. Home purchase price: $250,000 + Closing cost: $7,000 + Improvements while occupying home: $50,000 = Adjusted basis: $307,000 Home sales price: $400,000 - Closing cost: $30,000 = Sale Proceeds: $370,000 Now we can calculate the capital gain: $370,000 - $307,000 = $63,000 The capital gain on this home is $63,000. However, this may not be the amount that is owed in taxes. Is There a Way to Avoid It? The IRS tax code has something called section 121, which allows primary residence homeowners to exclude a certain amount of gains on the sale of their home. As usual, with tax benefit perks, there are strings attached. The section 121 exclusion allows the following amounts to be excluded, depending on your tax filing status: Single — $250,000 Married — $500,000 The condition is that you must have lived in the home for 2 of the last 5 years. The 2 years do not need to be 24 consecutive months. This also means that you can complete the transaction every two years. The exclusion applies to federal taxes only. State taxes still apply but may be reduced if the state has a credit or other favorable tax reductions on the sale of a primary residence. From the above example, the $63,000 is an allowed exclusion. Taking another scenario, the allowed exclusion on a $300,000 gain for a single filer is $250,000. Taxes will be owed on $50,000 of the gain. The more an investor is able to increase their adjusted cost basis, the more they will decrease their gain and, thus, potential tax bill. Of course, if the home appreciates at a rate that keeps ahead of any upwardly adjusting cost basis, the potential gain will not decrease. The primary residence tax exclusion is fairly straightforward, but it's always best to work with your financial or tax advisor when selling a home. This material is for general information and educational purposes only. Information is based on data gathered from what we believe are reliable sources. It is not guaranteed as to accuracy, does not purport to be complete and is not intended to be used as a primary basis for investment decisions. This is a hypothetical example that is demonstrating some mathematical principles. It does not illustrate any investment products and does not show past or future performance of any specific investment. Investing involves risk, including the loss of principal.",
  "articleSection" : [ "Capital Gains" ],
  "author" : {
    "@type" : "Person",
    "email" : "marketing@realized1031.com",
    "image" : "",
    "name" : "The Realized Team",
    "url" : "https://www.realized1031.com/blog/author/the-realized-team"
  },
  "dateModified" : "2022-12-22T18:27:48+0000",
  "datePublished" : "2022-12-22T18:27:48+0000",
  "description" : "Primary residence homeowners can take advantage of certain tax benefits when selling their home.",
  "headline" : "Capital Gains Tax On Primary Residence: How Much Is It And Can It Be Avoided?",
  "image" : {
    "@type" : "ImageObject",
    "height" : 500,
    "url" : "https://f.hubspotusercontent10.net/hubfs/733513/Images/photo/abstract/couple-white-house-IS-1204610560.jpg",
    "width" : 753
  },
  "mainEntityOfPage" : "https://www.realized1031.com/blog/capital-gains-tax-on-primary-residence-how-much-is-it-and-can-it-be-avoided",
  "name" : "Capital Gains Tax On Primary Residence: How Much Is It And Can It Be Avoided?",
  "publisher" : {
    "@type" : "Organization",
    "address" : {
      "@type" : "PostalAddress",
      "addressCountry" : "USA",
      "addressLocality" : "Austin",
      "addressRegion" : "TX",
      "postalCode" : "78701",
      "streetAddress" : "500 W 13th Street "
    },
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "http://www.realized1031.com/hubfs/Images/Brand/Logo/Realized/Realized-Logo-Black-No-Margin-296x60-AMP.png",
      "width" : 296
    },
    "name" : "Realized"
  },
  "thumbnailUrl" : "https://f.hubspotusercontent10.net/hubfs/733513/Images/photo/abstract/couple-white-house-IS-1204610560.jpg"
}
```