Landlord-tenant law has almost no single set of numbers that applies everywhere. What it does have is a consistent set of categories every state addresses, and knowing those categories matters more than memorizing any one state's figures.
What's Inside
- The short answer
- The one rule that matters more than any specific number
- Habitability, the floor you cannot rent below
- Security deposits
- Notice requirements
- What happens when a landlord won't make repairs
- Eviction has to go through court
- Retaliation protection
- If you sell the property
- Common mistakes
- Frequently asked questions
Landlord-tenant law is one of the most fragmented areas of real estate law, varying not just state by state but often city by city on top of that. Every example number in this guide is illustrative of a category, drawn from a specific named state, not a universal figure you can rely on directly. Check your own state and city before setting policy.
Quick honesty note
This is education, not legal advice. Every specific figure below, deposit return days, notice hours, fee caps, comes from a named state as an illustration of the category, not a general rule. This area of law changes frequently, including new laws taking effect January 1, 2026 in at least one state discussed here. Speak to a local attorney for guidance specific to your property.
The Short Answer
The One Rule That Matters More Than Any Specific Number
Your lease cannot write away legal rights
Rights granted by state law generally operate regardless of what the rental agreement says. A lease provision attempting to waive a tenant's legally granted rights, the right to habitable housing, for example, is generally unenforceable, no matter how clearly it's written into the lease. This single principle matters more than any individual number in this guide, since it means a landlord cannot simply contract around these baseline protections.
Habitability, the Floor You Cannot Rent Below
Every state recognizes some version of an implied warranty of habitability: a landlord cannot legally rent out a unit that fails basic health and safety standards, and this obligation exists whether or not the lease mentions it. What counts as a baseline habitability requirement is not fixed forever. As one specific, recent example, California's AB 628 elevated a working stove and a functioning refrigerator to baseline habitability requirements effective January 1, 2026, appliances previously treated as amenities rather than legal necessities in many situations, and now require replacement of a recalled appliance within 30 days of notice.
Security Deposits
Swipe to see more →
| State (illustrative example) | Deposit return rule |
|---|---|
| New York | 14 days with an itemized statement, or the landlord forfeits the right to withhold any portion |
| California | 21 days; as of January 1, 2026, must be returned electronically if the tenant paid electronically |
Common patterns across states include a maximum deposit amount tied to monthly rent, a requirement to itemize any deductions in writing, and in some cases, a requirement to hold deposits in an interest-bearing account for larger properties. Missing your state's specific deadline can mean forfeiting your right to withhold any of the deposit, regardless of how legitimate the underlying deduction is.
Notice Requirements
Most states require advance written notice before a landlord enters an occupied unit, except in genuine emergencies. As one specific example, Montana requires at least 24 hours' notice before entry, with entry limited to reasonable times. Rent increase notices generally must be in writing as well; oral notice is commonly insufficient, and a landlord who fails to provide adequate written notice risks the increase being invalid entirely, with the tenant continuing to pay the prior rent amount.
What Happens When a Landlord Won't Make Repairs
A common remedy pattern across many states, sometimes called "repair and deduct," lets a tenant arrange necessary repairs themselves and deduct the cost from rent, but only after providing written notice and giving the landlord a defined window to fix the issue first. As one specific example, Montana gives landlords 14 days to remedy a habitability issue after written notice, shorter for emergencies affecting health and safety, and this remedy is commonly capped at one month's rent and limited to a set number of uses per year in some states. Failing to act on a documented written repair request within a reasonable window is one of the more common ways landlords end up facing this remedy, or a rent reduction claim, unexpectedly.
Eviction Has to Go Through Court
Evicting a tenant requires a formal court process in every state; a landlord cannot lawfully change the locks, remove belongings, or shut off utilities to force someone out, commonly called "self-help eviction," which is illegal virtually everywhere regardless of how clearly the tenant is in breach. Proper eviction notice, then a court filing if the tenant doesn't comply, is the only lawful path, and skipping this process exposes a landlord to real liability even when the underlying reason for eviction is legitimate.
Retaliation Protection
Tenants are broadly protected from retaliation for exercising legal rights, filing a habitability complaint, reporting a code violation, or joining a tenant organization. A rent increase or lease non-renewal that follows closely after such a complaint can be challenged as retaliatory, even in places with no rent control at all, if the timing and circumstances suggest it was punitive rather than routine.
If You Sell the Property
Existing lease terms generally remain valid when a rental property is sold; a new owner typically cannot simply void a fixed-term tenant's lease because ownership changed hands. This is a commonly overlooked point on both sides of a sale, worth confirming explicitly during any property transaction involving occupied units.
Common Mistakes (and How to Dodge Them)
- Assuming a lease clause overrides state law. Provisions that waive legally granted tenant rights are generally unenforceable regardless of what the lease says.
- Missing a security deposit return deadline. This can mean forfeiting the right to withhold any portion, even for a legitimate deduction.
- Giving verbal notice instead of written notice. Entry notice and rent increase notice generally need to be in writing to be valid.
- Attempting a self-help eviction. Changing locks or shutting off utilities without a court order is illegal virtually everywhere, regardless of how clear the breach is.
- Raising rent or declining to renew shortly after a tenant complaint. This can be challenged as retaliatory based on timing alone, even without rent control in place.
Frequently Asked Questions
Can a lease waive a tenant's legal rights?
Generally no. Rights granted by state law typically operate regardless of what the lease says, and a provision attempting to waive them, such as the right to habitable housing, is generally unenforceable no matter how the lease is written.
How long does a landlord have to return a security deposit?
This varies significantly by state, commonly falling somewhere between 14 and 30 days, with an itemized statement of any deductions required. Some states also have specific rules about how the deposit must be returned. Confirm your specific state's deadline, missing it can mean forfeiting the right to withhold any portion.
How much notice does a landlord need to give before entering a rental unit?
Most states require written advance notice except in genuine emergencies, commonly in the range of 24 to 48 hours, though the exact requirement varies by state. Entry must generally occur at reasonable times.
What can a tenant do if a landlord won't make necessary repairs?
Many states allow a "repair and deduct" remedy, where a tenant arranges the repair themselves after written notice and a defined waiting period, then deducts the cost from rent, commonly capped at one month's rent and limited in how often it can be used.
Can a landlord evict a tenant without going to court?
No. Eviction requires a formal court process in every state. Self-help eviction, changing locks, removing belongings, or shutting off utilities to force a tenant out, is illegal regardless of how legitimate the underlying reason for eviction may be.
What happens to an existing lease if the rental property is sold?
Existing lease terms generally remain valid; a new owner typically cannot void a fixed-term tenant's lease simply because ownership of the property changed.
Learn the Categories, Then Check Your State
Landlord-tenant law rewards understanding the categories, habitability, deposits, notice, repairs, eviction, retaliation, more than memorizing any single state's numbers. The specific figures in this guide are illustrations, not a rulebook you can apply directly. Confirm the actual requirements for your property's specific state and city before setting policy, and remember that a lease cannot simply write around the protections state law provides.
Take This Further
Books by Nwaeze David to help you build real wealth through property.
"You don't need a big deposit, perfect credit, or family money to build wealth in real estate. You need a system, the resourcefulness to work it, and the courage to start."
Get Your Copy →
"The AI Real Estate Investor gives you that system. It shows you exactly how to point AI at the parts of your business that actually make money."
Get Your Copy →
"The Diaspora Property Blueprint is the complete, step-by-step system for buying land and building wealth back home safely, from anywhere in the world."
Get Your Copy →Get help staying compliant across your rentals
Join the newsletter for practical, no-hype breakdowns of managing rental property, then step inside the private community where we help landlords build a compliance checklist for their specific state and city.
Keep learning: how to screen tenants · how much to charge for rent · rental property investing.
Education only, not legal advice. Landlord-tenant law varies by state and often by city, and changes frequently; every specific figure in this guide is an illustrative example from a named state, not a universal rule. Speak to a local attorney for guidance specific to your property's location before setting policy.
Written by
Nwaeze David
Nigerian digital entrepreneur, educator and author of three real estate books. He writes practical, honest guides for new investors, working realtors and Africans building back home from abroad.