Your core tenant rights under state and local law

Tenant rights vary by state and sometimes by city, but most places protect you in the same core areas: the right to a habitable home, the right to privacy, the right to organize or complain without retaliation, and the right to proper notice before eviction. Your state's housing code sets the minimum standard for what "habitable" means — usually heat, hot water, working plumbing, and a roof that does not leak. If your landlord does not fix these things after you ask, you may be able to withhold rent, break the lease, or repair it yourself and deduct the cost, depending on your state.

Your landlord cannot enter your apartment without notice except in genuine emergencies like fire or gas leak. Most states require 24 to 48 hours' notice and a legitimate reason — showing the unit to a new tenant, making repairs, or inspecting for code violations. Your landlord also cannot retaliate against you for reporting housing violations to the city, joining a tenant organization, or requesting repairs in writing. Retaliation includes raising rent, threatening eviction, or reducing services within a set period (usually 6 to 12 months) after you complain.

Eviction itself has a legal process. Your landlord cannot straightforward lock you out or throw your belongings on the street. They must file in court, give you written notice (the length depends on your state and the reason), and win a judgment before a sheriff can remove you. The notice period for non-payment is often 3 to 5 days; for lease violations it may be 10 to 30 days; for no-cause eviction it is often 30 to 60 days or longer.

Key Takeaways

  • Your landlord must keep the rental habitable — heat, hot water, working plumbing, and a sound roof are usually required by law, and you can withhold rent or repair-and-deduct if they do not fix these things.
  • Your landlord cannot enter without 24 to 48 hours' notice and a legitimate reason, and cannot retaliate against you for complaining to the city or organizing with other tenants.
  • Eviction requires a court process and written notice; your landlord cannot lock you out or remove your belongings without a judgment from a judge.
  • Tenant rights are set by state law, so the specific notice periods, repair timelines, and remedies available to you depend on where you live.
  • Putting complaints and requests in writing protects you by creating a record and often triggers legal timelines your landlord must follow.

What counts as a habitable rental and what you can do if it is not

A habitable rental must have functioning heat (usually to a minimum temperature in winter), hot water, working toilets and sinks, a roof that does not leak, and safe electrical wiring. Many states also require windows, natural light, and freedom from pests or mold. If your landlord fails to provide these things, your options depend on your state, but most allow you to withhold rent into an escrow account, repair it yourself and deduct the cost from rent, or break the lease without penalty.

Before you use any of these remedies, document the problem in writing. Take photos, send an email or letter to your landlord describing the issue and asking for repair by a specific date (usually 14 to 30 days), and keep a copy. If your landlord does not respond, contact your city or county housing inspector — they can issue a violation notice, which strengthens your legal position. Some states require you to give your landlord a chance to fix the problem before you can withhold rent or break the lease, so the written request is essential.

Repair-and-deduct works like this: you get a licensed contractor to fix the problem, pay them out of pocket, and deduct that amount from your next rent payment. You must usually provide your landlord with the receipt and an invoice. The deduction is capped — often at one month's rent or a percentage of it — and you cannot use it for cosmetic damage or problems you caused yourself.

Your right to privacy and limits on landlord entry

Your landlord does not have a right to drop by whenever they want. Most states require written notice of 24 to 48 hours before entry, and the reason must be legitimate: showing the unit to a prospective tenant, making repairs, inspecting for code violations, or responding to an emergency. Some states allow shorter notice (or no notice) only for genuine emergencies like fire, gas leak, or a burst pipe.

Entry for "showing" the unit is allowed only if you are moving out or the lease is ending. Your landlord cannot enter repeatedly to show the apartment to future tenants if you are still living there and your lease is not up. If your landlord enters without proper notice or without a legal reason, you may be able to break the lease, withhold rent, or sue for damages depending on your state.

Keep a record of any entry you did not authorize. Note the date, time, and what you noticed was different (moved items, opened drawers). If this happens repeatedly, send your landlord a written message saying you do not consent to entry without proper notice, and keep a copy. This creates a paper trail if you need to take legal action later.

Protection against retaliation for complaints and organizing

Your landlord cannot punish you for exercising your legal rights. The most common protected actions are reporting housing code violations to the city, requesting repairs in writing, joining or forming a tenant union, or testifying in a housing court case. If your landlord raises rent, threatens eviction, reduces services, or harasses you within 6 to 12 months after you do any of these things, it is presumed to be retaliation — your landlord must prove it is not.

Retaliation can be subtle. It includes raising your rent beyond what the market allows, refusing to renew your lease, decreasing services (like turning off heat or removing amenities), increasing fees, or threatening to call immigration authorities or report you to other agencies. Some states also protect you if your landlord retaliates for complaining about safety, pest control, or maintenance issues that are not code violations but are part of your lease agreement.

If you believe you are being retaliated against, document everything: the date you made the complaint, how you made it (email, certified letter, phone call with a witness), and the date the landlord's action occurred. Report the retaliation to your local housing authority or tenant rights organization. Many states allow you to sue for damages or break the lease without penalty if retaliation is proven.

Notice requirements before eviction and your right to a court hearing

Your landlord cannot evict you without going to court. The process starts with written notice — the length depends on the reason. For non-payment of rent, most states require 3 to 5 days' notice to pay or quit. For lease violations (like unauthorized occupants or pet violations), it is often 10 to 30 days to cure or quit. For no-cause eviction (ending the tenancy without a specific reason), it is usually 30 to 60 days or longer, depending on how long you have lived there.

After the notice period expires, your landlord files a case in housing court. You will receive a summons and complaint — read it carefully and show up on the court date. You have the right to present your side, bring evidence, and cross-examine your landlord. If the judge rules in your landlord's favor, you get a final judgment and usually 5 to 10 days to move out before a sheriff can remove you. If you do not leave, the sheriff will physically evict you and your belongings may be placed in storage.

If you cannot afford a lawyer, ask the court about legal aid. Many areas have free or low-cost tenant rights clinics. Showing up to court and presenting a defense — even if you owe rent — can delay eviction and give you time to find money or a new place. Some judges will work out a payment plan if you can show you are trying to catch up.

Security deposits and what landlords can and cannot deduct

Your landlord can collect a security deposit, but it is your money held in trust — not theirs to spend. Most states cap the deposit at one or two months' rent and require your landlord to keep it in a separate account, not mixed with their own funds. When you move out, your landlord has a set time (usually 30 to 45 days) to return the deposit or provide an itemized list of deductions.

Your landlord can deduct for unpaid rent, damage beyond normal wear and tear, and cleaning if the unit is left filthy. They cannot deduct for normal wear — worn carpet, faded paint, small nail holes, or scuffed floors. If your landlord makes deductions, they must provide receipts or invoices showing what was repaired or cleaned and how much it cost. If they do not return your deposit or provide an itemized accounting, you can sue in small claims court, and many states allow you to recover double or triple the wrongful deduction as a penalty.

Before you move out, take photos of the unit in good condition and document any existing damage. When you leave, do a final walk-through with your landlord if possible, or send them photos and a written description of the condition. This protects you if they later claim you caused damage you did not.

Limits on rent increases and lease renewal

Rent control and just-cause eviction laws vary widely by state and city. Some places cap how much rent can increase each year (often 3 to 5 percent or tied to inflation). Others require landlords to have a legal reason to evict or refuse to renew — non-payment, lease violation, or owner move-in are common reasons; "I want higher rent" is not. A few states and cities have no rent control at all, meaning landlords can raise rent to any amount when the lease renews.

Check your state and local housing authority website to learn what rules explore where you live. If your area has rent control, your landlord must follow it or the increase is void. If your area requires just cause, your landlord cannot refuse to renew straightforward because they want to charge more; they must have a specific legal reason. If they claim a reason but you believe it is pretextual (really about retaliation or discrimination), you can challenge it in court.

When your lease is up for renewal, your landlord must give you notice — usually 30 to 90 days depending on your state — if they do not intend to renew or if they are raising rent above the legal limit. If they do not give proper notice, the lease may automatically renew on the same terms.

Protection against discrimination in housing

Federal law prohibits landlords from discriminating based on race, color, national origin, religion, sex, disability, or family status. Many states and cities add protections for sexual orientation, gender identity, marital status, source of income (like Section 8 vouchers), or criminal history. If your landlord refuses to rent to you, charges you more, or treats you differently because of a protected characteristic, that is illegal.

Discrimination can be direct ("I do not rent to families") or indirect (enforcing a rule only against certain tenants, or setting different standards for different groups). If you believe you have been discriminated against, file a complaint with your state's civil rights agency or the U.S. Department of Housing and Urban Development (HUD) within one year. You can also sue in court. Keep records of any communications with your landlord, notes on what they said, and evidence of how they treated other tenants differently.

Frequently Asked Questions

Can my landlord raise my rent in the middle of my lease?

No, not unless your lease allows it. Once you sign a lease, the rent is locked in for the term of the lease. Your landlord can only raise rent when the lease renews. If your area has rent control, the increase may be capped even at renewal. Check your lease and your local housing authority to see what rules explore.

What should I do if my landlord enters without notice?

Document it: write down the date, time, and what you noticed was different. Send your landlord a written message (email or certified letter) stating you do not consent to entry without proper notice. If it happens again, contact your local tenant rights organization or housing authority. Repeated unauthorized entry may be grounds to break the lease or sue for damages.

Can I withhold rent if my landlord does not make repairs?

It depends on your state and the severity of the problem. If the issue affects habitability (no heat, broken plumbing, roof leak), most states allow you to withhold rent into an escrow account. You must usually give your landlord written notice first and a reasonable time to fix it. Some states require you to notify the housing inspector before withholding. Do not straightforward stop paying — follow your state's procedure or you could be evicted for non-payment.

What happens if my landlord locks me out or removes my belongings?

That is illegal — it is called a "self-help" eviction. Your landlord must use the court process. If they lock you out or remove your things without a judgment, contact the police and your local tenant rights organization when ready. You may be able to sue for damages, recover your belongings, and break the lease. Document everything and get a police report if possible.

How long does an eviction take?

It varies by state, but typically 30 to 90 days from the initial notice to the final removal. The notice period (3 to 60 days depending on the reason) comes first, then the court case (usually 2 to 4 weeks), then a waiting period before the sheriff removes you (5 to 10 days). If you contest the case in court, it can take longer. The exact timeline depends on your state's laws and how busy the court is.