Your rights when an apartment becomes unlivable
An uninhabitable apartment is one where serious defects make it unsafe or unfit to live in — broken heat in winter, no running water, mold, infestations, or structural damage that poses a health risk. You have legal rights in this situation, and they vary by state and local law. In most places, your landlord is required by law to maintain the unit in habitable condition, and you have options including repair demands, rent withholding, breaking the lease, or filing a complaint with your local housing authority.
The path forward depends on how serious the problem is, how long it has existed, and whether your landlord responds to requests for repair. This guide walks you through what counts as uninhabitable, how to document the problem, what steps to take in order, and what to expect from each one.
Key Takeaways
- Uninhabitable conditions include lack of heat, water, electricity, or serious pest or mold problems — not minor cosmetic damage or broken appliances the lease says you maintain.
- Document the problem with photos, dates, and written requests to your landlord before taking any other action, because you will need this record if a dispute arises.
- Most states allow you to withhold rent, repair-and-deduct (pay for repairs yourself and subtract from rent), or break the lease without penalty when conditions are uninhabitable.
- Your local housing authority or health department can inspect the unit and order repairs, which is often faster than waiting for a landlord to act on your own requests.
- Retaliation — a landlord punishing you for reporting problems or asserting your rights — is illegal in all states, and you can sue if it happens.
What legally counts as uninhabitable
Uninhabitable does not mean dirty, outdated, or cosmetically unpleasant. It means the unit fails to meet basic standards for human safety and health. Most states define this through their housing codes, which typically require working heat (to a minimum temperature in winter), running water, functioning toilets, electricity, a roof that does not leak, and freedom from infestations or mold that poses a health risk.
Examples that usually may have access to: no heat when outdoor temperature drops below freezing; no hot water or no water at all; broken toilet or sewage backup; active mold growth; rodent or cockroach infestation; holes in walls or floors that let in pests; broken windows that cannot close; or electrical hazards. Examples that usually do not may have access to: a broken dishwasher (if the lease says you maintain appliances); peeling paint (unless it contains lead and you have a child under six); a missing cabinet door; or a stove that works but is old.
Your state or city housing code is the legal standard. You can find it through your city or county website, or by calling your local housing authority or health department and asking what conditions they consider uninhabitable. This matters because if you later withhold rent or break the lease, you will need to show the condition met the legal definition.
Document the problem before you act
Before you demand repairs, withhold rent, or contact an authority, create a written record. Take photos or video of the problem from multiple angles and in different lighting — these are your strongest evidence. Include a date stamp if your phone or camera adds one automatically. If the problem is intermittent (heat that cuts out at night, water that runs brown), document each occurrence with the date and time.
Write a dated letter or email to your landlord describing the problem, when it started, and what you have observed. Keep a copy for yourself. Email is better than a phone call because it creates a time-stamped record. If your lease requires you to notify the landlord in a specific way (certified mail, for example), follow that method. If it does not specify, email or a dated letter both work.
In the letter, ask the landlord to repair the problem and give a reasonable important date — usually 7 to 14 days depending on how serious the issue is. Do not threaten to withhold rent or break the lease yet; just request repair. Keep this first request straightforward and factual. If the landlord does not respond or does not repair within the important date, then you move to the next step.
Send a formal repair demand if the landlord does not respond
If your initial request goes unanswered or the landlord refuses to repair, send a second, more formal letter. This letter should reference your first request, state that the problem remains, and cite your state or local housing code section that requires the landlord to maintain the unit in habitable condition. You can find the relevant code section by calling your local housing authority or searching "[your state] housing code" online.
In this letter, set a firm important date — usually 3 to 7 days for serious problems like no heat or water, longer for less urgent issues. State that if repairs are not made by that date, you will pursue other remedies allowed by law, such as withholding rent, repair-and-deduct, or filing a complaint with the housing authority. Again, send this by email or certified mail so you have proof of delivery and the date.
Keep copies of both letters and any responses from your landlord. If the landlord still does not repair after this second request, you have grounds to move forward with rent withholding, repair-and-deduct, or a complaint to the housing authority — whichever your state law allows and whichever fits your situation.
Report the problem to your local housing authority or health department
Your city or county housing authority (sometimes called the housing inspection department or code enforcement office) can inspect your unit and order the landlord to make repairs. This is often faster than waiting for the landlord to respond to you, and it creates an official record. The health department can also intervene if the problem is a health hazard like mold or pests.
To file a complaint, call your local housing authority or visit their website. You will describe the problem, provide your address and unit number, and usually answer questions about when it started and whether you have notified the landlord. Many jurisdictions allow you to file anonymously, though some ask for your name. Ask the inspector what to expect — some departments inspect within days, others take weeks.
Once an inspector visits and confirms the problem, the housing authority issues an order requiring the landlord to repair by a specific date. If the landlord does not comply, the authority can impose fines, place a lien on the property, or in some cases repair the unit and bill the landlord. This process does not directly pay you or get you out of the lease, but it forces the landlord to act and creates leverage if you later decide to withhold rent or break the lease.
Understand your options: rent withholding, repair-and-deduct, and lease break
Rent withholding means you stop paying rent until the landlord makes repairs. Most states allow this when conditions are uninhabitable, but the rules vary. Some states require you to place the withheld rent in an escrow account (held by a third party) rather than keeping it yourself. Others require you to notify the landlord in writing first or to have already requested repairs. A few states do not allow rent withholding at all. Check your state's law before you withhold — your local legal aid office or housing authority can tell you whether it is allowed and what steps you must follow.
Repair-and-deduct means you pay for repairs yourself and subtract the cost from your next rent payment. This is allowed in many states, but again with conditions. You typically must give the landlord written notice and a important date to repair first, the repair must be necessary to make the unit habitable (not cosmetic), and the cost must be reasonable. Some states cap the amount you can deduct (for example, one month's rent). Others require you to get a contractor's estimate first or to use a licensed contractor. Check your state law before you use this option.
Breaking the lease
What happens if your landlord retaliates
Retaliation means the landlord punishes you for asserting your rights — for example, raising your rent, threatening eviction, reducing services, or filing an eviction case after you report a problem or withhold rent. Retaliation is illegal in all 50 states. Most states presume retaliation if the landlord takes adverse action within 30 to 90 days of you making a complaint or asserting a habitability right, though the exact timeframe varies.
If your landlord retaliates, you can sue in small claims court or file a complaint with your local housing authority. You may be able to recover damages, break the lease without penalty, or get an injunction stopping the retaliation. Document everything — dates, what you reported, what the landlord did in response, and any communications. If you believe retaliation is happening, contact a local legal aid office or tenant rights organization when ready, because the window to prove retaliation is narrow.
When to seek legal help
If the problem is serious (no heat in winter, no water), the landlord refuses to repair after multiple requests, or you believe retaliation is occurring, contact a lawyer or legal aid office. Many areas have free or low-cost legal aid for tenants, and some tenant rights organizations offer free information. A lawyer can review your specific situation, tell you which remedies are available in your state, and represent you if you need to go to court.
You can find legal aid through the Legal Services Corporation website (lawhelp.org) or by searching "[your city] legal aid" or "[your state] tenant rights organization." Many offer phone consultations at no cost. If you are considering withholding rent or breaking the lease, it is worth a brief consultation to make sure you follow your state's rules — a mistake can leave you vulnerable to an eviction case.
Frequently Asked Questions
Can I break my lease when ready if the apartment becomes uninhabitable?
You can break the lease without penalty in most states, but you usually must give the landlord written notice of the problem and a important date to repair first — typically 7 to 14 days. If the landlord does not repair by that date, you can then move out. A few states require you to file a complaint with the housing authority first or to have the authority confirm the unit is uninhabitable before you can break the lease.
What if I withhold rent and the landlord files for eviction?
In most states, the landlord cannot evict you for non-payment if the unit is uninhabitable and you have followed the legal steps (notifying the landlord, giving a important date to repair, and in some states placing rent in escrow). The court will dismiss the eviction case if you can show the condition was uninhabitable and you acted within the law. Bring your photos, letters, and any housing authority inspection report to court.
Do I have to pay rent while the unit is uninhabitable?
That depends on your state law and which remedy you choose. If you withhold rent, you stop paying until repairs are made. If you use repair-and-deduct, you pay for repairs and subtract the cost from rent. If you break the lease, you owe no further rent once you move out. In all cases, you must follow your state's legal process — do not straightforward stop paying without documenting the problem and notifying the landlord first.
What if the landlord says the problem is my fault?
The landlord is responsible for maintaining the unit in habitable condition regardless of cause, with narrow exceptions (for example, if you deliberately caused damage). If the landlord claims you caused the problem, document your own actions and any evidence that the problem existed before you moved in or was caused by normal wear and tear. If a housing authority inspector visits, they can determine whether the problem is a maintenance issue or tenant-caused damage.
Can I stay in the apartment and withhold rent, or do I have to move out?
You can stay and withhold rent in most states — that is the point of the remedy. You continue living there while the landlord is required to make repairs. However, if you break the lease, you must move out; you cannot stay and claim you broke the lease. Choose the remedy that fits your situation: withhold rent if you want to stay and force repairs, or break the lease if you want to leave.