The image of the samurai in a castle is pervasive and almost entirely wrong for most samurai. Castles were the lord’s headquarters. Samurai lived in the towns around them.

The Castle Town System

The jokamachi (城下町, castle town) was the standard settlement pattern of Edo Japan. Every domain’s main castle was surrounded by a town whose layout reflected the social hierarchy directly:

This arrangement was partly practical (defenders needed to reach the castle quickly), partly social (proximity to the lord reflected status), and partly political (the shogunate’s regulations specified where different classes should live).

The Buke-Zukuri Style

Buke-zukuri (武家造, warrior-class construction) was the architectural tradition associated with samurai residences. The core features:

For high-ranking retainers, the compound might include multiple buildings, guard quarters, stables, and an elaborate gate with roofing (nagaya-mon or yagura-mon) that indicated the resident’s status to any visitor.

Most Samurai Lived Simply

For the majority of samurai in the Edo period — particularly the lower-ranking bulk of the class — the reality was much more modest. Many samurai in Edo lived in row houses (nagaya) that differed little in size from those of merchants or artisans. [history]

The low-ranking samurai’s house might be three to four rooms, with a small entrance area (genkan), a tatami reception room (zashiki) of limited size, sleeping quarters, and a kitchen. The garden was minimal. The gate might be little more than a wooden fence with a simple entrance.

What distinguished even a modest samurai house from a commoner’s was the sword stand near the entrance, the particular formality of the reception room arrangement, and the social conventions observed inside — not necessarily the architecture.

Edo: The Great Exception

In Edo (Tokyo), the Tokugawa capital, the scale was extraordinary. The city’s population by the 18th century approached 1 million, with samurai districts occupying perhaps 70% of the city’s land area. High-ranking hatamoto (direct Tokugawa retainers) had substantial compounds within the city; thousands of lower-ranking retainers lived in modest row houses.

Edo’s samurai districts shaped the city’s geography — many modern Tokyo neighbourhoods trace their layout to Edo-period samurai residential planning. The very scale of samurai housing allocation was itself a demonstration of the class’s political and spatial dominance.