How It Works States Document Types Tools Guides Blog About Create Document - $7.99
Lease Guides

What a landlord cannot do: rules that apply almost everywhere

Paul Oak
Paul Oak · Editor · October 29, 2026 at 12:03 PM ET
What a landlord cannot do: rules that apply almost everywhere
See more of our articles in your search results.

A landlord cannot refuse to rent because of a protected trait, force a tenant out with a lockout or utility shutoff, punish a tenant for complaining, walk in without required notice, or keep a deposit without explaining the deductions. These prohibited landlord practices show up, with local variations, in federal law and in nearly every state's landlord-tenant code.

Discrimination is the one rule that is uniform nationwide. The federal Fair Housing Act bars housing discrimination based on race or color, religion, sex, national origin, familial status, or disability. The U.S. Department of Justice lists refusing to rent to families with children, and giving false information about availability because of race, among the practices the Act prohibits. A renter can file a complaint with the U.S. Department of Housing and Urban Development within one year of the last discriminatory act, or file a private lawsuit within two years. Many states and cities protect additional groups. Landlords who want to stay on the right side of these rules can start with our guide to legally screening a tenant.

Self-help eviction is the next big one. A landlord who wants a tenant out has to go through the courts, and the shortcuts are banned almost everywhere. California Civil Code section 789.3 forbids willfully cutting off utilities, changing locks, removing doors or windows, or removing a tenant's belongings with intent to end the tenancy. Florida Statutes section 83.67 bars the same tactics and adds a ban on bootlocks. Texas Property Code sections 92.008 and 92.0081 prohibit utility interruptions and lockouts, with one unusual exception: a Texas landlord may change the locks on a tenant who is behind on rent, but only if the lease allows it, advance written notice is given, and a new key is available at any hour whether or not the tenant pays. Our post on keys, locks, and lockouts covers that rule in more detail.

The penalties are steep enough that one lockout can cost more than a year of late rent. The table below lists remedies written into statutes from California, Florida, Texas, and Massachusetts.

Prohibited actExample statuteRemedy in the statute
Cutting off utilities or changing locks to force a tenant outCalifornia Civil Code 789.3Actual damages plus up to $100 per day of violation, at least $250 per cause of action, and attorney's fees to the prevailing party
Interrupting utilities, changing locks, or removing belongingsFlorida Statutes 83.67Actual and consequential damages or 3 months' rent, whichever is greater, plus costs and attorney's fees
Lockout outside the narrow exceptionTexas Property Code 92.0081Recover possession or end the lease, plus one month's rent and $1,000, actual damages, court costs, and attorney's fees, minus rent owed
Retaliatory eviction or rent increaseFlorida Statutes 83.64Retaliation defense in the eviction case, unless the landlord proves good cause
Keeping a deposit without an itemized damage listMassachusetts General Laws chapter 186, section 15BLandlord forfeits the right to keep any part of the deposit
Keeping a deposit in bad faithTexas Property Code 92.109$100, three times the amount wrongfully withheld, and attorney's fees

Here is how the Texas math works. Sam rents an apartment for $1,200 a month and is $600 behind. The landlord changes the locks without the lease clause or the advance notice the statute requires, and Sam spends $300 on a motel for two nights. Under section 92.0081(h), Sam can recover a civil penalty of one month's rent plus $1,000, which is $2,200, plus the $300 in actual damages, for $2,500. Subtracting the $600 in unpaid rent leaves $1,900, before court costs and attorney's fees. Even a lawful lock change for unpaid rent carries a risk: a landlord who then refuses to provide a new key owes an extra civil penalty of one month's rent under section 92.0081(i), which would be another $1,200 here.

Retaliation, entry, and deposits

Retaliation rules protect tenants who complain to a code agency, join a tenant group, or exercise fair housing rights. Florida section 83.64 lists those examples and makes it unlawful to raise rent, cut services, or file for eviction primarily as payback, though the defense fails if the landlord proves good cause such as nonpayment. Our guide to landlord retaliation covers how other states handle it.

Entry without notice is limited in most states, though the notice period differs. California Civil Code section 1954 presumes 24 hours' written notice is reasonable, or six days if mailed, and generally limits entry to normal business hours. The notice must give the date, approximate time, and purpose. Florida section 83.53 requires at least 24 hours' notice to enter for repairs, between 7:30 a.m. and 8:00 p.m. Both states allow entry without notice in an emergency and bar using access to harass a tenant. Massachusetts goes further and voids any lease clause letting the landlord enter before the lease ends for reasons other than inspection, repairs, or showing the unit, with limited exceptions such as a court order or apparent abandonment. Our state-by-state entry guide lists the rest.

Finally, a landlord cannot quietly pocket a deposit. In Massachusetts, a landlord who deducts for damage must provide within 30 days an itemized list sworn under the pains and penalties of perjury, with estimates, bills, or receipts. Florida section 83.49 requires a landlord who plans to claim part of the deposit to send written notice within 30 days of the lease ending; missing that deadline forfeits the claim against the deposit, though the landlord may still sue for damages after returning it. Standard forms like a residential lease should spell out these deposit terms, but no lease clause can waive them.

Sources

Found this article useful?
Add Your Lease Agreement as a preferred source on Google to see our articles first.

Frequently Asked Questions

Can a Texas landlord change the locks when the rental office is closed?

No. A Texas landlord may not change the locks for unpaid rent on a day, or the day before a day, when the landlord or designated person is unavailable or the on-site office is closed to accept the delinquent rent.

Can a Florida landlord ban a tenant from flying the American flag?

No. Florida section 83.67 lets a tenant display one portable, removable cloth or plastic United States flag, no larger than 4 and 1/2 by 6 feet, in a respectful manner, regardless of lease rules on decorations.

Does a HUD complaint stop the clock on a fair housing lawsuit?

Yes. A private fair housing lawsuit must be filed within two years of the last discriminatory act, but HUD says the time it spends processing a complaint is not counted toward that two-year period.

Paul Oak
About the Author
Paul Oak
Editor

Along with his duties at YourBillofSale, Paul Oak covers residential real estate, landlord-tenant law, and rental documentation. With a background in property management and legal compliance, he breaks down the fine print that most renters and landlords skip over. His goal is simple: help people understand what they're signing before it becomes a problem.

View all posts →

Create Your Lease Agreement

Need a lease agreement? Create one now for $7.99 - state-specific and professionally formatted.

Get Started - $7.99

Related Articles