You are generally buying into the lease, not just the property
The core thing to internalize when buying a tenant-occupied property is that you are not just acquiring a building -- you are typically stepping into an existing legal relationship with obligations attached, most importantly the duty to return the deposit when the lease ends. Underestimating that obligation is one of the most common and costly mistakes buyers make.
These rules vary drastically by country -- verify locally before you commit
How much protection a sitting tenant has, how a deposit is legally treated, and what rights transfer automatically to a new owner differ enormously between countries and even between regions within the same country. Treat this guide as a general framework only, and confirm the specific rules that apply to your purchase with a local real estate professional or lawyer before signing anything. This is general information, not legal advice.
Frequently Asked Questions
Can the seller just return the deposit to the tenant directly instead of adjusting the price?
It is possible if both sides agree, but that arrangement and its exact timing should be written into the purchase contract explicitly, rather than left as a verbal understanding, so there is no confusion later about whether the deposit was actually returned.
I want to move in myself -- does the tenant have to leave right away?
Not necessarily. In many places, an existing tenant has some right to stay through the end of the current lease term, or even a right to request a renewal, which can delay when you can actually move in. Check the lease end date and local tenant protections before finalizing your own move-in plans.