Kowloon Walled City was originally built as a Chinese military fort to guard the coastal approach to the Kowloon Peninsula. What started as a small garrison outpost during the Qing dynasty eventually became one of the most densely populated places on Earth, not through deliberate planning, but through a unique jurisdictional accident that left a tiny patch of land ungoverned for decades.
The Original Military Outpost
The site began as a small coastal fort meant to house a garrison of Chinese soldiers. Positioned on the Kowloon Peninsula, it served as a strategic watchtower over the surrounding waters and a base for managing trade and defending against pirates. The fort was walled, compact, and purely functional, a military installation serving the Qing dynasty’s interests in southern China.
Everything changed in 1898, when Britain negotiated a 99-year lease on the New Territories surrounding Hong Kong. China insisted that the walled city, measuring roughly 0.1 square miles (about 6.5 acres), be excluded from the lease. It would remain Chinese sovereign territory, a small enclave of mainland authority sitting inside British-controlled Hong Kong. This carve-out was the seed of everything that followed.
The Jurisdictional No-Man’s Land
In practice, neither government effectively policed the walled city. Britain treated it as outside its jurisdiction. China lacked the practical ability to govern a tiny enclave surrounded by British territory. The result was a place where no building codes were enforced, no taxes were collected, and no police force patrolled regularly. This vacuum made the walled city a magnet for anyone looking to operate outside the reach of either government, and it gained a reputation as a haven for gambling, vice, and illicit trade.
Civil War Refugees and Explosive Growth
The walled city remained relatively small until the end of World War II. After Japan’s surrender in 1945, China announced it intended to reclaim the area. Nationalist officials drafted a plan in November 1946 to restore formal administration, including offices, schools, and police. But that plan never materialized. The Chinese Civil War between Nationalist and Communist forces was intensifying, and waves of refugees fled south into Hong Kong.
By 1947, roughly 2,000 squatters had moved into the walled city. They came because it was one of the few places in Hong Kong where they could settle without facing British immigration controls or housing regulations. As the Communist victory in 1949 drove even more people out of mainland China, the population continued to climb. Over the following decades, the walled city transformed from a low-rise garrison ruin into a towering, self-built megastructure, with buildings stacked so close together that sunlight barely reached the ground-level alleyways.
How 33,000 People Lived in 6.5 Acres
At its peak in the 1980s, the walled city housed an estimated 33,000 residents within those 6.5 acres, making it one of the most densely populated places ever recorded. Buildings rose as high as 14 stories, constructed without architects or engineers, each new floor added informally on top of the last. The rooftops merged into a single connected plane where children played and residents hung laundry.
Without municipal services, residents improvised. Water came from two sources: buckets carried from municipal standpipes outside the city walls, or wells dug directly beneath buildings. Those wells tapped into groundwater that sat directly below open sewers running through the alleyways, with no protection from contamination. Electricity was stolen from the municipal mains through illegal connections. Naked cables hung in loops and tangles above the narrow passageways, a constant hazard.
Despite these conditions, the walled city developed its own internal social order. Residents organized community associations, and the city contained hundreds of small businesses: doctors’ offices, dentists, food manufacturers, and shops. Many of the dentists and doctors were trained professionals from mainland China whose qualifications weren’t recognized under British Hong Kong’s licensing system. The walled city was the one place they could practice.
Why It Was Finally Torn Down
The walled city’s fate was sealed by the 1984 Sino-British Joint Declaration, which set the terms for China’s resumption of sovereignty over all of Hong Kong in 1997. With the jurisdictional ambiguity about to disappear, both governments agreed to the Hong Kong government’s proposal to demolish the walled city and replace it with a park. Clearance and relocation of residents began in the late 1980s, and demolition was completed in 1994.
The site reopened in 1995 as Kowloon Walled City Park, designed in a traditional Chinese garden style. A few original features survived. The Yamen, the old Qing-era administrative building, still stands at the center of the park. At the original South Gate location, workers unearthed flagstone pavement, building cornerstones, a drain, and two granite plaques inscribed with “South Gate” and “Kowloon Walled City” in Chinese characters. These relics, now preserved as declared monuments, are among the only physical traces of a place that existed for over a century in the gap between two empires.

