Guide

What Selling a Rental Costs in California

The taxes that apply when you sell a California rental: federal capital gains, the 25% depreciation rate, the 3.8% NIIT, California tax, and Form 593.

Selling a rental in Sacramento or the foothills can involve four separate tax pieces. Most owners only plan for one. Here is each piece in plain English, followed by an illustration with round numbers.

Piece 1: Federal Long-Term Capital Gains

If you held the property more than one year, your gain is long-term. Federal long-term capital gains are taxed at 0%, 15%, or 20%, depending on your taxable income. The income cutoffs for each rate change by year and filing status, so ask your CPA which rate applies to you.

Piece 2: Federal Tax on Depreciation (Unrecaptured Section 1250 Gain)

Depreciation lowers your basis, which raises your gain. The part of the gain tied to depreciation on real property is called unrecaptured section 1250 gain, and it is taxed at a maximum federal rate of 25%.

This applies to depreciation you deducted or could have deducted. Skipping it on your returns does not avoid it.

Piece 3: Net Investment Income Tax (3.8%)

The Net Investment Income Tax (NIIT) is a separate federal tax of 3.8%. Gains from selling real estate generally count as net investment income, unless the property is held in a trade or business that is not subject to the NIIT.

It applies to the lesser of your net investment income or the amount your modified adjusted gross income exceeds these thresholds:

A large sale can push an owner over the threshold in the year of sale, even if their income is usually below it.

Piece 4: California Income Tax

California does not have a lower rate for capital gains. All capital gains are taxed as ordinary income. That means your gain is added to your other income and taxed at your regular California rate, which can be high in a big sale year.

California Withholding at Closing (Form 593)

When you sell California real estate, the escrow company generally withholds part of the proceeds and sends it to the Franchise Tax Board. This is reported on FTB Form 593.

Withholding works as a prepayment toward your California tax. You claim the amount withheld on your California tax return.

An Illustration (Not a Calculation of Your Taxes)

The numbers below are made up and rounded to show how the pieces fit. They are not a calculation of anyone's taxes. They ignore selling costs, improvements, land versus building allocation, and many other real factors.

Illustration: - Purchase price: $400,000 - Depreciation taken over the years: $100,000 - Adjusted basis: $300,000 - Sale price: $700,000 - Total gain: $400,000

How that $400,000 gain is treated, in general terms:

The takeaway: a single sale can touch four taxes plus withholding. Your CPA can run your real numbers.

How a 1031 Exchange Changes This

In a qualifying 1031 exchange, gain is not recognized when you trade into like-kind real property, and the initial transfer is exempt from California withholding at that time. The gain is deferred until a later taxable sale. See how a 1031 exchange works.

Common questions

Does California have a lower tax rate for long-term capital gains?

No. California does not have a lower rate for capital gains. All capital gains are taxed as ordinary income.

What federal rates apply when I sell a rental I held for years?

Long-term capital gains are taxed at 0%, 15%, or 20% depending on taxable income, and the depreciation-related part of the gain on real property is taxed at a maximum 25% rate.

Does the 3.8% Net Investment Income Tax apply to a rental sale?

It can. Gains from selling real estate generally count as net investment income, and the 3.8% tax applies above modified adjusted gross income thresholds of $250,000 for married filing jointly, $125,000 for married filing separately, and $200,000 for single or head of household.

Why did escrow withhold money from my California sale?

California generally requires withholding on real estate sales, reported on Form 593. The standard rate is 3 1/3% of the sales price, and you claim it as a credit on your California return.

Is my sale exempt from California withholding?

Common exemptions include sales of $100,000 or less, a qualifying principal residence, and the initial transfer in a deferred like-kind exchange. Your escrow officer will have you complete Form 593.

Before you list. Talk with a CPA or tax attorney and a qualified intermediary. See who does what.

Sources

  1. 26 U.S. Code ยง 1031, Exchange of real property held for productive use or investment.
  2. IRS Topic No. 409, Capital gains and losses.
  3. IRS Topic No. 559, Net investment income tax.
  4. IRS Publication 527, Residential Rental Property.
  5. California Franchise Tax Board, Capital gains and losses.
  6. California Franchise Tax Board, 2026 Form 593 Instructions, Real Estate Withholding.
  7. California Franchise Tax Board, 2025 Form FTB 3840 Instructions, California Like-Kind Exchanges.

Last reviewed October 2026.