State Sanitary Code105 CMR 410HabitabilityTenant RightsMassachusettsRepairs

Is Your Apartment Legal? The Massachusetts State Sanitary Code, Explained

105 CMR 410 sets the minimum a Massachusetts landlord must provide. Here's what counts as a violation, what's owner-responsibility vs. tenant-responsibility, and how to get it enforced.

July 21, 2026
8 min read
Boston Property NavigatorEditorial Team

Every Massachusetts rental has to meet 105 CMR 410, the State Sanitary Code — working heat, hot water, no pests, sound structure, and more. Here's a practical, plain-English walkthrough of what's actually required and how to get violations fixed.

🏚️

BLUF: What the Sanitary Code Actually Requires

Massachusetts law (105 CMR 410) sets a legal floor for every rental unit: working heat and hot water, safe electrical and structural conditions, no pest infestations, and functioning smoke/CO alarms — and it's the landlord's job to maintain all of it, with narrow exceptions. If your unit falls below this floor, you have real options: request a free inspection, withhold rent, or repair-and-deduct (next in this series). This guide is the reference for what actually counts as a violation.

🌡️Heat and Hot Water — the Most-Enforced Rules

  • Heat: during the heating season, habitable rooms must be kept at a minimum temperature (68°F daytime / 64°F at night are the commonly cited benchmarks under 410.201). The landlord is responsible for the heating system unless the tenant has agreed in writing to supply their own heat, and even then the system itself must be able to meet the standard.
  • Hot water: must be available year-round, capable of reaching a minimum temperature at the tap (410.190).
  • Who pays: unless your lease clearly shifts responsibility to you in writing, the landlord pays for the heat and hot water infrastructure and, in most owner-occupied and utility-included situations, the fuel itself.

🧰Structural, Electrical, and Safety Requirements

AreaRequirementCode section

Kitchen & bathroom

Working sink, cooking equipment, refrigeration; toilet, tub/shower, sink

410.100, 410.110

Water & drainage

Adequate potable water and sanitary drainage

410.130

Electricity

Adequate service and illumination in habitable rooms, halls, common areas

410.300

Smoke & CO alarms

Properly installed, maintained detectors as required by law

410.330

Structure

Sound foundations, walls, roofs; weathertight windows/doors

410.500, 410.530

Pests

Owner must eliminate infestations (with exceptions for tenant-caused, single-unit situations)

410.550

Lead paint

Compliance required for pre-1978 units where a child under 6 resides

410.470 / M.G.L. c. 111 §197

⚖️Whose Job Is It — Owner or Occupant?

The Code splits responsibility: owners must provide and maintain everything required to meet the minimum standards — the systems, structure, and equipment. Occupants must keep the unit sanitary and give the owner reasonable access (at least 48 hours' notice, except emergencies) to make repairs or inspect for compliance. An owner can't remove optional equipment they installed except between tenancies, and neither side can shut off a required utility except for genuine, notified repair work or a board-of-health-approved emergency curtailment.

🔨How Violations Get Fixed

  • Step 1 — Written notice to the landlord. Describe the problem, date it, and keep a copy. This creates the paper trail every remedy below depends on.
  • Step 2 — Request an inspection. Your local board of health must inspect on request (410.600) and can issue a correction order with a compliance deadline (410.640).
  • Step 3 — If it's not fixed: you may have grounds to withhold rent (a defense under M.G.L. c. 239 §8A) or repair the issue yourself and deduct the cost (M.G.L. c. 111 §127L, up to 4 months' rent) — see our dedicated Repair and Deduct guide.
  • Step 4 — Severe cases: a board of health can condemn a unit as unfit for habitation (410.650), and courts can appoint a receiver to force repairs in extreme, ongoing cases.

Get every Tenant Rights guide

New Massachusetts tenant guides publish twice a week — subscribe to get each one in your inbox.

🔎

Full reference

For the complete section-by-section text of 105 CMR 410, see our Renters' Rights reference page — it covers every numbered subsection with the official PDF and regulation links. This guide is the practical, action-oriented companion to that reference.
⚠️

Not legal advice

This is general information about how the State Sanitary Code works, not legal advice, and not a guarantee of any outcome. For advice about your specific situation, consult a licensed Massachusetts attorney or your local board of health.

Sources

  1. 105 CMR 410.000 — State Sanitary Code (official PDF)
  2. Mass.gov — 105 CMR 410 official regulation page
  3. MassLegalHelp — Getting Repairs Made

Landlord not responding?

Request a free health inspection — your board of health must inspect on request and can order repairs.

Read the Request an Inspection guide
Newsletter

Get the next guide in this series

A new Massachusetts Tenant Rights guide publishes every Tuesday and Friday.

Weekly updates • No spam • Unsubscribe anytime

Need Custom Analysis?

Want deeper insights for a specific property or neighborhood? Get a custom research report tailored to your needs—from individual property analysis to comprehensive market overviews.

Request Custom Analysis
Newsletter

Get every Tenant Rights guide

New Massachusetts tenant guides publish twice a week — subscribe to get each one in your inbox.

Weekly updates • No spam • Unsubscribe anytime

Related Posts

Repair and DeductRent Withholding

Repair and Deduct: How to Legally Withhold Rent for Repairs in Massachusetts

If your landlord won't fix a certified code violation, Massachusetts law lets you pay for the repair yourself and deduct the cost from rent — but only if you follow the process exactly.

Under M.G.L. c. 111 §127L, Massachusetts tenants can repair certified sanitary code violations themselves and deduct up to four months' rent for the cost — or withhold rent entirely as an eviction defense. Here's the exact process and where it can go wrong.

July 24, 2026
8 min
Moving OutSecurity Deposit

Moving Out in Massachusetts: Notice, Move-Out Inspections, and Getting Your Deposit Back

The last chapter of this series ties it all together: how much notice you actually owe, what a fair move-out inspection looks like, and the exact deadline your landlord has to return your money.

Ending a Massachusetts tenancy the right way protects your deposit and your reference. Here's the notice you owe (based on your tenancy type), what to document at move-out, and the 30-day deposit return deadline landlords must meet.

August 21, 2026
8 min
SublettingAssignment

Subletting and Adding Roommates in Massachusetts: What the Law Actually Says

Massachusetts has no general statutory right to sublet — it all comes down to what your specific lease says. Here's the difference between a sublease and an assignment, and when a landlord can say no.

Unlike some states, Massachusetts has no statute giving tenants a right to sublet. Whether your landlord can refuse depends entirely on your lease's language — and the difference between a sublease and an assignment matters more than most tenants realize.

August 18, 2026
7 min