Quick Answer
Tenants generally have three core legal protections: a right to a livable, safe home (often called the “habitability” standard), a right to get their security deposit back on time and in writing if money is withheld, and a right to be evicted only through a court process — never by a landlord locking them out, shutting off utilities, or removing belongings. The exact deadlines, dollar limits, and procedures depend on your state and sometimes your city, so this guide explains the general pattern and shows you how to confirm the specific rule that applies where you live.
Warning Signs of an Illegal Eviction
If any of these are happening to you right now, treat it as urgent. A landlord generally cannot legally do any of the following without a court order:
- Changing the locks while you still live there
- Shutting off electricity, water, gas, or heat to force you out
- Removing your belongings or furniture from the unit
- Physically blocking your entry to the home
- Threatening or intimidating you into leaving without a court process
These actions are often called “self-help evictions,” and most states treat them as illegal regardless of whether you are behind on rent. If this is happening to you, contact a local legal aid organization right away through LawHelp.org’s Find Help by State tool, or call your local courthouse to ask about emergency relief. Every state’s exact remedy is different, so a local attorney or legal aid worker is the fastest way to find out what applies to you.
Your Right to a Livable Home (Habitability)
Most states require landlords to keep a rental unit safe and livable throughout the tenancy. This is often called the “implied warranty of habitability.” In general terms, this usually covers things like:
- Working plumbing, heat, and electricity
- A structurally safe building free of major hazards
- Protection from pests and mold that make the unit unsafe
- Working locks and safe entry points
The U.S. Department of Housing and Urban Development notes that federal and state laws protect tenants from discrimination and define rights such as the right to a habitable home and privacy in it, and that these laws also protect tenants from abuses such as withholding security deposits and unlawful evictions. HUD’s guidance is written mainly for HUD-assisted and federally subsidized housing. If you rent from a private landlord, your state’s landlord-tenant statute is the controlling source, not federal housing law.
If your unit has a serious habitability problem, most states allow you to notify the landlord in writing and request a repair, but the specific steps you’re allowed to take next — such as withholding rent or repairing and deducting the cost — vary significantly by state, and using the wrong process can sometimes put you at risk of eviction. Check your state’s specific tenant rights procedure before withholding any rent.
Security Deposits: The General Rules
Security deposit rules vary by state, but most states share a similar basic structure:
- Return deadline: Most states set a specific window after you move out for the deposit to be returned or accounted for; the exact number of days is set by each state’s own law
- Itemized statement required: If the landlord keeps any part of the deposit, most states require a written, itemized list of deductions
- Normal wear and tear is not deductible: Landlords generally cannot charge you for ordinary wear from everyday living, only for actual damage beyond that
- Dollar limits vary: Some states cap the deposit at one or two months’ rent; others set no cap at all
- Your forwarding address matters: In most states, you must give the landlord a written forwarding address for the deposit to be returned on time
Because the deadline, dollar limits, and penalty for a landlord who keeps your deposit improperly are all state-specific, do not rely on a number you saw online without checking your own state’s current statute. A local legal aid office or your state’s official tenant rights page can confirm the exact rule.
What Counts as an Illegal Eviction
In nearly every state, a landlord must go through the courts to remove a tenant. This generally means:
- The landlord must give proper written notice first (the required notice period varies by state and by the reason for eviction)
- If the tenant doesn’t leave, the landlord must file an eviction case in court
- The tenant has the right to appear in court and respond
- Only after a judge rules in the landlord’s favor, and often only after a separate order allowing law enforcement to remove the tenant, can the tenant actually be required to leave
A landlord who skips this process — by changing locks, shutting off utilities, or removing belongings instead of going to court — is generally engaging in an illegal “self-help” eviction. If this happens, most states allow the tenant to sue for damages or seek a court order allowing them back in. The specific remedy and how fast you must act differ by state, which is why speaking with a legal aid attorney quickly matters if this happens to you.
Decision Path: What To Do Based on Your Situation
- If you were locked out or utilities were shut off without a court order: Document what happened (photos, dates, witnesses), then contact legal aid immediately through LawHelp.org’s Find Help by State page
- If you received a formal eviction notice: Read it carefully, note every deadline, and contact legal aid or your local courthouse self-help center before the deadline passes
- If your unit needs repairs the landlord won’t make: Put the request in writing, keep a copy, and check your state’s specific tenant repair procedure before taking any further action like withholding rent
- If your landlord kept your security deposit without an itemized statement: Request the written itemization in writing, then check your state’s small claims court process if the landlord doesn’t respond
- If you’re behind on rent and worried about eviction: Review the Consumer Financial Protection Bureau’s Help for Renters guide for options before a case is filed
How to Verify Your State’s Specific Rule
Because deposit deadlines, dollar caps, notice periods, and eviction procedures are all set at the state (and sometimes city) level, always confirm the current rule for your location before acting. Two reliable starting points:
- LawHelp.org’s Find Help by State tool, which links to nonprofit legal aid organizations and state-specific tenant rights fact sheets
- Your state’s official court self-help center or state attorney general’s consumer protection page, which usually publishes current landlord-tenant statutes and forms
Laws change, so a rule that was accurate last year may not be accurate today. Always check the publication date on any source you rely on and confirm it against your state’s current statute.
When to Contact a Legal Aid Attorney
Consider reaching out to a legal aid organization or attorney if any of these apply to you:
- You were locked out, had utilities shut off, or had belongings removed without a court order
- You received a formal eviction notice or court summons
- Your landlord is withholding your deposit without a written, itemized explanation
- You have a serious habitability issue the landlord refuses to fix
- You are unsure whether an action you’re considering, like withholding rent, is legal in your state
LawHelp.org’s state-by-state directory connects you to free or low-cost legal aid organizations. Many offer help at no cost to renters with low incomes.
Evidence Limits
This guide describes general patterns found across most U.S. states, based on guidance from HUD and LawHelp.org. It is not a summary of any single state’s statute, and it does not cover every state’s exceptions, local ordinances, or rent-control rules, which can change the deadlines and procedures described here. Always confirm current, jurisdiction-specific rules through your state’s official resources or a legal aid attorney before making a decision.
Frequently Asked Questions
Can my landlord evict me without going to court?
In nearly every state, no. Landlords generally must give proper notice and win an eviction case in court before a tenant can be legally required to leave. Actions such as changing locks or shutting off utilities, rather than going to court, are generally illegal “self-help” evictions.
How long does my landlord have to return my security deposit?
It depends on your state. Many states set a specific window after move-out for the deposit to be returned or accounted for, but the exact number of days and any penalty for missing it are set by each state’s own law. Check your state’s current statute to confirm.
What can my landlord deduct from my security deposit?
Most states allow deductions for actual damage beyond normal wear and tear and for unpaid rent, but not for ordinary wear and tear from everyday living. Most states also require the landlord to give you a written, itemized list of any deductions.
What should I do if I think my eviction was illegal?
Document everything with photos, dates, and any communication from your landlord, then contact a legal aid organization through LawHelp.org’s Find Help by State tool as soon as possible. Many states have strict deadlines for challenging an illegal eviction.
Related Reading on Legal Help Online
- Consumer Rights — more on consumer protection laws and dispute resolution
- Consumer Legal Information — practical legal guidance for everyday situations
- Court and Agency Resources — how to find your local court and file a complaint
- Legal Scam Awareness — how to spot rental and eviction-related scams
Educational Disclaimer
This article is for general educational purposes only. It does not constitute legal advice and does not create an attorney-client relationship. Landlord-tenant law varies by state and city and changes over time. For guidance on your specific situation, consult a qualified attorney or a local legal aid organization.