A wall is meant to mark where one property ends and another begins. In much of Nairobi it has come to mean the opposite: a sheer concrete barrier two or three storeys high, topped with electric wire, that swallows the street it faces and turns a residential plot into something closer to a compound under siege. Kenya’s 2024 National Building Code treats that instinct as a planning problem rather than a private choice, and it has now drawn a line at 2.4 metres.
The Code caps boundary walls at that height and restricts where windows may be placed so that one home does not look straight into another. Officials have been blunt that the fortress-style walls common across Nairobi’s wealthier estates breach planning regulations, and that height is no longer a matter of personal preference. The rule reaches a deep habit in how Kenyans build, and habits anchored in fear of crime do not yield to a gazette notice on their own.
The Rule: A Ceiling on the Compound Instinct
The substance is simple. No boundary wall above 2.4 metres, and window placement governed so that adjoining plots retain a measure of privacy. The reasoning behind it is urbanist orthodoxy: walls that tower over the street kill what planners call passive surveillance, the ordinary watchfulness of neighbours and passers-by that makes a road feel safe. Behind a high blank wall, the street loses its eyes. The Code is betting that lower, more permeable boundaries make Nairobi’s neighbourhoods safer, not less so.
For developers and homeowners that is a reversal of decades of practice. The Code’s height ceiling is less about masonry than about who the city belongs to.
The Cost: Where Compliance Lands
The immediate friction falls on those already building. Plans drawn before the Code took hold, walls already poured above the cap, perimeter security designed around height — all of it now sits on the wrong side of the rule. Retrofitting a boundary wall is not a trivial line item; for a developer pricing a gated scheme in KSh, security has long been a selling point, and the Code asks them to deliver it differently.
The market will adapt as it always does, towards landscaping, setbacks, lighting and electronic monitoring rather than sheer height. The transition cost, though, is real and it is being passed down the chain to buyers and tenants. Rules change cheaply on paper and expensively in concrete.
The Enforcement: The Gap Between Code and Compound
The harder question is whether the cap will hold. Kenya has rarely struggled to write good planning law; it has struggled to enforce it against owners with the means to ignore it. The National Construction Authority, county planning departments and City Hall now carry a standard that is easy to measure with a tape and hard to apply against an estate full of established walls. As reported by Capital FM, the regulator’s own warning that fortress walls breach the rules is itself an admission of how widespread the breach already is.
For the region this is a familiar contest. From Kigali’s tidy zoning to Kampala’s sprawl, East African cities are all testing whether a written code can outrank entrenched private behaviour. The walls themselves are a symptom of a deeper shortfall — years in which residents trusted concrete more than they trusted policing, and built upward because the public realm felt unsafe. A height cap does not address that underlying anxiety; it only removes the most visible response to it. Unless the security calculus that produced fortress walls changes, owners will look for other ways to wall themselves in, and enforcement will be chasing the symptom rather than the cause. A height limit is only as tall as the will to measure it.
For an operator the read is practical. Anyone designing, financing or buying in Nairobi should now price perimeter security as a design problem rather than a height problem, and assume the 2.4-metre line will eventually be checked. The wall that protected the plot may now be the thing that fails inspection.




