REALATRENDS REAL ESTATE SERVICES, INC 949·494·8830
REALATRENDS
Realatrends Resources

Capital Gains

What Orange County sellers should know about capital gains before they list.

When you sell a home you have lived in, most sellers owe nothing on a large share of the profit. Federal law lets you exclude up to $250,000 of gain from your income, or up to $500,000 if you are married and file jointly, provided you meet an ownership test and a use test (IRS Topic 701). Gain above the exclusion is taxable, and at Orange County price levels that is a real possibility for anyone who has held a home for a long time.

This page covers how the exclusion works, what actually counts as your gain, and the situations that change the calculation. It is general information rather than tax advice, and the figures below are federal rules current as of 2026.

How the exclusion works

Two tests govern eligibility, and they are measured separately over the five years ending on the sale date. The ownership test asks whether you owned the home for at least 24 months of those five years. The use test asks whether you lived in it as your main home for at least 24 months of the same period (IRS Topic 701).

Those 24 months do not have to be continuous, and they do not have to be the same 24 months for both tests. You can move out, rent the home for a period, and still qualify, so long as the arithmetic over the five-year window works out.

Two further limits apply. You cannot use the exclusion if you already excluded gain from another home sale within the two years before this one, so it is not available on back-to-back sales. And for married couples claiming the full $500,000, both spouses must meet the use test, though only one needs to meet the ownership test.

Even when your entire gain is excluded, you may still have to report the sale. If you receive a Form 1099-S from the closing, the IRS instruction is to report the sale on your return whether or not the gain is excludable (IRS Topic 701). Tell your escrow officer and your tax preparer early rather than discovering the form in January.

Your gain is not your sale price

The most common misunderstanding on this topic is treating the sale price, or the equity check, as the taxable number. Your gain is the sale price less selling costs, less your adjusted basis.

Basis starts at what you paid and grows with capital improvements. The IRS distinguishes improvements, which “add to the value of your home, prolong its useful life, or adapt it to new uses,” from repairs and maintenance that keep the home in good condition without adding value or life (IRS Publication 523). A room addition, a new roof, a rebuilt deck, a kitchen renovation, replaced windows, a new HVAC system, and hardscape all typically add to basis. Repainting and fixing a leak typically do not.

This is where records matter more than anything else on the page. A homeowner who has held a Laguna Beach or Corona del Mar property for twenty five years may have spent several hundred thousand dollars on improvements over that time, and every documented dollar reduces the taxable gain. Receipts, contracts, and permits that feel like clutter are worth keeping for as long as you own the home, because the exclusion is fixed while your basis is something you can substantiate.

When Orange County prices push a sale past the exclusion

The exclusion amounts are set by statute and are not indexed to inflation. They have been $250,000 and $500,000 since 1997, while home values across the Orange County coast have moved a great deal over the same period. A married couple who bought decades ago and has a gain well above $500,000 is an ordinary situation here, not an unusual one.

What happens to the excess is worth understanding before you list. Federally, gain above the exclusion is taxed at long-term capital gains rates when you have owned the home more than a year, and higher-income sellers may also owe the 3.8 percent net investment income tax.

California adds a second layer that surprises people. The state conforms to the federal exclusion, so the same $250,000 or $500,000 comes off for state purposes. But California does not give capital gains a preferential rate the way federal law does. Gain above the exclusion is taxed as ordinary income, at rates currently reaching 13.3 percent at the top (California Franchise Tax Board). Between the federal rate, the net investment income tax, and the state, the combined burden on the excess is materially higher than the headline federal rate alone suggests.

None of that is a reason to delay a sale on its own. It is a reason to have the number modeled before you price the home, so the tax is a known quantity rather than a surprise in April. Our seller net proceeds guide covers the other side of the ledger, the costs that come out at closing, and the net proceeds calculator estimates them for a specific price.

Selling before two years

Sellers who do not meet the two-year tests are not automatically shut out. A partial exclusion is available when the primary reason for the sale is a change in workplace, a health reason, or a specified unforeseen circumstance (Treas. Reg. § 1.121-3).

The partial exclusion is prorated rather than all or nothing. A single filer who qualifies and sells after twelve months of ownership and use claims roughly half of the $250,000 maximum, which is $125,000 of excluded gain.

For a workplace change, the test is a distance one, and it mirrors the old moving expense rule: the new place of work must be at least 50 miles farther from the old home than the previous workplace was. The change must happen while you own and use the home as a residence.

For health, a partial exclusion is available where the primary reason for selling relates to a disease, illness, or injury affecting the seller or a member of the household. A physician’s recommendation to change residence for health reasons is sufficient.

For unforeseen circumstances, the regulations provide safe harbors that qualify automatically:

  • Death of the taxpayer, a spouse, a co-owner, or a member of the household
  • Divorce or legal separation
  • Becoming eligible for unemployment compensation
  • A change in employment that leaves the taxpayer unable to pay the mortgage or basic living expenses
  • Multiple births from the same pregnancy
  • Damage to the residence from a natural or man-made disaster, or an act of war or terrorism
  • Condemnation, seizure, or other involuntary conversion of the property

Circumstances outside those categories can still qualify based on the facts, but they are a judgment call rather than an automatic one, which makes them worth reviewing with a tax professional before you rely on the exclusion.

Situations that change the calculation

Several fact patterns common in Orange County alter the result, and each is worth flagging to your tax adviser early rather than at closing.

A home that was once a rental. Depreciation you claimed, or could have claimed, after May 6, 1997 cannot be excluded (IRS Publication 523). That portion of the gain is taxable even when the rest is fully covered. Periods after 2008 when the property was not your principal residence can also be treated as nonqualified use, which allocates part of the gain outside the exclusion. The rules here are detailed enough that the number should be modeled rather than estimated.

A home acquired through a 1031 exchange. Legislation effective October 22, 2004 imposes a five-year holding requirement. A taxpayer who exchanges into a rental property and later converts it to a primary residence cannot use the principal residence exclusion unless the sale occurs at least five years after the date of acquisition. The two-out-of-five-year occupancy test still has to be met on top of that. See our 1031 exchange overview for how the exchange itself works.

A sale after the death of a spouse. A surviving spouse may claim the full $500,000 exclusion if the home is sold within two years of the spouse’s death, the survivor has not remarried at the time of sale, neither spouse excluded gain on another home sold within the prior two years, and the ownership and use requirements are met (IRS Publication 523). The two-year window is easy to miss during a difficult period, and it is worth knowing about early.

A property tax basis you may be able to carry. Capital gains and property taxes are separate questions, but sellers over 55 planning a move often need both answered together. Our guide to Proposition 19 covers transferring a property tax base.

Before taking any steps toward a transaction involving possible capital gains tax exclusions, consult your CPA, attorney, or tax adviser. This page is general information, not legal or tax advice, and individual circumstances change the answer.

Frequently Asked Questions

How much of my home sale profit is tax free?

Up to $250,000 of gain if you file singly, or up to $500,000 if you are married filing jointly, provided you owned the home at least 24 months and lived in it as your main home at least 24 months during the five years ending on the sale date (IRS Topic 701). Gain above that is taxable. The amounts are set by statute and are not adjusted for inflation.

Do I have to live in the home for two consecutive years?

No. The requirement is 24 months of use within the five years ending on the sale date, and those months do not have to be continuous. The ownership and use tests are also measured separately, so they need not cover the same 24 months. That flexibility is why a homeowner who moved out and rented the property for a period can still qualify, depending on the dates.

What if I sell before two years because of a job change?

You may qualify for a partial exclusion, prorated by how long you owned and used the home. For a workplace change the test is distance based: the new place of work must be at least 50 miles farther from the old home than the previous workplace was, and the change must occur while you own and use the home as a residence (Treas. Reg. § 1.121-3). Health reasons and specified unforeseen circumstances qualify similarly.

Do home improvements reduce my capital gains?

Yes. Capital improvements increase your basis, which reduces taxable gain. The IRS treats work that adds value, prolongs the home’s useful life, or adapts it to new uses as an improvement, while repairs and maintenance that simply keep the home in good condition do not count (IRS Publication 523). Keep receipts, contracts, and permits for as long as you own the property, because substantiation is what makes the deduction usable.

Does California tax my home sale gain too?

California conforms to the federal exclusion, so the same $250,000 or $500,000 applies on your state return. Any gain above it is taxed as ordinary income rather than at a preferential capital gains rate, with rates currently reaching 13.3 percent at the top (California Franchise Tax Board). Combined with federal capital gains tax and, for higher earners, the 3.8 percent net investment income tax, the effective burden on the excess can be substantial.

Questions?

Let’s talk it through

Whether you’re buying or selling on the Orange County coast, we’d welcome the chance to help, no obligation.