A2A.Itu2019s 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 whatu2019s called a month to month lease conversion. This is actually pretty typical. Itu2019s also pretty typical that your landlord will try to get you to sign a new lease, and if you wonu2019t, they may start eviction proceedings.If you are in a rent controlled property, itu2019s 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 youu2019ve been there less than a year, or 60 days, if youu2019ve been there more than a year.And rules are different, even if you are paying rent, for rooms vs. apartments u2023 e.g. if you are an adult child (for the purposes of the law, that means youu2019ve turned 18), and your parent is trying to kick you out, theyu2019re pretty much allowed to do so.Itu2019s 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, itu2019s 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 itu2019s 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 u2023 potentially arresting you in the process, if you donu2019t 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 u201cnuclear optionu201d, 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.