Legal Guide

Taxes on Selling a House in California: 2026 Seller's Guide

Taxes on a California house sale: the $250k/$500k exclusion, selling before 2 years, FTB 593 withholding, depreciation and below-market family sales.

By Selvin H.

Selvin H., local cash home buyer in Upland, CaliforniaSelvin, local buyer in Upland. Free and no obligation, or call (626) 414-4859

Short answer: in California you pay tax only on your gain, not the sale price. If the home was your main residence for 2 of the last 5 years, you can exclude up to $250,000 of gain, or $500,000 for most married couples filing jointly (IRS Publication 523). Gain above that is taxed federally as a capital gain. California taxes it as ordinary income, because the state has no lower capital gains rate (FTB).

Most homeowners who’ve lived in their house a few years owe nothing. The cases that cost money are big gains, selling within 2 years, rentals and second homes, and family sales. This guide covers each. If you inherited the house, the rules are different; see taxes on selling inherited property in California.


How the Gain Is Figured

Tax is based on gain, so start there:

  1. Amount realized = sale price minus selling costs (commissions, escrow and title fees, transfer tax and similar costs).
  2. Adjusted basis = what you paid, plus certain purchase costs, plus capital improvements (a new roof, an addition, a remodel), minus any depreciation you claimed.
  3. Gain = amount realized minus adjusted basis.

Example: you bought for $400,000, spent $60,000 on a kitchen and roof, and sell for $850,000 with $45,000 in selling costs. Amount realized is $805,000. Basis is $460,000. Gain is $345,000. A single owner who qualifies excludes $250,000 and reports $95,000. A qualifying married couple excludes all of it.

Keep receipts for improvements. They’re the easiest way to lower your gain, and they matter more the longer you’ve owned the house.


Capital Gains on a Primary Home Sale: The Section 121 Exclusion

Under IRC § 121, as explained in Pub. 523, you get the full exclusion if you pass three tests:

Test Requirement
Ownership You owned the home at least 24 months in the 5 years before the sale. For a joint return, only one spouse needs to meet this.
Residence You lived in it as your main home at least 24 months (730 days) in those 5 years. The months don’t have to be in a row. Each spouse must meet this for the $500,000 amount.
Look-back You didn’t exclude gain on another home sale in the 2 years before this one.

Exclusion amount: up to $250,000 single, $500,000 married filing jointly.

Some special rules from Pub. 523 that come up often:

  • Surviving spouse. An unmarried surviving spouse can count the late spouse’s ownership and residence time, and can still use the $500,000 amount if the home sells within 2 years of the death and the other tests are met.
  • Divorce. A transfer to a spouse or ex-spouse as part of a divorce is generally not a taxable sale. See selling a house during a divorce in California.
  • Care facility. If you become unable to care for yourself, time in a licensed care facility can count as residence, as long as you lived in the home at least 12 months of the 5 years.
  • Like-kind exchange. If you got the home in a 1031 exchange within the past 5 years, no exclusion.

California generally follows § 121. The FTB’s own withholding rules for home sales point to the same IRC § 121 tests, so gain you exclude federally is also excluded on your California return.


Selling a House Before 2 Years

If you don’t meet the 2-year tests, you may still get a partial exclusion when the main reason for the sale is one of these (Pub. 523):

  • Work: a new job location at least 50 miles farther from the home than your old one.
  • Health: moving for treatment, to care for a sick family member, or on a doctor’s recommendation.
  • Unforeseeable events: the home was destroyed or condemned, or you, your spouse, a co-owner or a household member died, divorced or legally separated, lost a job and became eligible for unemployment, became unable to pay basic living expenses after an employment change, or had twins or more from one pregnancy.
  • Other facts and circumstances that show the main reason was work, health or unforeseeable.

How much: the partial exclusion is a share of the full amount, based on how much of the 24 months you met (Pub. 523, Worksheet 1). Lived there 12 months as a single filer and moved for a qualifying job? You can exclude up to about half, or $125,000.

If you owned it one year or less, any taxable gain is short-term and taxed federally at ordinary income rates. Held longer than a year, it’s long-term and gets the federal 0%, 15% or 20% rates (IRS Topic 409). California makes no distinction either way.

A loss on the sale of your personal home isn’t deductible.


How California Taxes Your Gain

Federal California
Home-sale exclusion (§ 121) $250,000 / $500,000 Generally follows federal
Long-term gain rate 0%, 15% or 20% No special rate. Taxed as ordinary income
Short-term gain (held 1 year or less) Ordinary rates Ordinary rates
Depreciation on a rental Up to 25% on unrecaptured § 1250 gain Ordinary income
Withholding at closing Generally none for U.S. sellers 3⅓% of price unless exempt (FTB 593)

California’s income tax rates go up to 12.3%, plus a 1% Mental Health Services Tax on taxable income over $1 million. A large taxable gain can push you into a higher bracket in the year of sale.


FTB Form 593: California’s Withholding at Closing

California collects some tax up front on many real estate sales. On Form 593, escrow withholds either:

  • 3⅓% of the sales price (the default), or
  • the alternative withholding calculation, a percentage of your estimated gain (12.3% for individuals), if you elect it.

The money goes to the FTB and is credited against your California tax when you file. It isn’t an extra tax, but it can tie up cash until you file.

Common exemptions (FTB real estate withholding; 2026 Form 593):

  • The sales price is $100,000 or less.
  • The property qualifies as your principal residence under IRC § 121.
  • The property was last used as your principal residence under § 121, even if you don’t meet the 2-year period.
  • You have a loss or zero gain for California purposes.
  • The sale is part of a 1031 like-kind exchange, or the property is in foreclosure.
  • Certain sellers are exempt, such as qualifying California corporations and partnerships, and tax-exempt entities.

You claim an exemption by completing Form 593 and giving it to escrow before closing. A rental or second home generally doesn’t qualify for the residence exemptions, so expect withholding unless you’re at a loss or elect the gain-based method.


Selling a Rental: Depreciation Recapture

If the property was a rental, or you used part of your home for business and claimed depreciation:

  • Depreciation reduces your basis, so your gain is larger.
  • Depreciation after May 6, 1997 can’t be excluded under § 121, even if the home later became your main residence (Pub. 523).
  • Federally, that part of the gain (unrecaptured § 1250 gain) is taxed at a maximum of 25% (IRS Topic 409).
  • Time after 2008 when the home wasn’t your main residence can be nonqualified use, and the gain allocated to it can’t be excluded. Rental time after you move out generally doesn’t count against you.
  • California taxes all of it as ordinary income.

Selling a rental with tenants in place has its own rules. See selling rental property with tenants in California.


Tax Implications of Selling a House Below Market Value

Selling to a stranger for less than you hoped is simply a lower price. Selling to a family member below fair market value on purpose is different: the IRS generally treats the discount as a gift.

  • Annual exclusion: in 2026 you can give up to $19,000 per person without filing a gift tax return (IRS).
  • Above that, you file Form 709. Tax is owed only after you use up the lifetime basic exclusion of $15,000,000 for 2026, so most families file the form and pay nothing.
  • Your gain is still figured on the price you actually received, and the § 121 exclusion can still apply if you qualify.
  • Your relative’s basis may be lower than market value, which can mean a bigger gain when they sell.

Get an appraisal so the gift amount is documented, and talk to a CPA before you sign.


A Quick Checklist Before You Sell

  1. Pull your closing statement from the purchase and receipts for improvements.
  2. Count your months of ownership and residence in the last 5 years.
  3. Note any rental or business use and depreciation claimed.
  4. Ask escrow about Form 593 early and claim your exemption before closing.
  5. Expect a Form 1099-S from escrow. If you get one, Pub. 523 says to report the sale even if the gain is fully excluded.
  6. For a large gain, a sale within 2 years, or a family sale, see a CPA before you accept an offer.

Our guide to how a California home closing works covers what escrow does with the paperwork.


Selling for Cash Doesn’t Change the Tax Rules

The tax rules are the same whether you list with an agent or sell to a cash buyer. What changes is the number. With no commissions, your selling costs are lower, so your amount realized and your gain can be a little higher.

SHH Buys Homes is a direct cash home buyer based in Upland, serving Los Angeles, San Bernardino, Riverside and Orange counties. We buy as-is: no commissions, no repairs, no showings. Cash offer within 24 hours. Close in as little as 7 days. If timing matters for the 2-year test, ask us about a closing date that works for you. See how selling for cash works.


Frequently Asked Questions

Do you pay taxes when you sell your house in California? Only on the gain, and often not at all. If you owned and lived in the home as your main home for at least 2 of the 5 years before the sale, IRC § 121 lets you exclude up to $250,000 of gain ($500,000 for most married couples filing jointly). Any gain above that is taxed federally as a capital gain and by California as ordinary income.

What happens if I sell my house before 2 years? You don’t get the full exclusion, but you may get a partial one if the main reason for selling was a job move of at least 50 miles, a health reason, or an unforeseeable event such as a death, divorce or job loss (IRS Publication 523). The partial exclusion is a share of the $250,000 or $500,000 based on how much of the 2-year period you met. If you owned the home one year or less, any taxable gain is short-term and taxed federally at ordinary rates.

Does California have a capital gains tax? Not a separate one. The Franchise Tax Board says California has no lower rate for capital gains and taxes all capital gains as ordinary income, at the same rates as wages. California generally follows the federal home-sale exclusion, so excluded gain isn’t taxed by the state either.

What is the 3 1/3% withholding on a California home sale? It’s California’s real estate withholding, reported on FTB Form 593. Escrow withholds 3 1/3% of the sales price (or, if you elect, a percentage of the gain) and sends it to the FTB as a credit toward your state tax. Many sellers are exempt, including when the home qualifies as a principal residence under IRC § 121, the price is $100,000 or less, or the sale is at a loss or zero gain.

Is there a tax on selling a house to a family member below market value? The difference between fair market value and the price is generally a gift. In 2026 you can give up to $19,000 per person per year without filing a gift tax return; above that you file Form 709, but gift tax is owed only after you use up the $15,000,000 lifetime basic exclusion. Talk to a CPA, because the sale also affects your gain and your relative’s tax basis.


Want to see what you’d net before you talk to your CPA? Call (626) 414-4859 or request a cash offer. This article is general information, not legal or tax advice.

Related Services

Sources & Further Reading

This article cites primary sources from California Code, state and federal agencies, and county offices. All links open official sites.

Tags:taxes on house sale in Californiacapital gains on primary home saleselling a house before 2 yearsFTB 593section 121 exclusiondepreciation recapture

Related Articles