Selling a California Rental: Capital Gains Guide
When you sell a California rental, the federal government taxes the gain in layers: the part equal to the depreciation you took (or could have taken) at up to 25%, the rest at 0%, 15% or 20%, plus the 3.8% net investment income tax for higher earners. California taxes the entire gain as ordinary income, and escrow normally withholds 3 1/3% of the price for the Franchise Tax Board unless an exemption or a gain-based election applies. The tenancy, the lease and the deposits all pass to the buyer unless they end lawfully first.
How is the sale of a rental property taxed in California?
On a California rental held more than a year, the gain is taxed by the IRS in up to three layers and by California as ordinary income on the whole amount. A rental held one year or less produces short-term gain, taxed federally at ordinary rates.
Federal figures below are for 2026 from Rev. Proc. 2025-32 and IRS Topic 409 (reviewed November 2026). This page is general information, not tax advice; your CPA runs the actual numbers.
| Piece of the gain | Federal treatment | California treatment |
|---|---|---|
| Gain equal to depreciation on the building (unrecaptured section 1250 gain) | Maximum 25% | Ordinary income |
| Remaining long-term gain | 0%, 15% or 20% by taxable income; for 2026, 0% up to $49,450 single or $98,900 joint, and 20% above $545,500 single or $613,700 joint | Ordinary income |
| Net investment income tax | 3.8% may apply above income thresholds (IRS Topic 559) | No state equivalent |
| Appliances, furniture and other personal property sold with the building | Depreciation recaptured as ordinary income (Form 4797) | Ordinary income |
California has no lower rate for long-term capital gains; the Franchise Tax Board states that all capital gains are taxed as ordinary income. Owners who have moved out of California still owe California tax on the gain from California real property. Our guide to rental property depreciation explains where the 25% slice comes from.
How do you figure the gain on a rental sale?
Gain is the amount realized (the price minus selling costs such as commissions and transfer tax) less your adjusted basis. Adjusted basis is what you paid plus capital improvements, minus the depreciation you took or could have taken.
That last point catches owners who never claimed depreciation: IRS Publication 527 says basis is reduced by depreciation allowed or allowable, so skipping it doesn’t avoid the tax at sale.
A hypothetical example
Say you bought a duplex for $900,000, have $210,000 of depreciation allowed over the years, and sell for $1,300,000 with $70,000 of selling costs. The amount realized is $1,230,000 and the adjusted basis is $690,000, so the gain is $540,000. Federally, $210,000 of it is unrecaptured section 1250 gain (up to 25%) and $330,000 is long-term gain at 0%, 15% or 20%. California taxes all $540,000 as ordinary income. These figures are illustrative only and leave out closing costs added to basis at purchase.
Gather the closing statement from your purchase, records of every capital improvement and your depreciation schedules before you list. Our guide to the seller net sheet shows how the price turns into proceeds, and California transfer tax covers one of the selling costs.
How much does escrow withhold when you sell a California rental?
California normally requires withholding of 3 1/3% of the sales price, filed by escrow on Form 593 and credited against your California tax for the year of sale. You can instead elect withholding based on your estimated gain, or certify an exemption.
- No withholding is required unless the sales price exceeds $100,000 (Revenue and Taxation Code 18662).
- Exemptions on Form 593 include a sale at a loss or zero gain, a qualifying principal residence and a 1031 exchange, where the intermediary withholds later only on boot or a failed exchange.
- The gain-based election uses rates set by the Franchise Tax Board for each type of seller, which can be far less than 3 1/3% of the price when the gain is small.
- Withholding is a prepayment, not an extra tax; you claim it on your California return.
Our Form 593 guide covers each exemption and the forms escrow will ask you to sign.
Thinking about selling a rental?
Send the address, the rent roll and when you bought, and we’ll give you a pricing view your CPA can use to estimate the tax.
Request a rental pricing viewMatthew Martinez, Broker, DRE #01869679 · Diamond Real Estate Group, brokerage DRE #02163490 · Privacy policy · Consent terms for calls and texts
Can you sell a California rental with tenants in place?
Yes, and most small rentals sell that way. The sale doesn’t end the lease: the tenancy, the deposit and the tenant’s rights pass to the buyer, and a sale by itself isn’t a just cause to end a tenancy.
- Just cause after 12 months
- Under Civil Code 1946.2, once a tenant has lawfully occupied the unit for 12 months, the owner needs a listed cause, such as owner move-in or withdrawing the unit from the rental market, with relocation equal to one month’s rent for no-fault causes. Local ordinances can be stricter. See our just cause eviction guide and AB 1482 for landlords.
- The 30-day notice on a sale to an owner-occupant
- For a home that can be sold separately, Civil Code 1946.1(d) allows a 30-day notice after escrow opens with a buyer who will live there, but only where no just cause rule covers the tenancy and every condition in the statute is met.
- Voluntary move-outs
- Many sellers negotiate a written move-out agreement; our guide to cash for keys explains how they generally work.
- Showings
- Civil Code 1954 lets you enter to show the unit to buyers with reasonable written notice, 24 hours being presumed reasonable, generally during normal business hours.
- Deposits and notices at closing
- Under Civil Code 1950.5, you either transfer the remaining deposits to the buyer and notify each tenant, or return them with an accounting. Tenant estoppel certificates confirm rents and deposits for the buyer, and the buyer gives tenants new contact and payment details within 15 days under Civil Code 1962.
For the full picture, read our guides to selling a tenant-occupied home and California security deposit rules. San Francisco owners should also read our Ellis Act guide; East Bay owners, our rent stabilization table by city.
What disclosures and inspections apply when selling a rental?
A rental of one to four units carries the same seller disclosure duties as an owner-occupied home, including the Transfer Disclosure Statement under Civil Code 1102 and the natural hazard disclosure. Larger buildings sell on contract terms, but known material facts still have to be disclosed.
- Rent roll, leases and notices: buyers will ask for every lease, the rent ledger, notices served and the deposit ledger during their investigation.
- Rent cap status: whether each unit is covered by AB 1482 or a local ordinance, and any exemption notices given to tenants.
- Building programs: buildings with three or more units fall under SB 721 balcony inspections, and many Bay Area cities have soft-story retrofit orders.
- Unpermitted units: an unpermitted ADU or garage unit changes what a buyer can rent and finance; see selling with an unpermitted ADU.
- City point-of-sale rules: some cities require inspections or reports before transfer; see California point-of-sale requirements.
Our guide to California seller disclosures covers the forms in detail.
How can you defer or reduce tax on a rental sale?
The main options are a 1031 exchange, an installment sale and, in limited cases, the home-sale exclusion after moving in. They solve different problems, so the choice should come before you list.
- 1031 exchange
- Defers the tax by reinvesting in other investment real property, with replacement property identified in 45 days and received within 180. It keeps you in real estate. See our 1031 exchange guide, or Delaware statutory trusts for a passive replacement.
- Installment sale
- Spreads the gain over the years you receive principal when you carry the buyer’s financing, but depreciation recapture income (for example on appliances or cost-segregated components) is taxed in the year of sale, and you take on the buyer’s credit risk. See seller financing in California.
- Moving in first
- After owning and living in the home for 2 of the 5 years before the sale, you may exclude up to $250,000 of gain ($500,000 for joint filers). IRS Publication 523 (2025) says depreciation after May 6, 1997 can’t be excluded, and rental years after 2008 can reduce the exclusion. See capital gains on a home sale in California.
- Selling several properties
- Owners selling more than one rental can stage sales across tax years or pair some with exchanges; our portfolio disposition guide covers the sequencing.
What are the steps to sell a rental property in California?
A rental sale runs on the normal California listing and escrow process, with tax planning and tenant handling added at the front. These steps follow a typical order.
- 1. Get a tax estimate
- Give your CPA the purchase closing statement, improvement records and depreciation schedules, and an estimated price, so you know the after-tax result.
- 2. Decide on an exchange before you list
- A 1031 exchange has to be set up before the sale closes, with an intermediary and exchange language in the contract.
- 3. Assemble the rental file
- Leases, rent ledger, notices, deposit ledger, rent cap exemption notices, registrations and inspection reports.
- 4. Price it on comparable sales and income
- Small rentals are priced on comparable sales; larger buildings also on the rent roll and cap rate. Our guide to pricing a home covers the sales side.
- 5. Choose occupied or vacant
- Decide whether to sell with tenants in place or pursue a lawful move-out, and plan showings with proper notice.
- 6. Handle the rental items in escrow
- Form 593 withholding, deposit transfer, estoppels, rent proration and the tenant notice for the buyer.
- 7. Report the sale
- The sale goes on Form 4797 and Schedule D federally and on your California return, where you claim the withholding.
Our home selling process guide and listing agreement guide cover the listing side; owners of apartment buildings should also read selling a multifamily property.
Where does Diamond sell rental property?
Rent rules, buyer pools and property tax differ by county, so the plan for a sale starts with the local page.
- Sonoma County multifamily and our Santa Rosa investment property and Sonoma investment property pages
- Napa County multifamily and Napa investment property
- Marin County multifamily and San Francisco multifamily
- Alameda County and Contra Costa County multifamily
Owners who would rather keep the property and hand off the work can read our guide to property management in California. Owners whose buyer can’t close right away sometimes look at a lease option instead.
County guides for the areas we work in: Sonoma County, Napa County, Marin County, San Francisco, San Mateo County, Santa Clara County, Solano County, Sacramento County and Mendocino County real estate. To see what the property might sell for before you decide, start with a free home valuation from Diamond Real Estate Group (brokerage DRE #02163490; broker Matthew Martinez, DRE #01869679).
Questions people ask about selling a rental in California
Answers reviewed November 2026.
How much tax will I pay when I sell a rental property in California?
It depends on your gain, your income and how long you owned the property. Federally, the depreciation portion is taxed at up to 25%, the rest at 0%, 15% or 20%, and the 3.8% NIIT may apply above income thresholds. California adds tax at your ordinary income rate on the entire gain.
What is depreciation recapture on a rental property?
For a residential rental, the gain equal to the depreciation you took (or could have taken) on the building is called unrecaptured section 1250 gain. Federally it’s taxed at a maximum of 25% rather than the lower capital gain rates. It can’t be excluded even if the property later becomes your home.
Can I avoid California’s 3 1/3% withholding?
You may qualify for an exemption, such as a sale at a loss, a 1031 exchange, a qualifying principal residence or a price of $100,000 or less. You can also elect withholding on your estimated gain instead of the price. Either way, the withholding counts toward your California tax.
Can I evict my tenant to sell the property?
Not just because you’re selling. Under Civil Code 1946.2, you need a listed just cause after 12 months of tenancy, such as an owner move-in or taking the unit off the rental market, with relocation help for no-fault causes. Local ordinances can be stricter. Many owners sell with the tenant in place or negotiate a voluntary move-out.
Is an installment sale better than a 1031 exchange?
They solve different problems. An exchange defers the tax but keeps you in investment real estate. An installment sale lets you exit and spread the gain over time, but any depreciation recapture income (for example on appliances or cost-segregated components) is taxed in the year of sale, and you take on the buyer’s credit risk.
Can I move into my rental to avoid capital gains tax?
Partly, in some cases. After living there 2 of the 5 years before the sale, you may exclude up to $250,000 ($500,000 for joint filers). Depreciation taken after May 6, 1997 isn’t excludable, and rental years after 2008 can reduce the exclusion.
Do I have to file anything with the FTB when I sell?
Escrow files Form 593 and sends the withholding. You report the sale on your California return for the year of sale and claim the withholding there. Talk to a CPA or California tax adviser about your situation.
Do I owe California tax if I’ve moved out of state?
Yes, on the gain from California real property. Withholding at closing applies to nonresident sellers too, and you claim it on a California nonresident return.
Is it better to sell a rental vacant or occupied?
It depends on the buyer pool. A vacant home can sell to owner-occupants, while an occupied one sells mainly to investors who value the rent. Ending a tenancy takes a lawful cause or a voluntary agreement, so compare the price difference with the time and cost of getting there.
How long do I have to own a rental to get long-term rates?
More than one year. Gain on a rental held one year or less is short-term and taxed federally at ordinary income rates; California taxes either kind as ordinary income.
Sources and notes
Sources are named in plain text without links. General information, not legal or tax advice; talk to a CPA or California tax adviser, and a real estate attorney for tenant questions, about your situation. Last reviewed November 2026 by Matthew Martinez.
- IRS Topic 409, Capital gains and losses (page reviewed November 9, 2026): 25% maximum on unrecaptured section 1250 gain
- Rev. Proc. 2025-32, section 4.03: 2026 capital gain rate thresholds (read November 2026)
- IRS Publication 523 (2025), Selling Your Home, and Publication 527 (2025), Residential Rental Property (read November 2026)
- California Revenue and Taxation Code 18662 (3 1/3% withholding; $100,000 threshold), official text, checked December 1, 2026
- Franchise Tax Board, 2026 Instructions for Form 593 (exemptions, alternative withholding calculation and rates), checked December 1, 2026
- California Civil Code 1946.1, 1946.2, 1950.5, 1954, 1962 and 1102, with Business and Professions Code 10018.08 (one to four dwelling units), 1102 and 10018.08 checked December 1, 2026
- Photo: Sutter Street between Hyde and Leavenworth, Lower Nob Hill, by Sanfranman59, CC BY-SA 3.0 (creativecommons.org/licenses/by-sa/3.0/), via Wikimedia Commons
Talk to us before you list
Diamond Real Estate Group is a licensed California brokerage (DRE #02163490) led by broker Matthew Martinez (DRE #01869679). If you own a rental in Sonoma, Napa, Marin, San Francisco or the East Bay and are deciding whether to sell, start with a pricing conversation that your CPA can use.
Visit our investor services page or see how we handle listing a property. Diamond may refer you to partners we work with, such as CPAs, attorneys or intermediaries; you are free to choose any provider.
This is an area where I have worked every kind of property, from homes and condos to estates, land, vineyards, multifamily and commercial buildings. My advice starts with the records for the specific address and the closest comparable sales, not county averages.
Send the address
Tell us the property, the rents and your timing, and Matthew will reply.
Send a rental sale questionMatthew Martinez, Broker, DRE #01869679 · Diamond Real Estate Group, brokerage DRE #02163490 · Privacy policy · Consent terms for calls and texts