Section 121 of the tax code is the reason most Missouri homeowners never think twice about capital gains tax when they sell a house. It allows an eligible seller to exclude a significant amount of gain on the sale of a primary residence, and for a large share of ordinary home sales, that exclusion covers the entire taxable gain. Understanding exactly what qualifies keeps it from becoming an unpleasant surprise in the less ordinary cases.
The Ownership and Use Test
To qualify, the seller generally must have owned and used the property as a primary residence for at least two of the five years immediately before the sale. Those two years do not need to be continuous, and short absences, such as vacations or temporary work assignments, typically still count toward the total. A homeowner who moved out and rented the property for an extended period before selling should check the actual math on this test rather than assume it is automatically met.
How Much Gain Is Actually Excluded
The exclusion amount differs for single filers and married couples filing jointly, with jointly filing couples generally eligible for a substantially larger exclusion than either spouse could claim alone, provided both meet the use test. Gain above the applicable exclusion amount is taxed at standard capital gains rates, and for many Missouri sellers in typical residential markets, the full gain falls comfortably under the exclusion.
Situations That Reduce or Eliminate the Exclusion
A home used partly as a rental or partly for business, such as a dedicated home office where depreciation was claimed, generally cannot exclude the portion of gain attributable to that non-residential use, and any depreciation taken is subject to separate recapture treatment. Selling again within two years of using the exclusion on a prior home can also disqualify or reduce it, subject to certain exceptions for job changes, health issues, or other unforeseen circumstances that the IRS recognizes.
What Happens to Gain the Exclusion Doesn't Cover
Any gain above the exclusion amount, or any gain from a property that does not meet the ownership and use test at all, gets added to the seller's income and taxed under Missouri's graduated state brackets in addition to federal capital gains tax. This comes up more often than people expect in appreciating pockets of the St. Louis and Kansas City metros, where long-held homes can exceed even the joint-filer exclusion amount. A property that no longer qualifies as a primary residence, because it was converted to a rental before the sale, may instead be eligible for 1031 deferral on its investment-use gain, which is a materially different path than the Section 121 exclusion but can serve a similar purpose for that portion of the property.
Documenting Ownership and Use
Because the exclusion turns entirely on ownership and use history, keeping records that support both matters more than most sellers expect. Utility bills, voter registration, driver's license address changes, and mortgage statements tied to the property can all help establish the residence timeline if a return is ever questioned. Missouri sellers who split time between a primary home and a second property, such as a lake house or a rental they occasionally stayed in, benefit from keeping this documentation current rather than reconstructing it years later at the point of sale.
Common 1031 Exchange Questions
Do you have to buy another home to use the Section 121 exclusion?
No. Unlike a 1031 exchange, the exclusion does not require reinvesting the proceeds into another property. It is based entirely on ownership and use of the home being sold.
Can you use the exclusion again if you already used it on a previous home?
Generally yes, as long as it has been more than two years since the exclusion was last used and the ownership and use test is met again for the current sale, with some exceptions for special circumstances.
What if you only lived in the home for one year before selling?
A partial exclusion may still be available in certain circumstances, such as a job change, health issue, or other qualifying unforeseen event, but it generally will not cover the full amount that a full two-year owner would receive.
Does renting out a room in your home affect the exclusion?
Renting a room while continuing to live in the home generally does not eliminate the exclusion for the home overall, though any portion depreciated for the rental use may be treated separately. The specifics depend on how the space was used and reported.
Is the Section 121 exclusion the same thing as a 1031 exchange?
No, they serve different purposes. Section 121 excludes gain on a primary residence without requiring reinvestment, while a 1031 exchange defers gain on investment or business property by rolling proceeds into replacement real estate.



