General information only, not tax or legal advice. Please consult a CPA, tax professional or attorney about your situation.
Find out which law applies
California's Tenant Protection Act (AB 1482) is in Civil Code §1946.2 and, as of November 2026, remains in effect until January 1, 2030. Once a tenant has lawfully lived in a unit for 12 months, an owner needs just cause to end the tenancy and must state it in a written notice.
Some homes are exempt, such as housing with a certificate of occupancy issued within 15 years and certain owner-occupied duplexes. Separately sellable houses and condos can be exempt too if the owner isn't a REIT, corporation or LLC with a corporate member, and the lease contains the statutory exemption notice. Without it, the exemption may fail. This is a common trap, so have an attorney read the lease.
Local rules can be stricter. In Mountain View, units covered by the CSFRA aren't subject to AB 1482. The city lists nine lawful reasons for eviction, sale is not among them, and relocation assistance may apply in some cases. San José has its own tenant protections. Check with the city's rental program before acting.
A sale is not just cause
The no-fault reasons in §1946.2 are owner or family move-in, withdrawal from the rental market, a government or court order, and demolition or substantial remodel. Selling the property is not listed, so if the tenancy is protected you can't end it just because you want to sell.
Three common paths:
- Sell with the tenant in place: an investor buys subject to the lease.
- Buyer occupies: after closing, the buyer may use owner move-in only if the rules are met. For leases signed on or after July 1, 2020, the tenant must have agreed in writing or the lease must let the owner decide unilaterally, so check the lease first. The reason is unavailable if the intended occupant already lives there or a comparable unit is vacant. Other conditions include occupancy for 12 months, moving in within 90 days after the tenant leaves, a notice naming the occupant and relationship, and one month's rent in relocation help or a waived final month.
- Negotiated move-out: a voluntary written agreement. Rights under the Act can't be waived, so have an attorney draft it.
Notice periods matter too. Under §1946.1, a tenant in place for a year or more generally gets 60 days. Some sales to owner-occupants may allow 30 days under specific conditions, including a separately sellable unit, an open escrow, and a natural-person buyer who will live there for a year. That notice period doesn't replace just cause.
Entry for showings
Civil Code §1954 allows entry to show the unit to buyers, generally during normal business hours, with written notice of the date, approximate time and purpose. Twenty-four hours is presumed reasonable; six days if mailed. If you told the tenant in writing within the past 120 days that the home is for sale and that notice may be oral, you can give notice in person or by phone, and must leave written evidence of the entry. Entry can't be used to harass.
Deposits and handover
Under Civil Code §1950.5, when you sell you must either transfer the remaining deposit to the buyer or return it to the tenant with an accounting. After a transfer, notify the tenant in writing of the amount and the new owner's contact details. Buyers will also want the lease, payment records and deposit figures, so gather them early.
Seller taxes
- Per the FTB, a rental generally doesn't qualify for the principal residence exemption, so when the price is over $100,000, 3⅓% of the price is generally withheld unless another exemption fits, such as a loss or a 1031 exchange.
- Per the IRS, depreciation can't be excluded under §121, and unrecaptured Section 1250 gain is taxed at a maximum of 25%.
- Former homes turned rentals get complicated under §121, so ask a CPA. For deferral, see 1031 exchange basics.
Common mistakes
- Assuming a month-to-month tenant can be asked to leave at any time.
- A defective notice, which is void.
- Scheduling showings without talking to the tenant first and losing their cooperation.
Next step
Gather the lease, rent, deposit and move-in dates, have a landlord-tenant attorney confirm which rules apply, and then decide what kind of buyer to pursue.
Main sources
- California Civil Code § 1946.2
- California Civil Code § 1946.1
- California Civil Code § 1954
- California Civil Code § 1950.5
- City of Mountain View:State Law AB 1482
- City of Mountain View:Eviction Protections and Tenant Relocation Assistance
- FTB:2026 Instructions for Form 593
- IRS:Publication 523 (2025), Selling Your Home
- IRS:Topic 409, Capital gains and losses