Handling the security deposit
Within 21 calendar days after your ownership ends, you must choose one of two ways to handle what remains of each deposit after lawful deductions. You can transfer the balance to the buyer and notify the tenant by personal delivery or first-class mail. That notice must identify the transfer, any claims against the deposit, the amount transferred, and the buyer’s name, address, and phone number. Or you can return the balance to the tenant with an itemized accounting. If the transfer steps are skipped, the buyer can share liability for the deposit. See California Civil Code §1950.5.
