The $250,000 and $500,000 figures attached to selling a primary home come from Section 121 of the tax code, and in a market like Santa Barbara, where long-held homes have often appreciated well past those numbers, understanding exactly how the exclusion works matters more than it does in a slower-moving market.
The Basic Rule
A single filer can exclude up to $250,000 of gain from the sale of a primary residence, and a married couple filing a joint return can exclude up to $500,000, provided the ownership and use tests are met. This is a true exclusion, meaning the gain within those limits is not taxed at all, not deferred to a later date. It can also be used repeatedly over a lifetime, as long as the ownership and use requirements are satisfied again for each sale.
Meeting the Ownership and Use Test
The home needs to have been owned and used as the seller's main residence for at least 24 months out of the 60 months before the sale. Those 24 months don't have to run consecutively. For a married couple to claim the full $500,000, generally both spouses need to meet the use test, though only one spouse needs to meet the ownership test, and neither spouse can have used the exclusion on another home sale within the past two years.
Partial Exclusions for an Early Sale
A seller who doesn't fully meet the two-year requirement, because of a job change, health issue, or another qualifying unforeseen circumstance, may still claim a reduced exclusion proportional to the time actually met. This partial exclusion isn't automatic; it applies only under specific IRS-recognized circumstances, and a seller relying on it should document the reason for the early sale rather than assume the reduced exclusion applies by default.
What Happens to Gain Above the Limit
Gain above $250,000 or $500,000 is taxed the normal way, at long-term capital gains rates federally plus California income tax on top. For a Santa Barbara or Montecito homeowner who bought decades ago, the excess above the exclusion can be substantial, and there's no equivalent mechanism to defer that portion the way a 1031 exchange defers gain on investment property, since Section 121 and Section 1031 apply to different categories of property and don't combine on a straight owner-occupied home.
Homes That Were Also Used as Rentals
A property converted from rental to primary residence, or the other direction, requires allocating the gain between qualified use, which can be excluded, and nonqualified use as a rental, which generally cannot. Depreciation claimed during any rental period is recaptured separately and isn't eligible for the exclusion regardless of how the rest of the gain is treated. This calculation is detailed enough that a converted property benefits from a CPA's review well before listing.
Records Worth Keeping Before a Sale
A Santa Barbara homeowner planning to rely on the exclusion should be able to document the ownership period, the dates the home served as a primary residence, and the cost of any capital improvements that raised the basis over the years. Utility bills, voter registration, and driver's license address history are the kinds of records the IRS looks to if residency during the required period is ever questioned, and pulling those together well before a listing goes live is far easier than reconstructing them after the fact.
Capital Gains Tax Questions
Can I use the Section 121 exclusion more than once?
Yes, the exclusion can be used again on a future home sale as long as you meet the ownership and use test for that home and haven't already used the exclusion within the two years before the new sale.
Do both spouses need to meet the requirements to claim $500,000 as a married couple?
Both spouses generally need to meet the use test, meaning both lived in the home as their main residence for the required period, though only one spouse needs to meet the ownership test, and neither can have claimed the exclusion on another sale in the prior two years.
What counts as a qualifying reason for a partial exclusion?
The IRS recognizes specific unforeseen circumstances, such as a job change, health issue, or certain other hardships, that allow a reduced exclusion proportional to the time the ownership and use test was actually met. It isn't available simply because a seller changed their mind about staying.
Is gain above $500,000 taxed at a higher rate?
No, it's taxed at the normal long-term capital gains rate that would apply to any other asset, based on the seller's income, plus California income tax. The exclusion just removes the first $250,000 or $500,000 from the calculation entirely.
Can the Section 121 exclusion be combined with a 1031 exchange on the same property?
Generally no, since they apply to different property types. A primary residence uses Section 121, while investment property uses Section 1031. A property with mixed rental and personal use over its ownership period requires allocating the gain between the two rules rather than applying both to the full amount.


