Section 121 of the tax code is the rule that lets most homeowners sell a primary residence without owing federal capital gains tax on a large share of the profit. It is not automatic for every property an owner has lived in at some point, and it does not apply to a second home or a straight rental, which makes the ownership and use tests worth understanding precisely rather than assuming any home sale qualifies.
The Ownership and Use Tests
To claim the exclusion, the taxpayer must have owned the home and used it as their primary residence for at least two of the five years immediately before the sale. The two years do not need to be consecutive, and short absences, such as a vacation or a temporary work assignment, generally do not break the use test as long as the home remained the taxpayer's main residence overall. A single filer can exclude up to $250,000 of gain; a married couple filing jointly can exclude up to $500,000, provided both spouses meet the use test even if only one is on title in certain filing scenarios.
The Once-Every-Two-Years Limit
The exclusion generally cannot be claimed more than once in a two-year period, which matters for an owner who has sold one primary residence recently and is now considering selling a Park City home purchased or converted into a primary residence more recently. Partial exclusions are available in specific hardship circumstances, such as a job change, health issue, or unforeseen event, but those carve-outs have their own documentation requirements and are not automatic.
Where Park City's Ownership Patterns Complicate the Test
A meaningful share of Park City property has been used as a second home, a short-term rental, or a mix of both before ever becoming a primary residence, and mixed-use history changes the exclusion math. Time the property was rented out and not used as the owner's main residence generally counts as non-qualified use, which reduces the excludable portion of gain proportionally, even if the owner later moved in and satisfied the two-year requirement before selling.
When the Exclusion Stops Being the Right Framework
Once a property shifts from primary residence to investment or rental use, and stays that way, the Section 121 exclusion no longer applies to future gain on that use, and a 1031 exchange becomes the relevant deferral tool instead if the owner sells while it is held for investment. Some owners deliberately structure a transition: converting a former primary residence to a rental for a period, then exchanging it later, though the interaction between the two rules is fact-specific and depends on documented use history rather than intent alone.
Documentation That Supports an Exclusion Claim
Because the exclusion depends on actual use rather than intent, the records that support a claim matter more than a homeowner might expect. Utility bills, voter registration, a driver's license address, and where tax returns were filed during the ownership window all help establish that a Park City property genuinely served as the taxpayer's main residence rather than a second home used occasionally. An owner who splits time between a Park City property and a home elsewhere should be able to show which one functioned as the primary residence during the relevant two-year window, since the IRS looks at the whole pattern of facts rather than a single document.
Keeping this kind of record on hand before a sale, rather than reconstructing it afterward, makes the exclusion claim considerably easier to support if it is ever questioned.
Common 1031 Exchange Questions
Do the two years of primary-residence use need to be consecutive to qualify for Section 121
No, the two years out of the five before the sale do not need to be consecutive, though the home must have genuinely served as the taxpayer's main residence during that combined period.
How often can the Section 121 exclusion be used
Generally no more than once every two years; an owner who recently excluded gain on a prior home sale should confirm timing before assuming a subsequent sale also qualifies.
Does renting out a Park City home before moving in reduce the exclusion amount
It can; periods of non-qualified use, such as renting the property out before it became the taxpayer's primary residence, generally reduce the excludable portion of gain on a proportional basis.
What happens if a former primary residence is converted to a rental and then sold
The exclusion may still apply to gain accrued during the period it served as a primary residence within the required window, but gain attributable to the rental period is generally not eligible for the exclusion and may instead be a candidate for 1031 exchange deferral if the property is held for investment at the time of sale.
Is a partial exclusion available if a Park City owner has to sell before meeting the two-year test
A reduced exclusion may be available for specific circumstances such as a job change, health issue, or other qualifying unforeseen event, with documentation required; this should be reviewed directly with a tax advisor rather than assumed.

