Document the violation in writing, then send your landlord a formal notice before taking further action
When your landlord violates housing law — whether by failing to make repairs, entering without notice, keeping your security deposit illegally, or discriminating against you — your first move is to create a record. Take photos or video of the problem (mold, broken locks, water damage), keep copies of all communications, and note dates and times of violations. Then send your landlord a written notice describing what is wrong and what the law requires them to do. Use certified mail or email so you have proof of delivery. This notice serves two purposes: it gives your landlord a chance to fix the problem, and it creates evidence that you tried to resolve it before escalating.
The specific law your landlord violated depends on where you live. State housing codes, local ordinances, and federal fair housing law all set different standards. A violation that is illegal in one state may be legal in another. Before you act, you need to know which law applies to your situation and what it actually requires. This guide explains the main routes for addressing violations and what to expect at each step.
Key Takeaways
- Document violations with photos, dates, and written records before contacting your landlord or any agency.
- Send your landlord a formal written notice by certified mail or email describing the violation and what the law requires, and keep a copy for your records.
- If your landlord does not respond within the timeframe set by your state law (usually 14 to 30 days), you can file a complaint with your local housing authority or health department.
- You have the right to withhold rent, repair-and-deduct, or break your lease in some states if your landlord fails to maintain habitable conditions, but the rules vary significantly by location and you must follow the exact procedure your state requires.
- Fair housing violations (discrimination based on race, religion, disability, family status, or other protected classes) can be reported to HUD or your state attorney general and may result in damages beyond the cost of repairs.
Understand which law your landlord violated and what it requires
Housing law comes from three sources: your state's residential tenancy act or landlord-tenant code, your city or county's local housing ordinances, and federal fair housing law. Each sets different rules about what landlords must do and what tenants can do in response.
State law covers the basics: whether landlords must maintain habitable conditions, how much notice they must give before entering, how they must handle security deposits, and what happens if they fail. Some states require landlords to make repairs within 14 days of notice; others give 30 days. Some allow tenants to withhold rent if repairs are not made; others do not. Some allow you to break your lease if the unit becomes uninhabitable; others require you to stay and pursue a lawsuit instead. You need to know your state's specific rules before you act, because doing the wrong thing can give your landlord grounds to evict you.
Local ordinances often set higher standards than state law. A city might require landlords to provide heat by a certain date, or to respond to repair requests within 48 hours, even if state law is silent. Check your city or county website for housing codes or call your local housing authority to learn what rules explore in your area.
Fair housing law is federal and applies everywhere. It prohibits landlords from discriminating based on race, color, religion, national origin, sex, disability, or family status. Some states and cities add more protected classes, such as sexual orientation, gender identity, or source of income. If your landlord violated fair housing law, you have different remedies than you do for a repair violation.
File a complaint with your local housing authority or health department
Most cities and counties have a housing authority, housing inspector, or code enforcement office that investigates landlord violations. This is usually the fastest and cheapest way to force a repair. You do not need a lawyer, and you do not pay a fee. The inspector will visit the property, document the violation, and order your landlord to fix it by a important date. If your landlord ignores the order, the city can fine them or, in serious cases, take legal action.
To file a complaint, contact your city or county housing authority directly — search online for "[your city] housing authority" or "[your county] code enforcement." Some areas use a 311 phone line for non-emergency complaints. You will need to describe the violation, provide your address, and usually give your landlord's name. The inspector will schedule a visit; you may or may not be present. After the inspection, you will receive a report. If the violation is confirmed, the landlord gets a important date to fix it, usually 14 to 30 days depending on how serious it is.
This route works well for repair violations (broken heat, mold, rodents, broken locks) and code violations (overcrowding, illegal unit configuration). It works less well for disputes about security deposits or lease terms, which are usually handled through small claims court or a housing court instead.
Withhold rent, repair-and-deduct, or break your lease if your state allows it
Some states give tenants the right to take action on their own if a landlord fails to maintain habitable conditions. The three main options are rent withholding (you stop paying rent until repairs are made), repair-and-deduct (you pay a contractor to fix the problem and deduct the cost from your next rent payment), and lease break (you move out and end your lease without penalty). However, these rights exist only in some states, and the rules for using them correctly are strict. If you do not follow the exact procedure your state requires, your landlord can evict you for non-payment.
Before you use any of these remedies, research your state's specific rules. Most states that allow rent withholding require you to: (1) give your landlord written notice of the repair needed; (2) wait a set number of days (often 14 to 30) for the landlord to fix it; (3) put the withheld rent in an escrow account or give it to the court, not spend it; and (4) be able to prove the violation is serious enough to make the unit uninhabitable. If you skip any step, your landlord can file for eviction and likely win.
Repair-and-deduct has similar requirements: written notice, a waiting period, and proof that you paid a licensed contractor. Some states cap how much you can deduct (often one month's rent or a percentage of it). Lease break usually requires that the violation be so severe the unit is genuinely unlivable, and you must follow your state's notice requirements.
Because these remedies are risky if done wrong, many tenants use them only after filing a complaint with the housing authority or consulting a legal aid attorney first.
Report fair housing violations to HUD or your state attorney general
If your landlord discriminated against you — refused to rent to you, charged you more, gave you worse terms, or harassed you because of your race, religion, disability, family status, sex, national origin, or another protected class — you can file a fair housing complaint. This is separate from a repair complaint and has different remedies.
Fair housing complaints go to the U.S. Department of Housing and Urban Development (HUD) or to your state's attorney general or human rights commission. You can file with HUD online at hud.gov or by calling 1-800-669-9777. You have one year from the date of the violation to file. HUD will investigate and may order your landlord to pay you damages, attorney fees, and court costs. In serious cases, HUD can refer the case to the Department of Justice for criminal prosecution.
Some states and cities also have their own fair housing agencies that handle these complaints. Filing with a state agency sometimes moves faster than filing with HUD. Search online for "[your state] fair housing" or "[your city] human rights commission" to find the right office.
Fair housing violations often involve patterns of behavior — a landlord who refuses to rent to families with children, who charges disabled tenants higher deposits, or who harasses tenants of a particular race. If you believe you are part of a pattern, mention that in your complaint. HUD takes pattern cases more seriously and may investigate the landlord's entire portfolio of properties.
Sue in housing court or small claims court for money damages
If your landlord's violation caused you financial loss — you paid for repairs yourself, you lost the use of a room because it was uninhabitable, you had to move suddenly and lost your deposit — you can sue for damages. The court you use depends on the amount and the type of claim.
Housing court (called civil court, district court, or landlord-tenant court in some states) handles disputes between landlords and tenants. It is faster and cheaper than regular civil court. You do not need a lawyer, though you can bring one. Bring your documentation: photos of the violation, copies of your written notices to the landlord, repair estimates, receipts for repairs you paid for, and any communications from the landlord. The judge will decide whether the landlord violated the law and, if so, how much you are owed.
Small claims court is an option if your damages are below a certain amount (usually $5,000 to $10,000, depending on your state). Small claims is simpler than housing court — no lawyers allowed in some states, no discovery process, faster hearings. The downside is the cap on damages and the fact that you cannot appeal if you lose.
To file, go to your local courthouse or housing court and ask for the forms. You will pay a filing fee (usually $50 to $200). Serve your landlord with a copy of the complaint. The court will set a hearing date, usually 30 to 60 days out. Bring all your documentation and be ready to explain what happened and why you are owed money.
Get help from a legal aid attorney or tenant rights organization
If the violation is serious, the amount of money involved is large, or you are facing eviction, consider getting legal help. Legal aid organizations provide free or low-cost representation to low-income tenants. Tenant rights organizations offer guidance, sometimes representation, and advocacy.
To find legal aid, search online for "[your state] legal aid" or call 211 (a national helpline that connects you to local services). Legal aid attorneys can review your lease, advise you on your rights, help you file complaints, and represent you in court. They can also tell you whether rent withholding or repair-and-deduct is safe in your situation.
Tenant unions and tenant rights nonprofits exist in most cities. They offer know-your-rights workshops, help with complaints, and sometimes direct representation. Search online for "[your city] tenant rights" or "[your city] tenant union" to find local groups.
If you are facing eviction because you withheld rent or because your landlord is retaliating against you for reporting a violation, legal help is especially important. Retaliation is illegal in most states, but proving it requires documentation and legal knowledge.
Understand retaliation protections and how they work
Most states prohibit landlords from retaliating against tenants who report violations, file complaints, or exercise their legal rights. Retaliation includes eviction, rent increases, reduced services, or harassment that happens within a certain time after you take action (usually 30 to 180 days, depending on the state).
If your landlord raises your rent, serves you an eviction notice, or cuts off services shortly after you file a complaint or send a repair notice, that is likely retaliation. To prove it, you need to show: (1) you engaged in a protected activity (filed a complaint, sent a repair notice, reported a violation); (2) your landlord knew about it; and (3) your landlord took an adverse action against you within the retaliation window. If you can show all three, the burden shifts to your landlord to prove they had a legitimate, non-retaliatory reason for their action.
Document everything. Keep copies of your complaint, your landlord's response, and any notices they serve you. If they raise your rent or threaten eviction, write down the date and what they said. This documentation is your proof if you end up in court.
Frequently Asked Questions
Can I stop paying rent if my landlord will not make repairs?
Only if your state law allows it, and only if you follow the exact procedure required. Most states that allow rent withholding require written notice, a waiting period (usually 14 to 30 days), and proof that the violation makes the unit uninhabitable. You must also put the withheld rent in escrow or give it to the court, not spend it. If you do not follow the procedure, your landlord can evict you for non-payment. Check your state's law or talk to a legal aid attorney before you withhold rent.
What if my landlord enters my apartment without notice?
Most states require landlords to give 24 to 48 hours' notice before entering, except in emergencies. If your landlord enters without proper notice, document it (note the date, time, and what you saw). Send a written notice telling them to stop. If it happens again, file a complaint with your housing authority or contact a legal aid attorney. Repeated illegal entry may support a claim that you can break your lease.
How long does it take to get a repair made after I file a complaint?
It depends on the severity and your local process. After you file a complaint, the housing authority usually inspects within 5 to 14 days. If a violation is found, the landlord gets a important date to fix it, usually 14 to 30 days. Serious violations (no heat, no water) may have shorter important date. If the landlord does not comply, the city can fine them or take further action, but that can take weeks or months.
What is the difference between filing a complaint and suing?
Filing a complaint with the housing authority is free and the city does the enforcement work for you. Suing costs money (filing fees, possibly a lawyer) but gives you direct control and the chance to recover money damages. You can do both: file a complaint to force repairs and sue for damages caused by the delay or the violation itself.
Can my landlord evict me for reporting a violation?
No. Retaliation is illegal in most states. If your landlord serves an eviction notice within 30 to 180 days after you file a complaint or report a violation, that is presumed to be retaliation unless your landlord can prove otherwise. If you are facing eviction after reporting, contact a legal aid attorney when ready.