Lesson 2.1Lesson 2.1 · Understanding Building Regulations
What Building Codes Are
Before you can encode a rule you have to know the rulebook - so this lesson maps the structure of building regulation: the National Building Code as a model, the local byelaws and development-control regulations that actually bind, the fire, accessibility, structural and services standards layered underneath, and why the whole edifice exists at all - safety, health and amenity
You are about to encode a rulebook. First you had better know what is in it, who wrote it, and which version actually binds your site.
It is tempting to jump straight to the exciting part - turning a rule into logic a computer can run. But automated compliance is only ever as sound as your understanding of the regulation itself, and building regulation is not one tidy document. It is a layered, overlapping, locally variable body of rules made by different bodies for different reasons. A single house in one Indian city and an apparently identical house two states away can be governed by different byelaws, different setbacks, different coverage limits and different editions of the same code - and a rule you encoded from the wrong text will confidently give you the wrong answer.
So this module begins where all honest compliance work begins: with the rulebook. In this lesson we map the structure of building regulation - the National Building Code of India as a recommendatory model, the local byelaws and development-control regulations that are the law that actually binds, the fire, accessibility, structural and services standards layered beneath, and the IS standards a code calls up by number. We ask who makes each layer, how they fit together, and above all why any of it exists. Because if you do not know what a code is for - safety, health, amenity - you cannot judge which of its rules are the clean, quantitative kind a machine can check, and which carry the human purpose that no check can stand in for.
NBC (model) -> LOCAL byelaws + DCR (bind!) -> IS standards. A floor for safety + health + amenity. Encode the RIGHT layer, edition and jurisdiction - or you are confidently wrong.
What a building code is - and why society writes one
A building code is a set of rules, given force by law, that sets the minimum standards a building must meet in its design, construction, materials and use. The key word is *minimum*. A code is a floor, not a ceiling: it does not describe good architecture, it describes the worst a building is legally allowed to be. Everything above that line - delight, proportion, generosity of space - is the designer's job, and good design routinely does far better than the code demands.
Why does society impose this floor at all? Because a building affects far more people than the person who pays for it. It is occupied for decades by people who did not commission it; it shares a street, a water table and a fire risk with its neighbours; when it fails, others are hurt. Left purely to private choice, some buildings would be cheaper, more crowded, darker and more dangerous than the public could tolerate. So the public interest sets a common floor. That floor is usually justified under three headings. Safety: the structure must stand up under the loads and hazards it will face - gravity, wind, earthquake, fire - and people must be able to get out. Health: rooms need light, air, ventilation, sanitation, clean water and protection from damp, because unhealthy buildings make people ill at scale. Amenity: buildings must be usable and decent - accessible to disabled people, not overshadowing or overlooking their neighbours to an unreasonable degree, energy-sensible, and fit for their purpose.
This *why* matters enormously for automated compliance, and it is easy to forget once you are staring at clause numbers. The number in a rule - a 2.0 metre corridor, a 30 metre travel distance - is a proxy for a purpose: safe evacuation, dignified access, healthy air. A machine can check the number brilliantly. It cannot check the purpose. It cannot tell you whether a technically compliant escape route is one a frightened crowd could actually use, or whether an accessible toilet that ticks every box is one a wheelchair user can genuinely turn in. Holding the purpose in mind is what keeps a green tick honest - and it is why the human, not the checker, stays accountable for whether the building is really safe, healthy and decent.
How the layers fit - model code, local byelaws, referenced standards
The single most important structural fact about building regulation in India is that the document everyone names - the National Building Code of India (NBC) - is not, by itself, the law that binds your project. The NBC is a *model code*: a comprehensive, recommendatory national template of good practice, published by the Bureau of Indian Standards, covering structure, fire, services, accessibility, materials and much more. It is authoritative and widely followed, but it becomes legally binding on a given site only to the extent a state government or urban local body *adopts* it into their own byelaws.
The rules that actually bind are therefore the local building byelaws and development-control regulations (DCR) - adopted by the state or the municipal / development authority for that jurisdiction. These are where the numbers that dominate Indian plan-scrutiny live: the setbacks (how far the building must sit from each boundary), the permissible ground coverage, the floor-space index (FSI, sometimes FAR - how much floor area a plot may carry), the height limits and the land-use rules. And they *vary* - enormously - from city to city and state to state, and they are amended on their own schedules. Two neighbouring municipalities can require different setbacks for the same plot size. Beneath both sit the IS standards: detailed technical standards (again from the Bureau of Indian Standards) that a code *calls up by number* - for a material, a test, a fire rating, a design method - so the byelaw stays short and the detail lives in the referenced standard.
Picture it as a stack. The NBC model sits on top as the template; the adopted local byelaws and DCR are the binding middle layer that governs your actual permission; the IS standards are the referenced foundation of technical detail. For automated compliance this layering has a sharp consequence: you must encode the right layer, in the right edition, for the right jurisdiction. A rules-as-code tool built on the NBC's model numbers may be simply wrong for a city whose byelaw sets a different setback - and a tool built on last year's byelaw is wrong the day the byelaw is amended. Knowing which text binds, and keeping the encoded version faithful to it, is not a detail. It is the whole ballgame, and it is a governance problem this course returns to.
The domains a code spans - and which are machine-friendly
A code is not organised the way a designer thinks; it is organised by *domain*, and a single project sits under several domains at once, each with its own clauses, its own referenced standards and its own presiding authority. It helps to know the main ones, because automated checking behaves very differently across them.
Fire and life safety governs how people escape and how fire is contained: the number and width of exits, maximum travel distance to an exit, fire-resistance ratings of walls and floors, compartmentation, alarms and refuge areas. Much of it is gloriously quantitative - distances, widths, ratings - and so a good candidate for automated checking; some of it (is this really a safe means of escape for this crowd?) is judgement. Accessibility governs whether disabled people can use the building: ramp slopes, clear door and corridor widths, wheelchair turning space, accessible toilets and lifts. Again, much is measurable and checkable, though real usability is a human judgement. Structural safety governs whether the building stands up: loads, seismic design, foundations, materials. This domain is heavily *performance-based* - it demands engineering analysis, not a width comparison - and resists simple automated checking almost entirely. Building services covers electrical, plumbing, water supply, sanitation, ventilation and lifts: a mix of the checkable (counts, capacities, clearances) and the analytical.
Overarching all of these is planning and development control - the setbacks, ground coverage, FSI, height and land-use rules from the byelaws. This domain is the most quantitative of all, which is exactly why it is where automated plan-scrutiny in India has advanced furthest: a setback, a coverage percentage or an FSI is a clean number you can check against a drawing.
The pattern to carry forward is this: the more a domain is expressed as clear, measurable quantities checkable against structured model data, the more automated compliance genuinely helps. The more a domain rests on engineering analysis, real-world facts, or judgements about human use, the more it stays stubbornly human - and the more dangerous it is to trust a tick. Knowing which domain a rule lives in is a fast first clue to whether it can be sensibly coded at all. But the domain is only a clue; the next lessons look at how the individual rule is written, which decides it far more precisely.
Who makes the rules - and why that shapes what you can code
Regulation does not fall from the sky; it is written, adopted, amended and interpreted by specific bodies, and knowing who is behind each layer tells you a lot about how stable, how uniform and how codeable it is. In India, the Bureau of Indian Standards develops and publishes the National Building Code and the IS standards through technical committees of experts - a slow, deliberate, consensus process, which is why the NBC is thorough but revised only occasionally. State governments and urban local bodies - municipal corporations, development authorities, town-and-country-planning departments - adopt, adapt and enforce the byelaws and development-control regulations for their jurisdiction, which is why those rules vary so much and change on local political and administrative timetables. And the approving authority - the plans-examiner, the fire officer, the municipal engineer - interprets and applies the rules to a specific submission, exercising real discretion, especially where a rule is ambiguous or a site is unusual.
This authorship has direct consequences for rules-as-code. First, variation: because thousands of local bodies each hold their own byelaws, there is no single national text to encode - a tool must be localised, jurisdiction by jurisdiction, and kept in step with each one. Second, change: rules are amended by these bodies on their own schedules, so an encoded rule silently goes stale the moment its source is updated; keeping the code current is somebody's ongoing job, not a one-time build. Third, discretion: because a human authority interprets and applies the rules - and legitimately disagrees, decides borderline cases, and grants or refuses approval - the encoded version can never be the final word. It is a reading of the law; the authority's reading is the one that counts.
So the honest picture is a layered system of many authors, revised on many clocks, applied by human officials with discretion. That is the reality automated compliance has to fit into - not a clean, uniform, static rulebook, but a living, plural, locally variable body of law. Respecting that is what separates a useful tool from a misleading one. The authoritative rule is always the actual adopted byelaw, code or standard - the NBC, the local DCR, the IS standard - as interpreted by the accountable professional and the approving authority, never the tidy encoded copy sitting in a checking engine. With the rulebook now mapped, the next lesson opens a single rule and looks at how it is written - because that, even more than which domain it lives in, decides whether it can be coded.
The local byelaw is the binding rule
Which text governs a site
The NBC is a recommendatory model; the adopted local building byelaws and development-control regulations are the law that actually binds, and they vary by jurisdiction. Confirm the exact text and edition for the site. Modules 8.1, 10.3.
Codes set a minimum, not the ceiling
What a code guarantees
A code is a floor for safety, health and amenity - compliance is the worst a building may legally be, not evidence of good design. The number is a proxy for a purpose a check cannot verify. Modules 2.4, 9.3.
Domain is a first clue to codeability
Which rules automate well
Quantitative domains (planning/development control, much of fire and accessibility) automate well; performance-heavy ones (structural) resist coding. Domain hints at it; how the rule is written decides it. Modules 2.3, 4.3.
Many authors, many clocks
Why rules vary and go stale
BIS writes the NBC and IS standards; states and urban local bodies adopt and amend byelaws; authorities interpret and apply them. Encoded rules must be localised and kept current, and never override the authority's reading. Modules 8.2, 8.3.
Workshop - map the layers that actually govern one real plot
Automated compliance starts with knowing exactly which rules bind a specific site - not the code in the abstract, but the adopted byelaw, edition and standards for that jurisdiction. In this workshop you trace the regulatory stack for one real (or realistic) plot and see how plural and local it really is.
Just a plot, whatever byelaw text you can find and a notebook. No software - this workshop is about seeing the layered, local structure of regulation by hand. The binding compliance always stays with the professional, the authority and the actual adopted code.
Goal: a concrete picture of which layer binds a real site, and which numbers are quantitative Inputs: one plot in a named city + whatever byelaw / DCR text you can access + a notebook Time: ~45 minutes
- 1Name the jurisdiction: pick a real or plausible plot and identify the state and the urban local body / development authority whose byelaws and development-control regulations would govern it.
- 2Find the binding layer: locate (or reason about) the adopted local byelaw or DCR that applies - note its likely edition - and distinguish it from the NBC model, writing down which is recommendatory and which actually binds.
- 3List the quantitative development-control rules: setback(s), ground coverage, FSI/FAR, height limit, land use - the clean numbers that dominate plan-scrutiny - and mark each as checkable against a drawing.
- 4Add the domains: note at least one rule each from fire/life safety, accessibility and services that would also apply, and flag any that are performance-based rather than a simple number.
- 5Write a short reflection: which layer and edition you would have to encode to check this plot honestly, what could make your encoded version wrong or stale, and why the approving authority - not your check - grants the permission. Flag it as reasoning.
You’ll walk away with
A one-page regulatory map of one plot: jurisdiction and authority, the binding byelaw/DCR (distinguished from the NBC model) with its edition, the quantitative development-control numbers marked checkable, a few rules from other domains with any performance ones flagged, and a reflection on faithfulness, staleness and who is accountable. Framed as reasoning; keep it.
Three altitudes on the same idea
Read the band that fits you — or all three.
Your working knowledge of the rulebook is what makes any automated check trustworthy - so treat the code's structure, not just its numbers, as part of your competence. For your projects the binding rules are the adopted local byelaws and development-control regulations - the setbacks, ground coverage, FSI, height and use limits that dominate plan-scrutiny - not the NBC model in the abstract, and certainly not a tool's built-in defaults. Before you rely on any automated setback or coverage check, confirm which byelaw text and edition governs the site, because a checker built on the wrong jurisdiction will be confidently wrong. Use the domain map to triage: fire, accessibility and planning rules are largely quantitative and worth checking early; structural performance is engineering analysis you coordinate, not a width test. And keep the *why* in view - the number is a proxy for safe escape, dignified access, healthy air; a compliant number is not a guarantee the purpose is met. You and the approving authority stay accountable; the authoritative rule is always the adopted code and byelaw.
Interiors sit squarely inside several regulated domains - accessibility, fire and egress, services, occupancy - so knowing how the code is structured tells you which of your decisions are legally constrained. The rules that touch your work most - accessible route and door clear widths, wheelchair turning space, ramp slopes, corridor and aisle widths, exit counts and travel distances, accessible toilet provisions - come largely from the accessibility and fire domains, and much of it is quantitative and checkable, which is why an automated check can flag an under-width doorway or an over-long escape route early. But the binding numbers live in the adopted local byelaws and the referenced standards, which vary by place, and real accessibility and real safety are judgements a tick cannot make. Learn the layers so you know that the NBC is a model, the local byelaw is the law, and an IS standard may sit beneath a single clause. Coordinate binding fire, egress and accessibility compliance with the qualified professionals, the authority and the governing code - your domain is using the checkable to catch issues early while holding the human judgement real interiors demand.
The first thing to understand about automating compliance is that the thing being automated is not a single tidy book - it is a layered, plural, locally variable system of law, and that shape decides everything downstream. Learn the stack: the National Building Code of India is a recommendatory model published by the Bureau of Indian Standards; the local building byelaws and development-control regulations, adopted by states and urban local bodies, are what actually bind and they vary enormously; the IS standards are technical detail a code calls up by number. Learn why codes exist at all - safety, health, amenity - because the number in a rule is only ever a proxy for a human purpose a machine cannot check. And learn to read a rule's domain (fire, accessibility, structural, services, planning) as a first clue to whether it is the clean quantitative kind that automates well or the analytical, judgement-laden kind that does not. You are not expected to memorise byelaws; you are expected to understand the architecture of regulation, because rules-as-code that ignores that architecture is rules-as-code that gives wrong answers with great confidence.
“There is basically one building code - the National Building Code of India - so to automate compliance you just encode the NBC once and check every project against it.”
Do it yourself
No software needed - reason it through.
- 1Explain the difference between the NBC as a model code and the local byelaws as the binding law - which one actually governs a site?
- 2Name the three purposes usually used to justify building codes, and give one rule that serves each.
- 3Why does the same plot size get different setbacks or FSI in different cities, and what does that mean for a rules-as-code tool?
- 4List the main regulatory domains and say which tend to be quantitative (machine-friendly) and which tend to be performance-based.
- 5Who writes, adopts and interprets each layer of regulation - and why does that make the encoded rule never the final word?
The one line to carry out
Peer-reviewed journals & authoritative standards
- 01Building code — Wikipedia - Building code, 2026.
- 02National Building Code of India — Wikipedia - National Building Code of India, 2026.
- 03Regulation — Wikipedia - Regulation, 2026.
- 04Zoning — Wikipedia - Zoning, 2026.
- 05Building regulations in the United Kingdom — Wikipedia - Building regulations in the United Kingdom, 2026.
Now you know the shape of the rulebook and which layer binds. But whether any single rule can be coded is decided less by its domain than by how it is written. Next we open one rule and dissect its anatomy.
The author
Amogh N P
Architect, interior designer, and creative polymath. Studio Matrx began in his notebooks — his vision of design made honest, useful, and open to everyone. Its Academy is written and taught in his memory, and free, forever.
More about Amogh →