Seller Guides July 17, 2026

Capital Gains Tax When Selling Your California Home: The $250K/$500K Exclusion Explained

Quick Answer

Capital gains tax when selling your California home applies only to the gain above the exclusion. A single filer excludes $250,000. A married couple filing jointly excludes $500,000. To qualify, you must have owned the home and lived in it as your main home for two of the last five years.

Tax rules verified as of July 17, 2026. Analysis by Michael Mellgren, REALTOR® (DRE #02321556). General information only, not tax advice.

How much is capital gains tax when selling your California home?

Most sellers owe nothing at all. The exclusion usually erases the whole gain. Section 121 of the Internal Revenue Code sets the limits. They run $250,000 for a single filer and $500,000 for a married couple filing jointly.

The exclusion covers gain, never the sale price. That single distinction trips up more sellers than anything else. Gain is what you cleared over your basis, not what the buyer paid.

Above the exclusion, the gain turns taxable. At North Orange County prices, that happens more often than sellers expect. Federal long-term rates run 0%, 15%, or 20%, depending on taxable income.

California then taxes the same excess on its own terms. The 3.8% net investment income tax can reach part of it as well.

Can you avoid capital gains by buying another house?

No, and this is the most common misconception about selling a home. The rule people remember was real, but Congress repealed it in 1997. Buying a more expensive home does nothing for your tax bill today.

The old rule was Section 1034 of the Internal Revenue Code. It let you defer gain by buying a replacement home, generally within two years either side of the sale. The Taxpayer Relief Act of 1997 repealed it for sales after May 6, 1997.

Section 121 is what replaced it. The same act scrapped a separate one-time $125,000 exclusion for sellers aged 55 and over. Congress traded both away for the exclusion this post describes.

Most sellers came out ahead on that trade. The old rollover only postponed the tax, pushing the gain into the basis of the next home. The exclusion erases the gain outright, it comes back every two years, and buying a replacement home is not required at all.

So the proceeds are now yours to do anything with. Spend them, invest them, buy a smaller home, or buy nothing. The tax outcome does not move either way.

Isn’t that what a 1031 exchange is for?

Not for your own home. A 1031 exchange defers gain only on property held for investment or business use. Publication 523 is blunt about it: a main home is not available for an exchange.

The two rules can also collide. Acquire a property through a 1031 exchange, convert it to your main home, then sell within five years of that exchange, and Section 121 drops away entirely. Anyone weighing that conversion should map the timing with a qualified tax professional first.

Does an old rollover from before 1997 still matter?

Yes, and long-time owners should check. Gain deferred under the old Section 1034 rules reduced the basis of whatever home came next. That lower basis carries forward to this day.

The effect compounds quietly. A seller who rolled gain through three or four homes before 1997 can be sitting on a far larger gain today than the purchase price suggests. Old settlement statements are worth digging out before assuming the exclusion covers everything.

Who qualifies for the $250,000/$500,000 home sale exclusion?

Three requirements control eligibility. The IRS calls them the ownership, residence, and look-back requirements. All three sit inside the five-year period ending on the date of sale.

Married couples face a split test. Both spouses must meet the residence requirement individually to reach $500,000. Only one spouse needs to meet the ownership requirement.

Filing status Maximum exclusion Ownership requirement Residence requirement Look-back requirement
Single, or married filing separately $250,000 Owned the home at least 24 of the last 60 months Lived in it at least 24 of the last 60 months No exclusion taken on another home in the prior 2 years
Married filing jointly $500,000 One spouse meets it Both spouses meet it individually Neither spouse took one in the prior 2 years
Surviving spouse, selling within 2 years of the death and not remarried $500,000 The late spouse’s ownership time counts The late spouse’s residence time counts Neither took one in the prior 2 years

Section 121 home sale exclusion limits and requirements, verified July 2026. Source: IRS Publication 523 (2025), Selling Your Home; analysis by Michael Mellgren, REALTOR®.

The 24 months need not run consecutively. Publication 523 asks only for 730 days of residence somewhere inside the five-year window. Vacations and other short absences still count as time at home.

Two automatic disqualifications override all of it, though. The first catches anyone who acquired the property through a 1031 like-kind exchange in the past five years. The second catches anyone subject to expatriate tax.

How do you calculate the gain on your home sale?

Capital gains tax when selling your California home rests on gain, and gain has two moving parts. Amount realized is your selling price minus selling expenses, such as the commission. Adjusted basis is what you paid, plus improvements, plus certain costs from the original purchase.

Improvements are the lever most sellers underuse. Every documented dollar of basis is a dollar of gain that never exists. The IRS counts work that adds value, extends the home’s life, or adapts it to new uses:

  • Additions such as a bedroom, bathroom, deck, patio, porch, or garage
  • A new roof, new siding, storm windows and doors, and insulation
  • Kitchen modernization, flooring, built-in appliances, and a fireplace
  • Heating systems, central air conditioning, ductwork, wiring, and security systems
  • Landscaping, driveways, walkways, fences, retaining walls, and swimming pools
  • Septic systems, water heaters, and water filtration systems

Routine upkeep earns nothing. Painting, fixing leaks, filling cracks, and swapping broken hardware simply hold a home steady. They add no value, so they stay out of basis. One exception matters, though: repair work folded into an extensive remodel counts as part of the improvement.

A worked example, on a $1,350,000 sale

Selling price: $1,350,000
Less selling expenses (commission, escrow, title): $81,000
Amount realized: $1,269,000

Original purchase price, 2012: $525,000
Plus documented improvements (kitchen remodel, roof): $75,000
Adjusted basis: $600,000

Gain: $669,000
Less exclusion, married filing jointly: $500,000
Taxable gain: $169,000

Only that $169,000 draws tax. The $1,269,000 on the closing statement does not. Sellers who kept receipts across a long ownership routinely shrink that number, while the rest end up proving basis from memory. For the full sequence around this step, see the step-by-step guide to selling your home in Orange County.

Does California tax capital gains on a home sale?

California conforms to the federal exclusion. Revenue and Taxation Code section 17152 adopts Section 121 directly. So the same limits govern the state return, on the same two-out-of-five-year terms. The Franchise Tax Board’s guidance on income from the sale of your home confirms it.

What California withholds is a break on rate. The FTB states plainly that no special rate exists for long-term capital gain. Anything above the exclusion therefore meets ordinary California income tax rates instead. That reverses the federal treatment, where those same dollars earn a preferential rate.

What is Form 593, and why would 3⅓% come out of your sale?

California takes 3⅓% of the gross sales price at closing. The only way out is an exemption certified on FTB Form 593. On a $1,350,000 sale, that runs $44,955 out of proceeds, and the actual gain makes no difference. Sales of $100,000 or less escape withholding entirely.

The principal residence exemption clears it. Owned the home and lived in it for two of the last five years? Certify on Part III, line 1, and no withholding follows.

Notably, the exemption turns on the property, not on the size of the gain. Certify the home under Section 121 and the withholding goes away. That holds even when part of the gain tops the exclusion and genuinely owes tax.

Yet the FTB is explicit on the flip side. An exemption never relieves a seller of the duty to file a California return and pay what is owed.

Timing is where sellers lose money. Form 593 must reach the escrow officer before the transaction closes. Afterward, only a credit on that year’s tax return recovers the cash. For how this fits the rest of the closing math, see escrow, title, and closing costs in Orange County.

Do you have to report the sale if the gain is fully excluded?

In Orange County, usually yes. National guides mislead local sellers on exactly this point. Form 1099-S, Proceeds From Real Estate Transactions, changes that. It means you must report the sale even when the exclusion covers every dollar.

Price decides whether that form ever appears. The instructions for Form 1099-S let a closing agent skip it only below $250,000. That rises to $500,000 where the seller certifies as married. The seller must also certify the home as a principal residence with the full gain excludable.

Orange County medians sit well above both thresholds. So most local sellers get one.

Sources genuinely conflict here, so it is worth naming rather than smoothing over. The FTB’s own page tells sellers they need not report a sale when the gain came in under the limit. The IRS instead ties the reporting duty to the 1099-S. Follow the federal rule on the federal return: if the form issued, report the sale on Form 8949 and Schedule D.

What if you don’t meet the two-year test?

A partial exclusion may still apply, at a reduced limit rather than none. Three categories qualify, so long as one of them drove the sale:

  • Work-related move: a new or transferred job at least 50 miles farther from the home than the old work location
  • Health-related move: a move to obtain or provide diagnosis, treatment, or care for yourself or a family member, or a move a doctor recommended
  • Unforeseeable events: a death, a divorce or legal separation, eligibility for unemployment compensation, two or more children from one pregnancy, a home destroyed or condemned, or an inability to pay basic living expenses after an employment change

The math is a simple proration. Take the shortest of three periods. Those are your months of residence, your months of ownership, and the months since your last excluded sale. Divide by 24, then multiply by $250,000.

An example makes it concrete. A single filer with 12 months in the home before a qualifying job transfer lands at a $125,000 limit.

Service members get a separate rule. It covers qualified official extended duty in the Uniformed Services, the Foreign Service, or the intelligence community. Those members may suspend the five-year test period for up to 10 years.

Frequently asked questions about capital gains on a California home sale

Does the 3.8% net investment income tax apply to a home sale?

Excluded gain never touches it. The IRS treats gain excluded under Section 121 as something other than net investment income. So it stays out of the math. Only gain above the exclusion can be caught, and only when modified adjusted gross income tops $200,000 single or $250,000 filing jointly.

Can you use the home sale exclusion more than once?

Yes, but only once in any two-year period. The look-back requirement blocks it if you already excluded gain from another home sale. The window runs two years back from the date of this sale.

What happens to the exclusion if the home was rented out?

Two separate rules bite. Depreciation you claimed, or simply could have claimed, after May 6, 1997 falls outside the exclusion. It returns as unrecaptured Section 1250 gain. Also, any stretch after 2008 when the home served some other use generally counts as nonqualified use, and gain from that stretch stays outside the exclusion too.

Do you pay capital gains tax on an inherited home?

Usually very little, because the basis resets. An heir’s basis is generally the fair market value on the date of death, so only later appreciation produces gain. The guide to selling an inherited home in California covers the mechanics.

Does a loss on a home sale help at tax time?

No. The IRS treats a loss on the sale of a main home as nondeductible, so it yields no write-off.

Getting the number right before the home hits the market

Whether capital gains tax when selling your California home costs anything comes down to three inputs. Those are documented basis, years of ownership and residence, and a Form 593 certification that lands before escrow closes. Michael Mellgren, REALTOR®, walks sellers through all three early rather than at the signing table. He can help assemble the ownership record, the improvement history, and a net-proceeds picture for any address under consideration.

Email Michael Mellgren about California home sale capital gains, or call or text (714) 420-6629. For your actual exclusion limit, your tax rate, and your Form 593 certification, consult a qualified tax professional or CPA.