NYC Housing Maintenance Code: The Repairs Your Landlord Must Make (2026)

✓ Law Verified September 28, 2026

NYC Housing Maintenance Code is the city law that makes your landlord keep your apartment safe, heated, and in good repair, so a letter citing it is usually about repairs or an HPD violation. Under the nyc housing maintenance code, a Class C “immediately hazardous” violation generally must be fixed within 24 hours.

The short answer: The nyc housing maintenance code is found in NYC Administrative Code Title 27, Chapter 2. It requires owners of residential buildings to keep them in good repair. That includes heat, hot water, and fixing hazards like peeling lead paint. The city’s housing agency, HPD, enforces it. If your landlord ignores a problem, you can call 311 to ask for an inspection. You can also start a repair case in Housing Court, called an HP action, and you do not need a lawyer to start one.

What NYC Housing Maintenance Code Actually Says

The nyc housing maintenance code is the city’s basic rulebook for apartment conditions. It sits in NYC Administrative Code Title 27, Chapter 2. In plain terms, it says the owner must keep the building and each apartment in good repair. For example, the owner must provide heat in winter and hot water all year.

Advertisement

When an HPD inspector finds a problem, the inspector writes a violation. Each violation gets a hazard class. Class A is non-hazardous. Class B is hazardous. Class C is immediately hazardous. As a result, the class decides how fast your landlord must fix it under the nyc housing maintenance code.

Provision Exact rule Section
Heat season October 1 through May 31 Title 27, Ch. 2 (confirm exact section with HPD)
Daytime heat At least 68°F inside when it is below 55°F outside Title 27, Ch. 2 (confirm exact section with HPD)
Overnight heat At least 62°F inside, no matter the outdoor temperature Title 27, Ch. 2 (confirm exact section with HPD)
Hot water 120°F, year-round Title 27, Ch. 2 (confirm exact section with HPD)
Class A violation 90 days from the date the violation was mailed Title 27, Ch. 2 (confirm exact section with HPD)
Class B violation 30 days from the date of mailing Title 27, Ch. 2 (confirm exact section with HPD)
Class C violation Generally 24 hours from service of the notice Title 27, Ch. 2 (confirm exact section with HPD)
Lead paint and window guard (Class C) 21 days to correct Title 27, Ch. 2 (confirm exact section with HPD)
Heat and hot water violations Must be corrected immediately Title 27, Ch. 2 (confirm exact section with HPD)

You can find HPD’s own guides and the rules it enforces on the NYC Department of Housing Preservation and Development (HPD) website.

Who NYC Housing Maintenance Code Covers (and Who It Does Not)

In most cases, the nyc housing maintenance code covers residential rental buildings across all five boroughs. HPD states that all residential building owners must meet the heat rules. That means rent-stabilized, market-rate, and many other renters are protected. Your lease cannot take these basic rights away.

However, some housing has its own systems. For example, public housing run by NYCHA handles heat and repair requests through its own resident channels. Coverage questions for unusual setups, like some owner-occupied homes, should be confirmed with HPD. If you are unsure whether the nyc housing maintenance code applies to your home, call 311 and ask.

Other laws can add protection on top of this code. For example, state law and rent-stabilization rules may give you extra rights. A local legal-aid office can tell you which ones fit your situation.

What Your Landlord Must Do Under This Law

Under the nyc housing maintenance code, your landlord must keep the heat and hot water running at the required levels. The owner must also fix hazards the inspector cites. Typically, that includes things like leaks, broken fixtures, pests, peeling lead paint, and missing window guards. The owner must fix each violation by the deadline for its class.

Correction deadlines after HPD cites a violation: Class C (immediately hazardous) generally 24 hours from service. Heat and hot water: immediately. Lead paint and window guards: 21 days. Class B (hazardous): 30 days from mailing. Class A (non-hazardous): 90 days from mailing.

Fixing the problem is not the last step. The owner must also clear the violation with HPD. Until then, it stays open on the building’s record. As a result, an open violation under the nyc housing maintenance code can help you later in Housing Court.

What You Can Do When NYC Housing Maintenance Code Rules Are Broken

First, tell your landlord about the problem in writing and keep a copy. Next, file a complaint with HPD. You can call 311, use TTY 212-504-4115, or go to 311 online. These options are open 24 hours a day, seven days a week. You will get a service request number to track your complaint.

If the violation stays open, you can bring an HP action in Housing Court. You start it at the Housing Court Clerk’s Office. You do not need a lawyer to start the case. A judge can order the landlord to fix the violations by a set date. If the landlord still does not comply, you may go back to court to seek civil penalties or contempt. Exact penalty amounts under the nyc housing maintenance code must be confirmed with HPD or the court.

Take photos and write down dates. For example, log indoor temperatures on cold days. This record helps an inspector or a judge see the problem. Many tenants can use the nyc housing maintenance code this way without a lawyer. However, if you also face an eviction case, contact a local legal-aid office or tenant attorney right away.

📨 Get Free Tenant Rights Guides Alerts

Free · No spam · Unsubscribe anytime

Frequently Asked Questions

I got a letter citing the NYC Housing Maintenance Code. What does it mean?

It usually means someone is talking about the condition of the building or an HPD violation. The nyc housing maintenance code sets the repair rules your landlord must follow. Read the letter for a violation class or a date, and call 311 or legal aid if anything is unclear.

My heat is off in January. How fast must it be fixed?

Heat and hot water violations must be corrected immediately, according to HPD. During heat season, your home must be at least 68°F in the day when it is below 55°F outside. It must be at least 62°F overnight.

Can I withhold rent because of bad repairs?

This is risky and can lead to an eviction case if handled wrong. A safer path under the nyc housing maintenance code is a 311 complaint and, if needed, an HP action. Talk to a legal-aid office or tenant attorney before you hold back any rent.

Bottom line: The nyc housing maintenance code gives you a right to a safe, heated apartment with working hot water. Document the problem, call 311, and consider an HP action if repairs do not happen. If an eviction is also in play, get help from legal aid right away.

Protect your stuff while you sort this out

A landlord’s insurance does not cover your belongings — renters insurance does, often for a few dollars a month. Compare options before your next move.

Compare Renters Insurance →

Find Your State’s Exact Rules

Notice periods, deposit caps, and the eviction timeline all change from state to state. Pick your state to see the exact days, dollar limits, and steps that apply where you live.

See Tenant Rights in All 50 States →

Sources & How to Verify

The rules on this page are drawn from official government and legal-aid sources. Tenant law changes, so always confirm the exact rule with your state’s statute or a local legal-aid office.

  • HUD: hud.gov — federal renter protections and fair housing
  • Legal Services Corporation: lsc.gov — find free legal aid in your state
  • Cornell Legal Information Institute: law.cornell.edu/wex — plain-English legal definitions
  • Your state statute & court self-help portal: search “[your state] landlord tenant act” and “[your state] court self-help eviction” for the exact law and forms

Content last reviewed September 2026. If you notice outdated information, please contact us.

New York Renter Guides

Related Guides

Renting? Protect your belongings — compare renters insurance at Home Insure Guide. Divorce involving a lease? See Divorce Help Guide. Unsafe housing / toxic mold injury? Some cases qualify — see Mass Tort Info.