Using the Home Sale Gain Exclusion for More than Just Your Home

Article Summary:

  • Home Sale Exclusion

  • Primary Residence

  • Second Home

  • Fixer-upper

  • Rental

With careful planning, and provided you follow the rules, the tax code allows you to use the home sale gain exclusion every two years.

Let’s assume you own a home, perhaps a second (vacation) home, or maybe are even thinking about buying a fixer-upper and flipping it. With careful planning, it is possible to apply the full home sale exclusion to all three of the properties.

Here is how it works. The tax code allows you to exclude up to $250,000 ($500,000 for married couples) of gain from the sale of your primary residence if you have lived in it and owned it for two of the five years counting back from the sale date, and you have not previously taken a home sale exclusion within the two years immediately preceding the sale. In addition, there is no limit on the number of times you can use the exclusion, as long as the requirements are met.

It makes sense to start off by selling the home you currently live in because you probably already meet the two-out-of-five-years ownership and use tests. The next step, if you have a second home, would be to move into it and make it your primary residence. After you have lived there for two full years and it has been more than two years since the previous home was sold, you can sell the property and take the home sale exclusion again. If you are handy, and find the right property, the next possible step would be to purchase and occupy a fixer-upper while you make repairs and improvements in preparation for its eventual sale after the two-year ownership and occupancy rules have been met. When that time is up, you can sell the fixer-upper and take the third exclusion. This makes it possible for a married couple to exclude as much as $1,500,000 of home sale profit in just over four years if they follow the rules carefully and time the sales correctly.

If you own a rental property, and you occupy the rental for two years prior to its sale, you will be able to exclude a portion of the gain for that property as well. Because so many rental owners were occupying their rentals before selling them and taking a home sale exclusion, Congress enacted a law barring the exclusion of gain attributable to rental periods after 2008. Thus, the home sale exclusion can only be used to exclude gain attributable to periods before 2009 and periods after 2008 in which the home was used as a primary residence.

Example: You purchased and began renting a residence on July 1, 2005. On July 1, 2014, you occupied the property as your primary residence; and on August 1, 2023, you sell the property for a gain of $230,000. You had owned the property for a total of 217 months, of which 151 were before 2009 or during the time after 2008 that you occupied the property as your primary residence. Thus 69.59% (151/217) of the gain is subject to the exclusion. As a result, $160,057 (.6959 x $230,000) of the gain qualifies for the exclusion.

In the preceding example, had the gain exceeded the exclusion limits of $250,000 for single taxpayers and $500,000 for married taxpayers, the exclusion would have been capped at the exclusion limits.

There is one final issue to consider. If any of the residences were acquired through a tax-deferred (Sec 1031) exchange from another property, then the residence must be owned for a period of five years prior to its sale to qualify for the exclusion.

Since situations may differ, we highly recommend that you consult with this office prior to initiating such a plan.

Share this article...

Sign up for our newsletter.

Each month, we will send you a roundup of our latest blog content covering the tax and bookkeeping tips & insights you need to know.

I confirm this is a service inquiry and not an advertising message or solicitation. By clicking “Submit”, I acknowledge and agree to the creation of an account and to the and .

We care about the protection of your data.

Junglebooks Affiliate Program

Why Partner with Us?

With years of experience and a team of certified professionals, we deliver exceptional results to our clients.

Industry-Leading Expertise

Our firm is a leader in the accounting industry, providing comprehensive services that include tax preparation, bookkeeping, financial planning, and business consulting. With years of experience and a team of certified professionals, we deliver exceptional results to our clients.

Attractive Commissions

We value our affiliates and offer competitive commission rates for every client you refer who signs up for our services. The more clients you refer, the more you earn.

Comprehensive Support

We provide our affiliates with all the resources needed to succeed, including marketing materials, dedicated support, and regular updates on our services. You’ll have everything you need to effectively promote our firm and earn commissions.

Trusted Reputation

Our firm has built a solid reputation for excellence and trustworthiness. When you refer clients to us, you can be confident that they will receive the highest level of service and satisfaction.

Frequently Asked Questions

This firm prepares tax returns for individuals, partnerships, corporations, estates, trusts, and any entities with tax-reporting requirements. Our firm’s seasoned professionals are experts in all areas of taxation including:


  • Individual Returns
  • Payroll Tax Issues
  • Business Returns
  • Sales Tax Returns
  • Rental Income Returns
  • Business Consultation
  • Expatriate Returns
  • Fiduciary & Estate Returns
  • Corporation Returns
  • Bookkeeping
  • Partnership Returns
  • LLC Returns

Our firm offers a full range of planning services including, but not limited to:


  • Individual Tax Planning
  • Business Tax Planning
  • Business Organization
  • Rental Properties
  • Foreclosures and Repossessions
  • Retirement
  • Investments
  • Sales and Exchanges
  • Pension Plans
  • Education Planning
  • Finance & Refinance Planning
  • Home Purchase and Sale Planning
We are here for you twelve months a year, not just during tax season. Whether you have a simple tax question, need advice on the tax implications of a business decision, or want clarification on a government notice, feel free to give us a call.
We maintain a policy of the strictest confidence concerning our clients’ affairs. You can rest assured that no one will learn about your business or tax status – even relatives, associates or friends who might have referred you to us.