Question: what happens if your landlord sells the house?
Answer: When the property is sold, the current landlord usually transfers the security deposit to the building's new owner. Alternatively, the security deposit might get refunded to the tenant and the new landlord may require that the tenant make a new deposit.