Do I Pay Taxes When I Sell My House in California? San Diego Guide

Selling a home in San Diego or Riverside County? Here's when you owe capital gains tax in California, how the $250K/$500K exclusion works, and the tax items you'll see at closing.

Do I pay taxes when I sell my house in California? Usually not on the profit, if it was your primary home for at least two of the last five years and your gain is under $250,000 ($500,000 for most married couples filing jointly). Gain above that limit, and most gain on rentals, second homes and quick resales, is taxed by both the IRS and California, which taxes capital gains as ordinary income. You'll also see a few tax items at closing in San Diego and Riverside County, like the documentary transfer tax and a possible 3 1/3% state withholding. Here's how each piece works.

Do I Pay Taxes When I Sell My House in California? Start With Your Gain

Taxes are based on your gain, not your sale price. A rough version of the math:

Sale price − selling costs − adjusted basis = gain

  • Selling costs include commissions, escrow and title fees, the transfer tax and other costs of the sale. Our guide on the cost to sell a house in California lists them.
  • Adjusted basis is generally what you paid for the home, plus certain purchase closing costs, plus capital improvements like a new roof, an addition, solar you own or a kitchen remodel. Routine repairs and maintenance usually don't count.

Basis is where long-time owners leave money on the table. A Clairemont or Chula Vista home bought decades ago may have had a room addition, new windows and a remodeled bathroom since then. Dig up receipts and permits before you sell, because every documented improvement shrinks your taxable gain.

A quick example (hypothetical numbers)

A married couple bought their San Diego home for $400,000, spent $80,000 on improvements, and sells for $1,100,000 with $70,000 in selling costs. Their gain is about $550,000. If they qualify for the full $500,000 exclusion, roughly $50,000 is taxable.

The $250,000 / $500,000 Home Sale Exclusion

Under Section 121 of the tax code, you can generally exclude up to $250,000 of gain, or up to $500,000 on a joint return, if you meet these tests:

  • Ownership: you owned the home for at least two years during the five years before the sale.
  • Use: you lived in it as your main home for at least two of those five years. The two years don't have to be in a row.
  • Frequency: you haven't used the exclusion on another home in the past two years.

For the $500,000 joint exclusion, at least one spouse must meet the ownership test and both spouses must meet the use test. California generally follows the federal exclusion, so gain that's excluded federally is typically excluded on your state return too.

Selling before two years? You may get a partial exclusion

If you sell early because of a job change, a health issue or certain unforeseen events, you may qualify for a prorated exclusion. Service members on qualified extended duty, including many San Diego military families with PCS orders, can generally choose to suspend the five-year window for up to 10 years.

Will the limits go up?

The $250,000 and $500,000 limits haven't changed since 1997 and aren't indexed to inflation. Several bills in Congress would raise or remove them, including one introduced in November 2026, but as of this writing none has become law. Plan your sale around today's limits.

How Much Tax Is Owed on the Taxable Part?

Federal

If you owned the home for more than a year, the taxable gain is a long-term capital gain, taxed at 0%, 15% or 20% depending on your total taxable income. For 2026, the 20% rate generally starts above $545,500 of taxable income for single filers and $613,700 for joint filers. Higher earners may also owe the 3.8% net investment income tax on taxable gain. Owned a year or less? The gain is short-term and taxed at ordinary income rates.

California

California has no lower rate for capital gains. Your taxable gain is added to your other income and taxed at regular state rates, which top out at 13.3% for the highest earners. A big gain in one year can push you into a higher bracket, so timing matters.

Taxes and Tax Items You'll See at Closing

  • Documentary transfer tax: San Diego County and Riverside County each charge $1.10 per $1,000 of the sale price. Some cities, such as Riverside, add their own. Sellers customarily pay it in Southern California.
  • Property tax proration: you pay your share of property taxes through the closing date, or get a credit if you've prepaid. Selling doesn't trigger any extra property tax for you; the buyer's taxes are reassessed under Prop 13.
  • California 3 1/3% withholding: escrow generally must withhold 3 1/3% of the sale price for the Franchise Tax Board unless you qualify for an exemption, such as selling your principal residence. You certify exemptions on Form 593. It's a prepayment that's credited on your state return, not an extra tax.
  • Form 1099-S: escrow may report the sale to the IRS. Even if your gain is fully excluded, keep your records in case you need to show it.

Buying again in California and 55 or older? Prop 19 may let you carry your current property tax base to a replacement home anywhere in the state if you buy within two years. Check with the county assessor before you sell.

When Home Sellers Usually Owe More

  • Rental properties: the exclusion usually doesn't apply, and depreciation you took may be taxed at up to 25% when you sell. A 1031 exchange may let you defer the gain if you buy another investment property.
  • Second homes and vacation homes: no exclusion unless you meet the main-home tests.
  • A home you moved out of years ago: once you've been gone more than three years, you no longer meet the two-of-five-year test.
  • Quick resales: owned a year or less means short-term rates.
  • Inherited homes: heirs generally get a stepped-up basis, so gain is often small if you sell soon. Our guide on how to sell an inherited house in California covers the details.

Legal Ways to Reduce Taxes When You Sell

  1. Document every capital improvement to raise your basis.
  2. If you're close to the two-year mark, consider waiting to sell.
  3. Deduct every eligible selling cost from your gain.
  4. For investment property, ask about a 1031 exchange or an installment sale.
  5. Get advice before you list. A tax professional can run your numbers for both federal and California returns.

Selling to cash home buyers doesn't change the tax rules. Your gain is calculated the same way whether you list or sell as-is, so compare your after-tax net from each option. We tell sellers upfront whether we're buying the house ourselves or bringing in a partner buyer, and you can see every step on our How It Works page.

FAQ

How do I avoid capital gains tax on a home sale in California?

Most homeowners avoid it with the primary residence exclusion: own and live in the home for two of the five years before selling, and keep your gain under $250,000 single or $500,000 joint.

Does California tax capital gains on a primary residence?

California generally follows the federal exclusion. Gain above the limit is taxed as ordinary income at state rates.

Do I have to pay the 3 1/3% California withholding?

Not if you qualify for an exemption, such as selling your principal residence. You claim it on Form 593 through escrow.

Do I pay taxes if I sell my house at a loss?

No tax is due on a loss. A loss on a personal residence generally isn't deductible, though a loss on a rental may be.

Do I pay taxes if I sell my house and buy another one?

Buying another home doesn't defer tax on a primary residence anymore. The exclusion is what protects most sellers. A 1031 exchange applies only to investment property.

Need to Sell Your House Fast in San Diego or Riverside County?

Call or text us 24/7 at (858) 630-3410 or get your free cash offer. No obligation, no pressure.

Couple Thumbs up
Get Your Free Cash Offer. Step 1: Enter Your Street Address
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.