A2A.It’s tricky, and it depends on how you ended up in this situation in the first place.The typical way it would happen is that you have a written agreement/lease with the landlord, and then that lease expires, and you continue paying rent without objection from the landlord.This would mean that you started out with a fixed term lease and had what’s called a month to month lease conversion. This is actually pretty typical. It’s also pretty typical that your landlord will try to get you to sign a new lease, and if you won’t, they may start eviction proceedings.If you are in a rent controlled property, it’s more difficult to evict in San Francisco, the landlord tends to use an Ellis Act eviction, arranging something like a REIT distribution over the end of the year to get around the California Proposition 13 (1978) exceptions on transfer of title.If you are not in a rent controlled property, the landlord can evict in 30 days, if you’ve been there less than a year, or 60 days, if you’ve been there more than a year.And rules are different, even if you are paying rent, for rooms vs. apartments — e.g. if you are an adult child (for the purposes of the law, that means you’ve turned 18), and your parent is trying to kick you out, they’re pretty much allowed to do so.It’s also pretty easy to evict a hoarder can get evicted if problems arise in San Francisco, since San Francisco has some pretty strict fire codes for rental units, for example, it’s pretty impossible to stack boxes or papers without interfering with the operation of the legally mandated fire sprinkler system.This is somewhat of a shame, and the tenant can contact the California Department of Fair Employment And Housing, since it’s a legitimate psychological disability which entitles you to some protections, but expect that you will eventually be evicted as part of getting things cleaned up and getting you help.If you are a squatter, the landlord can pretty much just have the police/sheriff remove you for trespassing — potentially arresting you in the process, if you don’t leave as ordered. Squatters are also not entitled to the implied warrant of habitability (water, toilets, non-leaking roof, stairs that are not rotted out, etc.).Obviously, you can always contact the SFTU (San Francisco Tenants Union) or the HRCSF (Housing Rights Committee San Francisco), etc..There are many organizations which might agree that you count as a tenant, especially in San Francisco, where landlord tenant relations are sometimes quite adversarial (e.g. right after property taxes go up and come due, and the landlord finds themselves upside down on the mortgage, or repair or maintenance bills, but unable to raise the rent to cover costs).Be aware that contacting one of these organizations is the “nuclear option”, and your relationship with that landlord will go from bad to actively adversarial, if you make this call, these people go in expecting to fight, and fight they will, even if the landlord is accommodating.