Free Massachusetts Repair and Deduct Letter
Massachusetts repair-and-deduct is gated behind official certification, not behind your notice. Under G.L. c. 111 § 127L the board of health, a local code enforcement agency, the Boston, Worcester or Cambridge commissioner of housing inspection, or a court must certify the violations before the remedy exists at all.
Massachusetts is one of the states that really does put repair-and-deduct in the statute book, so the answer to “can I fix it and take it off the rent” is yes. The answer to “can I do that on my own say-so” is no, and that second answer is where nearly every national summary of Massachusetts law goes wrong. G.L. c. 111 § 127L is written as a chain of conditions, and the first link in the chain is an official certification of the violations by a public body or a court. Until that link is in place there is nothing to notify the owner about in the statutory sense, no five-day clock, no fourteen-day clock, and no deduction. This page walks the chain in the order the statute writes it, quotes the operative language rather than paraphrasing it, and then gives you a letter to send once the gateway is actually open.
Build your Massachusetts repair and deduct letter
Fill in the fields below and the generator produces a dated repair and deduct letter you can print, sign, serve and keep a copy of. Nothing is stored and there is no charge. Fields you leave blank print as a dash so you can complete them by hand.
The certification is the gateway, not a formality
Here is the opening of § 127L with the gateway left in: violations of habitability standards that “may endanger or materially impair the health, safety or well-being of a tenant of residential premises and are so certified by the board of health or local code enforcement agency, or in the cities of Boston, Worcester and Cambridge by the commissioner of housing inspection, or by a court of law, and if the owner or his agent has been notified in writing of the existence of the violations and has failed to begin all necessary repairs…” The word doing the work is “certified.” It is not a suggestion about good practice and it is not satisfied by a tenant’s own opinion, a contractor’s quote, a photograph or a complaint that has been made but not acted on. It is a finding by one of the four bodies the sentence names. Massachusetts law does have a self-help flavour to it once the gateway opens, because the tenant may then do the work rather than wait for the landlord. But the gateway itself is administrative, and it is the single most expensive thing to get wrong on this page, because the money is spent before anyone finds out.
Watch: Free Massachusetts Repair and Deduct Letter — Fillable PDF explained
Massachusetts repair and deduct remedy at a glance
What opens the remedy
Official certification — not your notice, § 127L
Who can certify the violations
Board of health, local code enforcement agency, the Boston, Worcester or Cambridge commissioner of housing inspection, or a court of law
The two clocks after written notice
Five days to begin or contract for repairs; fourteen days to substantially complete them — unless a shorter ordered period governs
The ceiling on what may be deducted
Four months’ rent in any twelve-month period or period of occupancy, whichever is shorter
How Massachusetts repair and deduct works, in the statute’s order
Get the condition inspected and certified
Ask the local board of health or code enforcement agency to inspect — in Boston, Worcester or Cambridge, the commissioner of housing inspection; a court of law is the fourth certifier § 127L names. Nothing downstream exists until the violations “are so certified.”
Notify the owner in writing of the violations
§ 127L requires that “the owner or his agent has been notified in writing of the existence of the violations.” The section prescribes the written form; it does not prescribe a delivery method, so send it a way you can prove and keep the proof.
Let the five-day and fourteen-day clocks run from that notice
The owner must “begin all necessary repairs or…contract in writing with a third party for such repairs within five days after such notice, and…substantially complete all necessary repairs within fourteen days after such notice” — unless a board of health, code enforcement agency or court ordered a shorter period, “in which case said period shall govern.”
Only then repair, or have the repair done
On the owner’s failure, § 127L lets “the tenant or tenants…repair or have repaired the defects or conditions constituting the violations.” Keep the certification, the notice, the quotes, the invoices and the dates: an excessive deduction is judged later on urgency, alternatives and “the quality and cost of the work done.”
Deduct from rent that subsequently becomes due, inside the ceiling
The tenant may “deduct from any rent which may subsequently become due…an amount necessary to pay for such repairs,” and may not deduct “an amount greater than four months’ rent in any twelve-month period, or period of occupancy, whichever is shorter.”
About the Massachusetts repair and deduct letter
This letter is the second step in the chain, not the first, and it is written on that assumption. Its job is to put the owner on the written notice § 127L requires, to tie that notice to a certification that already exists, and to start the five-day and fourteen-day clocks on a date nobody can argue about later. That is why the generator asks for the certifying body, the inspection date and the reference number alongside the conditions themselves. Those fields are not decoration: they are the difference between a letter that opens the statutory remedy and a letter that is merely a complaint. The letter also records whether an inspector or court ordered the violations corrected within a shorter period, because § 127L makes that shorter period govern over the statute’s own five and fourteen days. If you have not been inspected yet, send the request for an inspection first and hold this letter until you have something to attach to it.
What a Massachusetts repair and deduct letter should record
- The full names of the tenant or tenants and of the owner or the owner’s agent, since § 127L speaks of notice to “the owner or his agent.”
- The address of the premises with any unit number, and where the condition is in a common area or affects other units, say so — the multi-unit aggregate ceiling turns on it.
- The certifying body: the board of health, the local code enforcement agency, the commissioner of housing inspection in Boston, Worcester or Cambridge, or the court.
- The date of the certification or inspection and any report or docket reference, with a copy attached.
- Each certified violation, described in the words of the inspection rather than reworded, and the fact that the conditions may endanger or materially impair health, safety or well-being.
- Any shorter correction period ordered by the board of health, the code enforcement agency or a court, quoted with its date — it displaces the statutory five and fourteen days.
- The date of this written notice, stated plainly, because both statutory clocks run “after such notice.”
- A statement that the owner may begin the repairs or contract in writing with a third party within five days, and must substantially complete them within fourteen.
- Notice that on failure the tenant intends to repair or have the repairs made and to deduct under § 127L, and that the deduction will not exceed four months’ rent in any twelve-month period.
- Access arrangements and contact details — a tenant who unreasonably denies the owner access loses the protection of the section.
- Signatures and dates from every tenant giving the notice, and a note of how the letter was sent and kept.
Common Massachusetts mistakes
- Treating your own written demand as the trigger. It is not. § 127L requires that the violations be “so certified” by one of the four bodies it names. Notice is a separate, later condition.
- Spending the money first and looking for certification afterwards. The chain runs certification, notice, failure, repair, deduction. Reversing it does not make the expense deductible from rent under this section.
- Ignoring an ordered shorter period. Where a board of health, code enforcement agency or court “has ordered that said violations be corrected within a shorter period…said period shall govern.” The statutory fourteen days is a default, not a floor.
- Treating the four months as an annual allowance that banks. It does not: “Failure to exercise any rights under this section in any twelve-month period shall not increase a tenant’s rights in any subsequent twelve-month period.”
- Turning the landlord away and then deducting. “A tenant may not invoke the protection of this section if he has unreasonably denied the owner access to the dwelling unit and thereby prevented the owner from making necessary repairs.”
- Confusing repair-and-deduct with rent withholding. Deducting under § 127L and withholding rent as a defence under G.L. c. 239 § 8A are different mechanisms with different gateways, and § 8A’s own preconditions include that the owner knew of the conditions before the tenant fell into arrears.
Can a Massachusetts tenant repair and deduct rent?
Yes — but only after the violations have been certified by a public body or a court, and only after the owner has been given written notice and has failed to act within the statutory periods. The remedy is G.L. c. 111 § 127L, captioned “Repairs by tenants of residential premises to cure violations; reimbursement for cost.” It lets a tenant “repair or have repaired the defects or conditions constituting the violations” and then “deduct from any rent which may subsequently become due…an amount necessary to pay for such repairs.”
Everything that decides whether the deduction is lawful happens before a single invoice is paid. Read as one sentence, the opening of § 127L sets out a habitability standard, a severity test, a certification requirement, a written notice requirement, two waiting periods and an override on those periods — and only then reaches the words “the tenant or tenants may repair.” Miss any link and the money is simply spent.
Massachusetts also gives tenants a second, genuinely different route: raising the condition of the premises as a defence or counterclaim in the landlord’s eviction case under G.L. c. 239 § 8A. That is what most people mean when they say “rent withholding” in Massachusetts, and it is covered in full further down. It is not the same thing as repair and deduct, it has its own gateway, and the two are frequently blended together in summaries. The statutory link between them is narrow and specific: § 8A expressly lets a tenant claim “any amounts reasonably spent by the tenant or occupant pursuant to section one hundred and twenty-seven L of chapter one hundred and eleven.”
What has to be certified, and who can certify it?
The certification clause is the part of § 127L that gets dropped. In full, the section applies where violations “may endanger or materially impair the health, safety or well-being of a tenant of residential premises and are so certified by the board of health or local code enforcement agency, or in the cities of Boston, Worcester and Cambridge by the commissioner of housing inspection, or by a court of law.”
Two things follow from the way that is written. First, the object of the certification is the violations — the conditions themselves, found by someone with authority to find them. A tenant’s letter describing conditions is not a certification of them, however accurate it is and however carefully it is served. Second, the section supplies four alternative certifiers joined by “or,” so a tenant needs one of them and not all of them: the board of health; a local code enforcement agency; in Boston, Worcester and Cambridge, the commissioner of housing inspection; or a court of law.
In practice the board of health route is the one most Massachusetts tenants will use, and it begins with a request for an inspection rather than with a letter to the landlord. The three named cities matter because their inspectional functions sit outside a conventional board of health, and the legislature wrote them into the section rather than leaving tenants there to argue that their commissioner counted as a board of health. The court route matters in a different way: where the conditions have already been established in litigation, that finding is itself a certification for the purposes of this section.
The retrieved text of § 127L prescribes no form for the certification, no period of validity and no procedure for obtaining it. The practical instruction that follows is narrow and reliable: get the inspection, get the written result, and keep it, because it is the document the rest of the remedy hangs on.
Which conditions qualify under G.L. c. 111 § 127L?
The section describes qualifying conditions twice over, and both descriptions have to be satisfied. The condition must be a violation of “the standards of fitness for human habitation as established in the state sanitary code, or of other applicable laws, ordinances, by-laws, rules or regulations.” And it must be a violation that “may endanger or materially impair the health, safety or well-being of a tenant of residential premises.”
The first limb is deliberately wide on its source. It is not confined to the state sanitary code: “other applicable laws, ordinances, by-laws, rules or regulations” brings in local by-laws and other regulatory standards. That breadth is one reason the certifier is drawn from the bodies that administer those standards rather than from the parties.
The second limb is the severity test, and it is where most cosmetic complaints fail. The words are “may endanger or materially impair” — not “does endanger,” which would require proof of actual harm, and not merely “impairs,” which would sweep in trivial defects. “May” makes it a question of risk rather than of realised damage, and “materially” sets a threshold under it. A defect that is annoying, unattractive or inconvenient but carries no risk to health, safety or well-being is not what this section is addressing.
This page deliberately does not publish a list of conditions that qualify: the standards of fitness are established in the state sanitary code, which § 127L incorporates by reference, and the inspection is the mechanism the statute provides for answering the question. Our wider guide to Massachusetts habitability laws covers the landlord’s underlying duty to maintain the premises.
What written notice does the owner get, and what do five days and fourteen days each mean?
Once the violations are certified, § 127L turns to the owner. The condition is that “the owner or his agent has been notified in writing of the existence of the violations and has failed to begin all necessary repairs or to contract in writing with a third party for such repairs within five days after such notice, and to substantially complete all necessary repairs within fourteen days after such notice.”
Three separate points live inside that clause, and they are routinely collapsed into one.
The notice must be in writing, and it goes to the owner or the owner’s agent. The section prescribes the written form. It does not, in the text retrieved and quoted here, prescribe a delivery method — no certified mail requirement, no restricted delivery, no prescribed form of words. That is a statement about what the section says, not a finding that no delivery rule exists anywhere in Massachusetts law. The practical consequence is unchanged either way: send it in a manner that proves both receipt and date, because the two statutory clocks are measured from “such notice” and a disputed notice date puts every later step in doubt.
There are two clocks, and they run in parallel from that same notice. Within five days the owner must either begin all necessary repairs or contract in writing with a third party for them — the disjunction matters, because an owner who has signed a written contract with a contractor within five days has satisfied that limb even if nobody has yet lifted a tool. Within fourteen days the owner must substantially complete all necessary repairs. “Substantially complete” is the statute’s own standard; it is not the same as perfectly finished, and it is not the same as started.
An ordered shorter period displaces the statutory one. The clause continues: “unless a board of health, local code enforcement agency or court has ordered that said violations be corrected within a shorter period, in which case said period shall govern.” This is the sentence most often lost, and it cuts in the tenant’s favour. Where the inspection that certified the violations also ordered them corrected in, say, a period shorter than fourteen days, that shorter period is the operative deadline. A tenant who waits out fourteen days on principle has waited longer than the law required. Read the order that came with the inspection, not just the statute.
One practical wrinkle is worth naming. In many Massachusetts municipalities the inspectional result is itself served on the owner, which may well put the owner on notice of the existence of the violations as a matter of fact. Whether that satisfies the statutory written notice requirement in a particular case is not something this page will decide for you. Sending your own written notice, dated and provable, costs nothing and removes the question. That is what the letter on this page is for.
How much can a Massachusetts tenant deduct?
Not more than four months’ rent in any twelve-month period. The second paragraph of § 127L states the ceiling and then, unusually helpfully, states how to compute it: “A tenant may not deduct pursuant to this section an amount greater than four months’ rent in any twelve-month period, or period of occupancy, whichever is shorter, from rent due to the owner. Such amount shall be computed on the basis of the highest monthly rent during the tenant’s occupancy or during the twelve-month period before the violation is repaired, whichever is shorter.”
Take the two sentences separately, because each answers a question people actually ask.
The first sentence sets the ceiling and the window. The window is a twelve-month period “or period of occupancy, whichever is shorter,” which is the section’s way of saying that a tenant three months into a tenancy does not get a full year’s allowance by arithmetic. The ceiling is four months’ rent, expressed in months rather than in money — and it is expressed that way in the statute, which states no dollar figure at all.
The second sentence fixes which rent the four months are measured against. It is “the highest monthly rent during the tenant’s occupancy or during the twelve-month period before the violation is repaired, whichever is shorter.” Note the direction of that rule. It is not the current rent, and it is not an average. Where the rent has been reduced, or where a tenant is paying an abated amount, the measure still reaches back to the highest monthly figure in the relevant window. Note also the second anchor: the twelve-month period runs backwards from the date “the violation is repaired,” not from the date of the notice or of the certification.
The ceiling is also a ceiling on the total, not a per-repair limit. Nothing in the paragraph attaches four months’ rent to each violation. Where multiple repairs are made in one twelve-month window, they run against a single allowance.
How does the ceiling work when a whole building is affected?
Where the same violation affects more than one unit, the section does not multiply the allowance by the number of tenants. It aggregates: “Where the violation affects more than one unit of a multi-unit structure, or a portion of the structure reserved for the common use of tenants, the amount deducted for repairs for all affected tenants shall not exceed the total of four months’ rent due to the owner from all affected tenants.”
That is a materially different rule from the single-unit one and it is easy to misread in either direction. The pool is “the total of four months’ rent due to the owner from all affected tenants” — so it scales with the number of affected tenants, and a building of many tenants has a larger pool than a building of few. But it is a shared pool. Tenants of a building who each independently commission work on a common-area violation, each assuming an individual four-months’-rent allowance, can collectively exceed the aggregate figure without any one of them noticing.
The practical answer is coordination: where a violation touches a common area or several units, the affected tenants need to know what each other is spending before the work is done, not after the deductions are taken.
Does an unused allowance carry forward to next year?
No. The section says so in terms: “Failure to exercise any rights under this section in any twelve-month period shall not increase a tenant’s rights in any subsequent twelve-month period.”
The sentence is short but it forecloses a whole category of argument. A tenant who has lived with a certified violation for three years and never deducted anything does not arrive in year four with twelve months’ rent of accumulated entitlement. Each twelve-month period stands alone, and the unused portion of one is simply lost.
The corollary is that delay is not free. A tenant weighing whether to act on a certified violation now or later is not preserving anything by waiting, and where the work will cost near the ceiling, splitting it across two twelve-month windows is a real planning consideration rather than a technicality.
What happens if the landlord says the deduction was too much?
The section anticipates the dispute and gives the owner a remedy for it. “The owner may recover from the tenant any excessive amount deducted from the rent. The amount deducted shall be excessive to the extent that it exceeded four months’ rent as calculated pursuant to the preceding paragraph, or if it was unreasonable under all the circumstances. The criteria for unreasonableness shall include, but are not limited to, the alternatives available to the tenant at the time the violations were first reported, the urgency of the need to repair, and the quality and cost of the work done. Any excess deducted may be recovered in an action in contract, but not in an action for possession of the rental premises. The terms of such recovery may include an increase in rent for such future periods as the court may order.”
Four things in that paragraph deserve separate attention.
There are two independent ways to be excessive. One is arithmetic — going over four months’ rent as computed under the preceding paragraph. The other is qualitative: a deduction inside the ceiling can still be excessive “if it was unreasonable under all the circumstances.” A tenant who stays under the cap has not thereby made the deduction safe.
The reasonableness criteria are listed, and they are not exhaustive. The section names three — the alternatives available when the violations were first reported, the urgency of the need to repair, and the quality and cost of the work done — and prefaces them with “shall include, but are not limited to.” Each of the three is a record- keeping instruction in disguise. Alternatives available means: keep the quotes you did not accept, and the note of why. Urgency means: keep the certification and any ordered correction period, which is contemporaneous evidence of how serious the condition was judged to be. Quality and cost means: keep the invoice, the scope of work, and any warranty or sign-off.
The clawback is a contract action, not an eviction. The final sentence is a protection of real practical weight: an excess “may be recovered in an action in contract, but not in an action for possession of the rental premises.” A dispute about whether a deduction was too large is a money dispute. The section removes it from the possession track.
The measure is the excess, not the whole deduction. The wording is “excessive to the extent that” — a deduction that goes over the line is not retroactively void in its entirety.
Who cannot use § 127L?
Two exclusions appear near the end of the section and both are absolute on their own terms.
The first is fault. “The rights afforded tenants under this section shall not extend to conditions or violations caused by a tenant or by a person in the family or household of a tenant or by a business invitee or guest of a tenant.” Note how far the circle extends beyond the tenant personally: family, household, business invitees and guests are all inside it. A condition caused by a visitor is treated as the tenant’s for this purpose.
The second is access. “A tenant may not invoke the protection of this section if he has unreasonably denied the owner access to the dwelling unit and thereby prevented the owner from making necessary repairs.” The test has two halves joined by “and thereby”: the denial must be unreasonable, and it must have prevented the repairs. A tenant who declines a single visit at an impossible hour and offers alternatives has not obviously done either. A tenant who refuses entry outright through the five-day and fourteen-day windows has arguably done both — and has, incidentally, made the owner’s failure look like the tenant’s doing.
The access exclusion has an operational consequence for the notice letter. If your written notice sets out how and when the owner can get in, the record shows access being offered rather than withheld. Our guide to Massachusetts landlord entry laws covers the underlying entry rules.
Can a lease sign away repair and deduct in Massachusetts?
Generally no, and the section says so — but there is one carve-out written into the same sentence. § 127L provides: “Any provision of a residential lease or rental agreement whereby a tenant, lessee, or occupant enters into a covenant, agreement or contract, the effect of which is to waive the benefits of any provision of this section, shall be against public policy and void; except that a covenant in any lease of two years’ duration not counting any renewal periods, in which the tenant undertakes to make certain defined repairs or renovations in consideration for a substantially lower rent, shall not be against public policy nor void.”
The general rule is broad. It reaches any provision “the effect of which is to waive the benefits of any provision of this section,” so it catches indirect drafting as well as an express waiver, and it makes such a provision void rather than merely unenforceable at the tenant’s option.
The carve-out is correspondingly narrow, and every element of it is a condition. The lease must be “of two years’ duration not counting any renewal periods” — renewals do not count towards the two years. The tenant’s undertaking must be to make “certain defined repairs or renovations,” which is the opposite of a general clause making the tenant responsible for maintenance. And the consideration must be “a substantially lower rent,” not a nominal reduction or an unpriced concession. A clause missing any one of those elements falls back into the general rule and is void.
This is the provision behind most legitimate Massachusetts work-for-rent arrangements, and it is also the provision most often stretched. A standard lease that simply makes the tenant responsible for repairs is not within the carve-out, however it is worded.
Can the landlord raise the rent to recover the cost of the repairs?
The section addresses this directly: “No owner may increase rents because of repairs made pursuant to this section, except pursuant to such a court order, and the provisions of section eighteen of chapter one hundred eighty-six shall apply to any such increase in rent.”
The prohibition is on increases made because of repairs under this section, with a single exception. “Such a court order” refers back to the preceding sentence of the section, quoted above: where the owner sues in contract to recover an excessive deduction, “the terms of such recovery may include an increase in rent for such future periods as the court may order.” So the only route to a rent increase off the back of § 127L repairs runs through a court that has found the deduction excessive. Without that limit the remedy would be self-defeating: a tenant could deduct four months’ rent and be charged it back through the rent roll.
The sentence also carries a cross-reference to “section eighteen of chapter one hundred eighty-six,” which was fetched and read for this page: G.L. c. 186 § 18 is the reprisal statute, covering reprisal for reporting violations of law or for tenant’s union activity. Its second paragraph is the part § 127L is pointing at — receipt of a notice “of increase in rent…within six months after the tenant has…made such report or complaint” “shall create a rebuttable presumption that such notice or other action is a reprisal,” rebuttable “only by clear and convincing evidence.” So a rent increase following a reported violation does not merely have to survive § 127L; it starts out presumed to be a reprisal. Rent increase mechanics generally are covered in our guide to Massachusetts rent increase laws.
What is the alternative to repairing under § 127L?
The same paragraph that creates the repair right creates an exit. “The tenant or tenants may, alternatively in such cases, treat the lease or rental agreement as abrogated, pay only the fair value of their use and occupation and vacate the premises within a reasonable time.”
The words “in such cases” tie the alternative to the same gateway. It is available where § 127L is available — certified violations, severity, written notice, owner’s failure — and not as a free-standing right to leave because the flat is in poor condition. Within that gateway it offers three things at once: the agreement is treated as abrogated, the obligation drops to “the fair value of their use and occupation,” and the tenant vacates “within a reasonable time” rather than immediately.
That last phrase is worth pausing on because it is a tenant protection, not a deadline trap. The section does not require an overnight departure to preserve the remedy. What counts as a reasonable time is not defined in the section and this page does not supply a number for it.
The choice between repairing and abrogating is a real one and it is worth making deliberately. Repair and deduct keeps the tenancy and caps recovery at four months’ rent. Abrogation ends the tenancy and substitutes fair value for the agreed rent. Where the conditions are severe enough that the premises are barely usable, the second may be worth more than the first. Ending a tenancy by other routes is covered in breaking a lease in Massachusetts and Massachusetts lease termination laws.
Does using § 127L give up any other rights?
No, and the section closes with a preservation clause that is drafted unusually widely: “In no case may the rights afforded a tenant under this section be construed to limit any other remedies available to him by law, or to impose a duty on him to repair, or to create or imply an assumption of any risk by the tenant; nor shall they relieve a landlord of any existing duty or liability under the state sanitary code or other applicable statutes, rules, regulations, by-laws, or ordinances.”
Four separate protections sit in that sentence. Other remedies are preserved. The section does not impose a duty to repair — it is a right, and a tenant who chooses not to use it has not failed to mitigate anything by declining. It does not create or imply an assumption of risk, which matters where a condition later causes injury. And it does not relieve the landlord of the underlying duty under the sanitary code and other regulation, so the landlord’s obligation survives the tenant’s exercise of the remedy.
Read with the anti-waiver provision above, the shape of the section becomes clear: it adds to a tenant’s position and is drafted hard against being read as a substitute for anything.
How is rent withholding different from repair and deduct in Massachusetts?
Repair and deduct is a self-help remedy that opens after official certification. Rent withholding in Massachusetts is a defence and counterclaim raised inside the landlord’s eviction case under G.L. c. 239 § 8A. They are separate mechanisms with separate conditions, and the second is the one that decides who keeps possession.
§ 8A begins: “In any action under this chapter to recover possession of any premises rented or leased for dwelling purposes, brought pursuant to a notice to quit for nonpayment of rent, or where the tenancy has been terminated without fault of the tenant or occupant, the tenant or occupant shall be entitled to raise, by defense or counterclaim, any claim against the plaintiff relating to or arising out of such property, rental, tenancy, or occupancy for breach of warranty, for a breach of any material provision of the rental agreement, or for a violation of any other law.”
Notice the scope built into that opening: the claims it lets in are wide, but the vehicle is a defence or counterclaim in an existing case, not a licence to stop paying and wait.
The two mechanisms meet in the amounts clause: “The amounts which the tenant or occupant may claim hereunder shall include, but shall not be limited to, the difference between the agreed upon rent and the fair value of the use and occupation of the premises, and any amounts reasonably spent by the tenant or occupant pursuant to section one hundred and twenty-seven L of chapter one hundred and eleven and such other damages as may be authorized by any law having as its objective the regulation of residential premises.” Money properly spent under § 127L is recoverable inside a § 8A case — and the qualifier “reasonably spent” carries the same evidential weight as the reasonableness criteria in § 127L itself. What is covered in general terms in our guide to Massachusetts eviction notice laws is the procedure this defence sits inside.
What are the four gateway clauses of G.L. c. 239 § 8A?
§ 8A has its own gateway, and on a condition-of-premises claim relief is barred unless all four of its clauses are satisfied: “(1) the owner or his agents, servants, or employees, or the person to whom the tenant or occupant customarily paid his rent knew of such conditions before the tenant or occupant was in arrears in his rent; (2) the plaintiff does not show that such conditions were caused by the tenant or occupant or any other person acting under his control; except that the defendant shall have the burden of proving that any violation appearing solely within that portion of the premises under his control and not by its nature reasonably attributable to any action or failure to act of the plaintiff was not so caused; (3) the premises are not situated in a hotel or motel, nor in a lodging house or rooming house wherein the occupant has maintained such occupancy for less than three consecutive months; and (4) the plaintiff does not show that the conditions complained of cannot be remedied without the premises being vacated…”
Clause (1) is a hard timing rule and it is the one that catches people. The landlord (or the agent, or whoever the tenant customarily paid) must have known of the conditions before the tenant fell into arrears. A tenant who stops paying and then reports the conditions has, on the face of the clause, done it in the wrong order. This is a strong practical argument for reporting conditions in writing early and keeping the proof, whether or not any deduction is ever contemplated.
Clause (2) allocates the burden, and it does so unevenly. The general position is that the plaintiff must show the conditions were tenant-caused. The exception flips that burden onto the tenant for a violation “appearing solely within that portion of the premises under his control and not by its nature reasonably attributable to any action or failure to act of the plaintiff.” Both limbs of the exception must be met before the burden shifts.
Clause (3) excludes certain accommodation. Hotels and motels are out. Lodging houses and rooming houses are out where the occupant has held the occupancy for less than three consecutive months — so the three-month qualifier attaches to lodging and rooming houses, not to hotels and motels, which are excluded outright.
Clause (4) removes claims where the conditions cannot be fixed with the tenant in place. The burden is on the plaintiff to show it, and it is a narrow escape rather than a broad one.
What proof carries weight in a § 8A case?
The section supplies two presumptions and one evidence rule, and all three reward the tenant who created a paper record early.
The first presumption goes to the conditions: “Proof that the premises are in violation of the standard of fitness for human habitation established under the state sanitary code, the state building code, or any other ordinance, by-law, rule or regulation establishing such standards and that such conditions may endanger or materially impair the health, safety or well-being of a person occupying the premises shall create a presumption that conditions existed in the premises entitling the tenant or occupant to a counterclaim or defense under this section.”
The second goes to the landlord’s knowledge, which is exactly what clause (1) turns on: “Proof of written notice to the owner or his agents, servants, or employees, or to the person to whom the tenant or occupant customarily paid his rent, of an inspection of the premises, issued by the board of health, or in the city of Boston by the commissioner of housing inspection, or by any other agency having like powers of inspection relative to the condition of residential premises, shall create a presumption that on the date such notice was received, such person knew of the conditions revealed by such inspection and mentioned in such notice.”
Read those two together and the reason this page keeps returning to the inspection becomes clear. The inspection is not only the certification that opens § 127L; written notice of it to the landlord is also what raises the presumption of knowledge that § 8A’s first gateway clause requires. One document does two jobs.
The evidence rule completes the set: “A copy of an inspection report issued by any such agency, certified under the penalties of perjury by the official who inspected the premises, shall be admissible in evidence and shall be prima facie evidence of the facts stated therein.” Admissible and prima facie evidence — that is a report doing work in court without the inspector being produced to say it again.
§ 8A also carries its own anti-waiver rule: “Any provision of any rental agreement purporting to waive the provisions of this section shall be deemed to be against public policy and void.”
What does the court do with the rent while the case runs?
This is the part of Massachusetts practice that most surprises tenants who think withholding means keeping the money. § 8A provides: “There shall be no recovery of possession pursuant to this chapter pending final disposition of the plaintiff’s action if the court finds that the requirements of the second paragraph have been met. The court after hearing the case may require the tenant or occupant claiming under this section to pay to the clerk of the court the fair value of the use and occupation of the premises less the amount awarded the tenant or occupant for any claim under this section, or to make a deposit with the clerk of such amount or such installments thereof from time to time as the court may direct, for the occupation of the premises.”
Two things follow. Possession is protected while the case runs, provided the court finds the gateway requirements met. And the money may be directed to the clerk of the court rather than retained.
The outcome rules are then arithmetic: “There shall be no recovery of possession under this chapter if the amount found by the court to be due the landlord equals or is less than the amount found to be due the tenant or occupant by reason of any counterclaim or defense under this section. If the amount found to be due the landlord exceeds the amount found to be due the tenant or occupant, there shall be no recovery of possession if the tenant or occupant, within one week after having received written notice from the court of the balance due, pays to the clerk the balance due the landlord, together with interest and costs of suit, less any credit due the tenant or occupant for funds already paid by him to the clerk under this section.”
So the tenant whose counterclaim equals or exceeds the landlord’s claim keeps possession outright, and the tenant who comes up short keeps possession by paying the balance to the clerk within one week of the court’s written notice of it. That is a short window — a tenant running this defence should know before the judgment where that money would come from.
What about the other routes: petitions, complaints and organizing?
The deepest pages ranking on this topic also cover a tenant petition to the housing court, applications for criminal complaint over sanitary code violations, receivership, and tenant organizing. Those routes exist in Massachusetts and a tenant with a serious uncorrected violation should know they exist.
They are not described in detail here. The verified record behind this page covers three sections — G.L. c. 111 § 127L, G.L. c. 239 § 8A and G.L. c. 186 § 18 — and not the petition procedure, the criminal complaint procedure or the receivership provisions of c. 111. Naming a route and saying we have not verified it is more useful than a confident paragraph that might be wrong. Our overview of Massachusetts landlord tenant laws is the wider map.
What does § 127L leave open?
Being straight about the edges of a statute is part of reading it accurately, and this page would rather name them than paper over them.
Who may do the work. § 127L says the tenant may “repair or have repaired” the defects, which plainly permits both doing it yourself and engaging someone else. The section as retrieved does not attach a licensing, registration or insurance requirement to the person doing the work. That is a statement about the text of this section, not a finding that no such requirement exists anywhere in Massachusetts law — trade licensing lives elsewhere, and the quality of the work is in any event one of the three named criteria for judging whether a deduction was unreasonable. Using a competent, properly qualified tradesperson is therefore both the obvious course and the one the reasonableness test rewards.
Receipts and itemisation. The section as retrieved imposes no requirement to submit receipts or an itemised statement before deducting. Instead it tests the deduction for reasonableness after the fact and lets the owner claw back an excess. The practical effect is the opposite of relaxing: because there is no prescribed submission that closes the question, the contemporaneous record is what answers it later.
What the sanitary code requires. § 127L incorporates the state sanitary code by reference. The code itself was not part of the verified record here, so no specific code condition is asserted anywhere on this page as qualifying or not qualifying.
Case law. None is used. § 8A in particular is heavily litigated and much of what circulates about it online is judicial gloss rather than statutory text. Every quotation on this page is the statute’s own language.
Local ordinances. None were checked. Boston, Worcester and Cambridge appear on this page only because § 127L names their commissioner of housing inspection as a certifier.
Where this page’s law comes from. The text of G.L. c. 111 § 127L, G.L. c. 239 § 8A and G.L. c. 186 § 18 quoted throughout was read directly from malegislature.gov, the General Court’s official publication of the General Laws, and re-confirmed there against a deliberately fabricated section path that returned no operative language. Archived captures of the same official pages were used to confirm the text has been stable. Deposit rules, entry rules and the rest of the tenancy are covered in Massachusetts security deposit laws. This page is information, not legal advice.
Where repairs meet the rest of Massachusetts law
Three neighbouring questions are decided under different rules and are worth keeping separate from this one: the notice that ends a tenancy (Massachusetts eviction notice laws), what a landlord may keep out of a deposit and by when it must come back (Massachusetts security deposit laws), and the exposure a tenant takes on by leaving early (breaking a lease in Massachusetts).
Bottom line
Massachusetts does give tenants a statutory repair-and-deduct remedy, but it is not self-help. G.L. c. 111 § 127L opens only after the violations “are so certified by the board of health or local code enforcement agency, or in the cities of Boston, Worcester and Cambridge by the commissioner of housing inspection, or by a court of law.” Certification comes first; the owner is then notified in writing and has five days to begin or contract for the repairs and fourteen days to substantially complete them. Only on that failure may the tenant repair and deduct, and never more than four months’ rent in any twelve-month period. Money spent before the certification is money the statute does not let you take off the rent.
Frequently Asked Questions
Can I repair and deduct in Massachusetts without going to the board of health?
Not under G.L. c. 111 § 127L. The section applies where the violations “are so certified by the board of health or local code enforcement agency, or in the cities of Boston, Worcester and Cambridge by the commissioner of housing inspection, or by a court of law.” One of those four certifiers is required. A tenant’s own written demand, however detailed, is not a certification, and money spent before certification is not money § 127L lets you take off the rent.
How much can a Massachusetts tenant deduct for repairs?
Not more than four months’ rent in any twelve-month period. § 127L says a tenant “may not deduct pursuant to this section an amount greater than four months’ rent in any twelve-month period, or period of occupancy, whichever is shorter, from rent due to the owner,” computed “on the basis of the highest monthly rent during the tenant’s occupancy or during the twelve-month period before the violation is repaired, whichever is shorter.” The statute states no dollar figure.
How long does the landlord get to make the repairs?
Two periods run in parallel from the written notice. The owner must “begin all necessary repairs or…contract in writing with a third party for such repairs within five days after such notice, and…substantially complete all necessary repairs within fourteen days after such notice.” If a board of health, local code enforcement agency or court “has ordered that said violations be corrected within a shorter period…said period shall govern.”
Does an unused four months’ rent allowance carry over to the next year?
No. § 127L states that “failure to exercise any rights under this section in any twelve-month period shall not increase a tenant’s rights in any subsequent twelve-month period.” Each twelve-month window stands alone and an unused allowance is lost.
What if the landlord says I deducted too much?
The owner “may recover from the tenant any excessive amount deducted from the rent,” and an amount is excessive if it went over the four-months’-rent ceiling or “if it was unreasonable under all the circumstances.” The named criteria are “the alternatives available to the tenant at the time the violations were first reported, the urgency of the need to repair, and the quality and cost of the work done.” An excess is recovered “in an action in contract, but not in an action for possession of the rental premises.”
Is rent withholding the same as repair and deduct in Massachusetts?
No. Repair and deduct is § 127L. Rent withholding is raised under G.L. c. 239 § 8A as a “defense or counterclaim” inside the landlord’s summary process case, and it has its own gateway — including that the landlord knew of the conditions “before the tenant or occupant was in arrears in his rent.” § 8A does let a tenant claim “any amounts reasonably spent…pursuant to section one hundred and twenty-seven L of chapter one hundred and eleven.”
Can my lease waive Massachusetts repair and deduct rights?
A waiver is void as against public policy, with one written exception: a covenant “in any lease of two years’ duration not counting any renewal periods, in which the tenant undertakes to make certain defined repairs or renovations in consideration for a substantially lower rent, shall not be against public policy nor void.” Every element of that exception is a condition, so an ordinary clause making a tenant responsible for repairs does not qualify.
Can I move out instead of repairing?
§ 127L gives that alternative in the same cases: the tenant may “treat the lease or rental agreement as abrogated, pay only the fair value of their use and occupation and vacate the premises within a reasonable time.” It is available on the same gateway as the repair remedy — certified violations, written notice and the owner’s failure to act — not as a free-standing right to leave.
Screen Massachusetts tenants thoroughly before move-in
A solid tenant relationship starts with thorough screening. Tenant Screening Background Check has been verifying renters since 2004 — credit, eviction filings, criminal background, and employment — across all 50 states and DC.
Related Resources
Published by Tenant Screening Background Check
Established 2004 · 20+ Years · All U.S. States & Territories · Statute-Based · Attorney-Reviewed
A Private Eye Reports™ service trusted by landlords, property managers, and attorneys.

