Most landlord-tenant disputes come down to a short list: a security deposit that wasn’t returned, repairs that didn’t get made, rent that wasn’t paid, or a tenant the landlord wants out. Almost all of the rules come from state law, and often city law too, so the deposit deadline in Dallas is different from the one in Los Angeles or Buffalo. A few federal laws sit on top, mainly the Fair Housing Act.
This guide covers those rules from both sides of the lease, using California, New York and Texas as examples because their laws differ in useful ways.
Security deposits: limits, deadlines and penalties
Deposit fights are the most common landlord-tenant dispute, and the rules are unusually specific. Many states cap how much a landlord can collect, set a deadline for returning it after move-out, and require a written list of anything deducted. Normal wear and tear generally can’t be charged to the tenant. A landlord who misses the deadline or keeps money without a good reason can owe much more than the deposit itself.
| California | New York | Texas | |
|---|---|---|---|
| Maximum deposit | 1 month’s rent; 2 months for some small landlords | 1 month’s rent | No statewide cap |
| Deadline after move-out | 21 days | 14 days | 30 days |
| Paperwork | Itemized statement; receipts for deductions over $125 | Itemized statement | Written itemized list of deductions |
| Penalty for bad faith or willful violation | Deposit plus up to twice the deposit | Landlord loses the right to keep any of it if the deadline is missed; up to twice the deposit for willful violations | $100 plus three times the amount wrongly kept, plus attorney’s fees |
California’s one-month cap took effect July 1, 2024, replacing the old two- and three-month limits. A landlord can still charge up to two months if the landlord is a person (or an LLC owned by people) with no more than two rental properties totaling no more than four units, but not if the tenant is a service member. California landlords must also photograph the unit before cleaning or repairs they plan to deduct for, and again afterward. For tenancies starting on or after July 1, 2025, they have to photograph it at move-in too.
Texas works differently. The 30-day clock runs from when the tenant surrenders the unit, but the landlord doesn’t have to send the refund or the list of deductions until the tenant gives a written forwarding address. If a Texas landlord misses the 30 days, the law presumes bad faith, which shifts the burden onto the landlord.
Tenants: take date-stamped photos or video of every room on the day you move in and the day you move out, and give your forwarding address in writing. Landlords: do the same, and keep receipts for every repair. In a deposit dispute, the side with the better pictures usually wins.
Repairs and the right to a livable home
State law generally requires landlords to keep residential rentals fit to live in, through a statute, an “implied warranty of habitability” recognized by the courts, or both. New York’s law says the landlord warrants that the unit is “fit for human habitation,” and any lease clause waiving that right is void. Working heat, plumbing and wiring, along with keeping out pests and serious leaks, are the usual examples.
What a tenant can do when the landlord won’t fix something varies a lot, and the procedural steps matter. In California, a tenant who gives notice and waits a reasonable time (30 days is presumed reasonable) can pay for the repair and deduct it from rent, but only if it costs no more than one month’s rent, and no more than twice in 12 months. Texas sets tighter conditions. The problem has to materially affect an ordinary tenant’s health or safety, the tenant has to be current on rent, and there’s a notice process (often two notices, unless the first went by certified mail). A Texas repair-and-deduct is capped at one month’s rent or $500, whichever is greater. The Texas State Law Library warns that withholding rent or deducting repairs without following the statute exactly can get a tenant sued.
In most places, simply stopping rent payments over a repair problem is the riskiest option. It hands the landlord a nonpayment case. Calling the city or county code enforcement office, which can inspect and order repairs, is often a safer first step. If a bad condition actually injures someone, that becomes a separate injury claim; our personal injury guide explains how those work.
Landlords renting housing built before 1978 have a federal duty before the lease is signed: disclose any known lead-based paint or lead hazards, hand over available reports, give the tenant the EPA pamphlet Protect Your Family From Lead in Your Home, and include a lead warning statement in or attached to the lease.
Retaliation by a landlord
Many states bar landlords from punishing tenants for asserting their rights. In California, a landlord can’t evict, raise the rent or cut services within 180 days after a tenant makes a good-faith complaint about habitability, files a complaint with a government agency, or is involved in a court or arbitration case over habitability. This protection applies to tenants who aren’t behind on rent. A landlord who retaliates with fraud, oppression or malice can owe punitive damages of $100 to $2,000 for each retaliatory act, on top of actual damages.
New York’s window is longer. If a landlord serves a notice to quit, starts an eviction, or tries to substantially change the tenancy within one year after a tenant’s good-faith complaint or participation in a tenant organization, the law presumes retaliation. The landlord then has to prove a legitimate reason.
For landlords, the practical point is documentation. A rent increase or non-renewal that follows a tenant’s complaint will be examined closely, so keep a clear record of the business reasons behind it.
How eviction works
Eviction is a court process with two stages: a written notice, then a lawsuit. The notice tells the tenant to pay, fix a lease violation, or leave by a deadline. If the tenant doesn’t, the landlord files suit, and only a court judgment followed by an order carried out by a sheriff, marshal or constable can actually remove someone.
Landlords can’t skip the court process. California’s court self-help site is blunt about it: a landlord cannot lock a tenant out, shut off utilities or throw out belongings, and one who does may have to pay the tenant a penalty. Check your own state’s rules, but assume a lockout without a court order is off-limits.
The notice periods and court timelines are where states differ most.
California. Notice periods range from 3 days to 60 or 90 days depending on the reason and the tenancy. For cases filed since January 1, 2025, a tenant served with an eviction lawsuit has 10 business days to file a response, up from 5. Missing that deadline can mean losing by default.
New York. Since the 2019 Housing Stability and Tenant Protection Act, a landlord must give a written rent demand with at least 14 days’ notice before filing a nonpayment case (it used to be 3). Late fees can’t be charged until rent is more than five days late and are capped at $50 or 5% of the monthly rent, whichever is less. Court papers have to be served 10 to 17 days before the hearing, and after a warrant of eviction is served, the tenant has 14 days before it can be carried out.
Texas. A landlord generally must give at least three days’ written notice to vacate before filing, unless the lease sets a different period. Texas overhauled its eviction procedure with Senate Bill 38, which applies to cases filed on or after January 1, 2026. Under it, trial is set 10 to 21 days after filing, landlords can ask for summary disposition when the facts aren’t genuinely disputed, and a tenant who appeals and wants to stay in the unit has to deposit rent into the court registry within five days.
One federal rule can override short state notices. Under the CARES Act, landlords of “covered” properties, meaning those in certain federal housing programs or with a federally backed mortgage, can’t require a tenant to vacate until 30 days after a notice to vacate. How far that reaches is still argued in court; a 2025 New York decision held it applies to nonpayment cases but not to holdovers. A tenant who gets eviction papers should contact local legal aid or a tenant lawyer right away; the deadlines are short and many defenses are lost if they’re not raised in time.
Fair housing and discrimination
The federal Fair Housing Act prohibits housing discrimination based on race, color, national origin, religion, sex, familial status and disability. That covers refusing to rent, quoting different terms, steering applicants to certain units, and discriminatory ads.
There are narrow exemptions. The federal act doesn’t apply to rooms or units in a building of four or fewer units where the owner lives in one of them, or to a single-family house rented by an owner who owns no more than three, as long as no broker is used. Even then, discriminatory advertising is still illegal, and many state and local fair housing laws cover more landlords and more characteristics than the federal law does.
A tenant or applicant can file a complaint with HUD’s Office of Fair Housing and Equal Opportunity within one year of the last discriminatory act, or file a lawsuit in court within two years.
Small claims court for deposits and damages
Most deposit disputes, and many claims for unpaid rent or damage to a unit, are small enough for small claims court, where the filing fee is modest and the process is built for people without lawyers. In California, an individual can file two small claims cases a year for up to $12,500 each (other cases that year are capped at $2,500), and the parties represent themselves without lawyers. Texas justice courts hear cases up to $20,000, and the Texas State Law Library points tenants with deposit claims there. Before filing, send a short written demand that cites the deposit statute and gives a deadline. Landlords facing the prospect of double or triple damages often pay at that stage.
An eviction itself isn’t a small claims matter. It goes through a separate housing, justice or civil court process with its own rules.
When to get a lawyer
Tenants facing eviction should get legal help as soon as papers arrive. Local legal aid organizations and court self-help centers are the first places to call if you can’t afford a lawyer. A lawyer is also worth consulting for discrimination claims, retaliation, serious habitability problems, or rent-controlled units, where local rules add another layer.
Landlords benefit from a lawyer most when they’re new to a state or city, when the tenant has a lawyer, when the unit is rent-regulated or federally subsidized, or when an eviction is contested. A case filed on a defective notice, or before the notice period has fully run, can be dismissed, which means starting over. For broader property questions, such as buying a rental or forming an LLC to hold one, see our real estate law page.
Sources
- Brownstein Hyatt Farber Schreck: California security deposit limits effective July 1, 2024 (AB 12, Cal. Civ. Code § 1950.5)
- California Courts Self-Help: Guide to security deposits in California
- City and County of San Francisco: Security deposit photograph requirements (AB 2801)
- N.Y. General Obligations Law § 7-108
- Texas State Law Library: Security deposit refunds
- Tex. Prop. Code § 92.109
- N.Y. Real Property Law § 235-b
- Cal. Civ. Code § 1942
- Texas State Law Library: Landlord’s duty to repair
- Tex. Prop. Code § 92.0561
- EPA: Lead-Based Paint Disclosure Rule
- Cal. Civ. Code § 1942.5
- N.Y. Real Property Law § 223-b
- California Courts Self-Help: Eviction cases in California
- Superior Court of California, Santa Clara County: Evictions (Unlawful Detainers)
- LAist: New California law gives tenants more time to respond (AB 2347)
- Barclay Damon: New York State’s new eviction laws (HSTPA 2019)
- Texas Legislature: SB 38 (2025), enrolled text
- Texas Legislature: SB 38 bill analysis
- ABA Litigation Section: Texas reshapes eviction procedures
- 15 U.S.C. § 9058 (CARES Act notice to vacate)
- Westminster Apts. LLC v Deetjen (N.Y. 2025)
- HUD: Fair housing rights and obligations
- HUD: The FHEO complaint and investigation process (archived)
- 42 U.S.C. § 3603 (exemptions)
- National Center for State Courts: Private fair housing enforcement
- Tarrant County Justice of the Peace, Precinct 7: Notice to vacate delivery and calculation (2026)
- Los Angeles County DCBA: How to sue in small claims court