When a lender, buyer or managing agent asks you to clear the violations on your NYC building, the first thing worth sorting out is which agency issued them. A citation from the Department of Buildings (DOB) and a citation from Housing Preservation and Development (HPD) look similar on a report, but they come from different codes, follow different deadlines, and clear through completely different processes. Treating them as one pile is how owners fix half a problem and still fail a title search.
Tip: Want to see what is actually open before you dig into either agency? Pull your building's record on Building Health X for recent heat, pest, safety and violation signals, then confirm the detail in the official DOB and HPD portals below.
Two Agencies, Two Different Jobs
The cleanest way to keep DOB and HPD straight is by what each one is protecting. DOB regulates the building itself: its structure, its permits, its mechanical systems, and whether work was done legally. HPD regulates whether people can live in the building safely, which means heat, hot water, leaks, mold, pests, lead paint and the rest of the habitability code. A cracked facade or an unpermitted alteration is DOB's territory. A tenant with no heat in January is HPD's.
That split explains why the same physical problem can generate two separate records. A gas leak might draw a DOB summons for the mechanical defect and an HPD violation for the loss of a required service to tenants. Each agency logs its own citation in its own system, and clearing one does nothing to the other. If you want the whole picture of what an open DOB citation actually signals, the renter-side breakdown in the explainer on open DOB violations covers how those entries read, and the same detail matters to an owner reconciling a record.
HPD only has jurisdiction over residential buildings with three or more units, so a small owner-occupied building may never see an HPD citation at all while still carrying DOB exposure. Larger residential buildings carry both, which is why owners of multi-unit properties cannot skip either portal.
Need a lead-safe pro for your NYC apartment?
Tell us what the apartment needs and we will connect you with vetted local providers who know NYC building rules. Free, no obligation.
The Class Systems Are Not the Same
Both agencies grade violations by severity, and this is where owners get tripped up, because both use letters and both stop at C, but the letters do not mean the same thing. Under HPD, Class A is non-hazardous, Class B is hazardous, and Class C is immediately hazardous, so C is the worst. The way those classes drive deadlines and penalties is spelled out in the primer on the A, B and C class ratings, and it is worth reading before you assume a low-letter citation is trivial.
DOB, on the other hand, sorts its ECB summonses into Class 1 (immediately hazardous), Class 2 (major) and Class 3 (lesser), and it also carries a separate track of older non-ECB violations that simply sit as open items until certified corrected. So a "Class C" on your record could be an urgent HPD habitability failure or, depending on the source, something far more routine. Always read the issuing agency before you read the class, because the same letter carries opposite weight.
Deadlines Diverge Too
HPD attaches a correction window to each class. Immediately hazardous conditions carry the tightest deadline, hazardous conditions get a longer window, and non-hazardous conditions get the longest, and each requires the owner to certify the fix, not just perform it. The certification step is its own trap, because a condition can be physically repaired while the record stays open until the paperwork is filed. What an open habitability citation looks like from the tenant's side, and how long you actually have, is laid out in the walkthrough of an open HPD violation.
DOB deadlines run on the summons and the certificate of correction process rather than a fixed habitability clock. Miss a DOB hearing and the penalty can default to the maximum. Miss an HPD certification and the city can send its own contractor in under the Emergency Repair Program and bill you for the work plus a fee. Different failure modes, different costs, same lesson: the deadline is set by the agency, not by you.
They Clear Through Different Doors
Because the codes are separate, the resolution paths are separate. An HPD violation clears when you correct the condition and certify it to HPD, sometimes with a dismissal request if you dispute it. A DOB or ECB violation clears when you correct the condition, pay the civil penalty, and file a Certificate of Correction, and if you are contesting the summons, that runs through an OATH hearing. You can win an HPD dismissal and still owe DOB, or satisfy DOB and still have HPD flag an uncorrected condition. Owners reconcile both lists in parallel, not in sequence.
The raw records behind both agencies are published for anyone doing careful due diligence. The DOB and HPD violation datasets on NYC Open Data let you download the full history for a building and see exactly which agency owns which line, which is the fastest way to stop confusing the two. For the wider housing context, the annual research from the NYU Furman Center tracks how code enforcement varies across neighborhoods, useful if you are weighing a purchase in an area you do not know well.
Why the Distinction Costs Real Money
The practical stakes show up at a closing. Title searches surface open items from both agencies, and an unpaid ECB penalty that has hardened into a lien will block a sale just as effectively as an uncertified HPD violation. Owners who assume "I fixed the leak" or "the inspector signed off" often discover a matching record still open in the other system, and that gap surfaces at the worst possible moment.
If your record shows a mix of DOB and HPD lines and you are not sure which are quick administrative closes and which need real remediation, that is the point to bring in a professional who works both agencies. A licensed inspector or code consultant, the kind you can find through vetted NYC building inspectors, can tell you which citations belong to which code and file each correction through the right door so nothing lingers behind a cleared condition.
Frequently Asked Questions
What is the difference between a DOB and an HPD violation?
A DOB violation cites the building itself, its structure, permits and mechanical systems, and whether work was done legally. An HPD violation cites a habitability problem in a residential building with three or more units, such as no heat or hot water, leaks, mold, pests or lead paint. They come from different codes, carry different deadlines, and clear through different processes.
Can one problem cause both a DOB and an HPD violation?
Yes. A single condition, such as a gas defect that also cuts a required service to tenants, can draw a DOB summons for the mechanical issue and an HPD citation for the loss of habitability. Each agency logs its own record, and correcting one does not close the other.
Do DOB and HPD use the same class system?
No. Both use letters or numbers up to three levels, but they do not line up. HPD grades Class A as non-hazardous through Class C as immediately hazardous. DOB sorts ECB summonses into Class 1 immediately hazardous, Class 2 major and Class 3 lesser. Always read which agency issued a citation before reading its class, because the severity does not translate directly.
Does HPD cover my building if it has only two units?
Generally no. HPD enforces the Housing Maintenance Code in residential buildings with three or more units. Smaller buildings may still carry DOB exposure for permits and construction, but usually fall outside HPD's habitability jurisdiction.
Do I have to clear both agencies before selling?
In practice, yes. Title searches surface open items from both DOB and HPD, and unpaid ECB penalties that have become liens can block a sale or refinance. Clearing one agency while leaving the other open is a common reason a deal stalls late.
Get matched with trusted NYC providers
Reading up on your rights is the first step. When you are ready to act, we will match you with vetted local pros and quotes within hours.

_4.jpeg)