Mountain and flatland castles, enclosures, gate layouts, moats, stone walls, towers and turrets: the terms you will run into at Japanese castles, explained with illustrations.
The map says "Ninomaru" (the second enclosure), but when you get there, all you find is a lawn. That happens at Japanese castle sites. Even without buildings, the drop in the ground and the entrance to each section still show how the castle was defended.
In this guide
The castle in the top picture is fictional. The landscape and model-style pictures on this page are AI-generated illustrations.
Mountain, Hilltop and Flatland Castles, and Their Enclosures
| Type | What it is |
|---|---|
| Mountain castle (yamajiro) | A castle with sections built on a mountain ridge or slopes. Kanayama Castle in Gunma is an example, built along the ridges that spread out from Mount Kanayama. |
| Hilltop castle (hirayamajiro) | A castle that uses a hill on a plain and the land around it. At Himeji, you look up at Himeyama hill from the town, and the enclosures inside also sit at different heights. |
| Flatland castle (hirajiro) | A castle built on level ground. Matsumoto Castle is an example, surrounded by water moats. |
| Sea castle (umijiro) | A castle with moats or boat landings linked to the sea. At Imabari Castle, seawater was drawn into the moats, and boats once entered the castle. |
The names for mountain, hilltop and flatland castles are based on the height of the land. "Sea castle" refers to one that used the sea for its moats or for boat access.
Why Are There Different Types of Castles?
A castle on a mountaintop was easy to defend. But it was far from farmland and main roads, which made it a poor center for governing a domain, and getting supplies up there took work. Broadly speaking, from the early 1500s, castles were also built on hills, and later on flat land. By the late 1500s, warlords had moved from mountaintops to hills and plains. Even so, flatland castles were also built during the Warring States period, in places such as wetlands. A castle on a plain could get food and weapons more easily from the farms and workshops around it.
The trade-off was that flat ground could not offer the natural protection of mountains. Flatland castles like Matsumoto were often strengthened with several rings of moats. Matsumoto Castle once had three of them.
Castle Names by Purpose
“Mountain castle” and “flatland castle” describe the kind of land a castle was built on. Another set of names describes what a castle was for.
| Name | Purpose |
|---|---|
| Honjo (main castle) | The central castle from which a lord governed the domain; also called the kyojo, the lord’s home castle. |
| Shijo (branch castle) | A castle placed around the main castle to defend the domain. |
| Sakaime-no-shiro (border castle) | A castle on the border with enemy territory. |
| Tsume-no-shiro (last-stand castle) | A castle to hold out in if the enemy could not be stopped at the main castle. |
| Tsukejiro (siege castle) | A temporary castle built as a base for surrounding an enemy castle. |
The Hojo of Odawara (often called the Later Hojo) used Odawara Castle as their main castle and spread a web of branch castles around it. In the 1581 siege of Tottori Castle, Hashiba (later Toyotomi) Hideyoshi built temporary siege castles, including one at the spot later called Taikoganaru, as he worked to starve the defenders out.
Castle Layout vs. Enclosure
The overall plan of where a castle's enclosures, moats and entrances go is its nawabari, or layout. Each section marked off by moats, earthworks or stone walls is a kuruwa, or enclosure. It can also be written with a different Japanese character (郭). The Honmaru (main enclosure) and Ninomaru (second enclosure) are both kuruwa.
At the Kanayama Castle site in Ota, Gunma Prefecture, for example, you will find the stone walls, ridge cuts and earthworks of a mountain castle built along a ridge.
How castles were used also varied by period and place. Some are Warring States-era (about 1467–1600) mountain sites with enclosures strung along a ridge. Others are early modern castles with palaces and castle towns, which also had room for government and daily life. Parts of old Edo Castle's three central enclosures are now the East Gardens of the Imperial Palace.
Sources (in Japanese unless marked English): Kisarazu City digital archive, castle glossary / Koka City, castle terms / Minakami Tourism Association, Nagurumi Castle / Ota City, Kanayama Castle overview / Matsumoto Castle, its value as castle architecture / Himeji Castle official site, size of the castle / Imperial Household Agency, East Gardens structures and gardens / Imabari City, about Imabari Castle / Japan Tourism Agency, What Are Japanese Castles? (English) / Japan Tourism Agency, Matsumoto Castle and Its Castle Town (English) / Kanagawa Prefectural Board of Education, lecture notes on Odawara’s branch castles / nippon.com, types of Japanese castles (English)
Castle Entrances: Koguchi, Masugata and Umadashi
A koguchi is an entrance to a castle or to one of its enclosures. Some run straight through, and others turn partway. At sites where the gate is gone, a break in an earthwork or stone wall may mark where the entrance was.
Why Does the Path Turn at the Entrance?
An entrance was where the castle’s own people passed through, and also where an enemy tried to break in. When the path bends, attackers cannot charge straight ahead and are slowed down. That made it easier for the defenders to fight them off.
Masugata: The Space Between Two Gates
A masugata is a square space enclosed by stone walls, plaster walls or similar barriers. In the one in this diagram, the outer and inner gates are on adjoining sides. Anyone coming through the outer gate changes direction inside the enclosure before going through the inner gate.
Getting through the first gate only brings you into a tight, walled space. To get farther into the castle, you have to pass through one more gate. At the Kurogane Gate of Imabari Castle, enemies inside the masugata could be attacked from three sides, including from above the gate.
Umadashi: A Small Outwork Outside the Entrance
An umadashi is a small section built just outside a koguchi entrance. It is marked off by a moat or similar barrier. In the example pictured, the path into the castle passes through it before reaching the gate.
What Was an Umadashi For?
An umadashi protected the entrance while letting the castle’s own soldiers go in and out safely. Soldiers entering the castle went into the umadashi first and then moved on to the koguchi. At the Hachigata Castle site in Saitama, excavations at the umadashi between the second and third enclosures have confirmed the remains of a gate and a stone-faced earthwork.
They also came in different shapes. In eastern Japan, the square kaku-umadashi is said to be typical of the Later Hojo clan’s castles, and the half-round maru-umadashi is said to be typical of Takeda clan castles. Suwahara Castle in Shizuoka was built in 1573 by a retainer of Takeda Katsuyori on his orders, and Tokugawa Ieyasu captured it in 1575. At the castle site, maru-umadashi paired with crescent-shaped moats survive. It has been suggested that the remains seen today may reflect remodeling by Ieyasu.
The Umadashi Gate at Odawara Castle stands at the front of the second enclosure. The gate you see today is a reconstruction. The Umadashi Gate, the inner Kabuki Gate and the stone and plaster walls enclosing the space form a masugata. "Umadashi Gate" is the name of the gate; "masugata" is the design of the entrance.
Sources (in Japanese): Kisarazu City digital archive, castle glossary / Matsumoto City, remains of the main gate masugata / Odawara City, Umadashi Gate / Yorii Town, umadashi / Yamanashi Prefecture, glossary: masugata koguchi / Imabari City, about Imabari Castle / Shimada City, Suwahara Castle site
Moats, Earthworks and Ridge Cuts
If you see a long, narrow hollow in the ground at a castle site, it may be what is left of a moat. Both water moats (mizubori) and dry moats (karabori) separate the ground inside from the ground outside.
A trench dug across a mountain ridge to cut off the path is a horikiri, or ridge cut.
Dorui are earthworks: raised banks of soil. They sometimes run like belts along one side of a moat. With a moat and an earthwork side by side, the difference in height is even greater.
What Moats and Slopes Were Designed to Do
| Feature | Purpose and how it works |
|---|---|
| Horikiri (ridge cut) | Stops attackers coming along a ridge. The dug-out soil was sometimes piled on the castle side to make earthworks. |
| Dobashi (earth bridge) | A strip of ground left undug across a moat, to keep a way through. |
| Kirigishi (cut slope) | The slope around an enclosure was cut into a steep face to keep attackers out. |
| Yokoya (flanking fire) | Bends and other features in a stone wall or earthwork let defenders attack the enemy from the side. |
The inner moat of Matsumoto Castle is about 60 meters (about 200 feet) wide. That is said to be about the farthest distance at which a matchlock gun (an early firearm) could still be highly accurate, and the width prepared the castle for gun battles.
At the Yamanaka Castle site in Mishima, Shizuoka Prefecture, you can see restored shoji-bori: moats with floors divided by earthen ridges. To protect the original ridges, they are now covered with added soil and grass, and their tops have been made wider and flat. An online article from the Mishima City local history museum (in Japanese) has a 1976 photo of the moats just after excavation.
The ridges in a shoji-bori are thought to have been a way to make it hard to move around inside the moat. Just after excavation, the ridges at Yamanaka were about 35 centimeters (14 inches) wide, with rounded tops. The tops of these ridges were so narrow that attackers crossing on them had to go in single file, while defenders could wait with bows or guns aimed along the line of a ridge. An attacker who lost his balance under attack and fell into the moat would have had a hard time climbing its slippery loam walls.
Sources (in Japanese unless marked English): Kisarazu City digital archive, castle glossary / Ota City, Kanayama Castle overview / Mishima City local history museum, grid moats of Yamanaka Castle / Okayama Prefecture, how castles were defended / Koka City, castle terms / Japan Tourism Agency, layout and features of Matsumoto Castle (English) / Matsumoto Castle official site, the main tower and its structure
3 Types of Japanese Castle Stone Walls
The shapes of the stones and the gaps between them depend on how much the stones were worked.
| Method | Features |
|---|---|
| Nozura-zumi (natural stones) | Built with stones left in their natural shapes. The outlines are irregular, and you may see small stones in the gaps. |
| Uchikomi-hagi (roughly worked stones) | The corners and contact points of the stones are worked before stacking. They fit together more closely than in nozura-zumi, but the face is still uneven. |
| Kirikomi-hagi (closely fitted stones) | The contact faces of the stones are matched when stacking. The joints are narrow, and each stone's outline looks crisp. |
At the Ishikawa Gate of Kanazawa Castle, the front wall inside the masugata is built of cut stone, while the left side uses roughly worked stone, so two finishes sit in the same spot. Walls of natural stone remain around the Higashi-no-maru (east enclosure).
To date a stone wall, you need more than the building method. You also need to know when each face was built and when it was rebuilt.
Why Use Different Building Methods?
At Kanazawa Castle, the different styles of stonework reflect when the walls were built. They were also chosen to suit the character and status of each spot. Around the outer edge of the castle are tall walls of natural or split stone, while the areas around the lord’s palace and gardens have cut-stone walls built with an eye to appearance.
Small stones are packed behind the face of a stone wall, where they help drain water, among other jobs.
Sources (in Japanese): Ishikawa Prefecture, stonework / Kanazawa Castle Park, museum of stone walls / Ishikawa Prefecture, Q&A on Kanazawa Castle's stone walls / Okayama City, notes on stone walls
Main Towers, Turrets and Palaces
A tenshu is a castle's main tower, in the heart of the castle. Among the yagura, or turrets, some guard the corners of enclosures or the sides of gates, and others, called watari-yagura, connect buildings. The goten, or palace, was used as the lord's residence and for government business.
What Were Main Towers and Turrets For?
The main tower (tenshu) is a hallmark of castles from the later Warring States period. Castles then were also the bases from which lords ran their territory. Three buildings at Matsumoto Castle (the main tower, or Great Keep; the smaller Inui tower; and the connecting turret, or watari-yagura, that links them) were built with combat in mind. They have 115 narrow openings, called sama, for firing bows and guns, plus 11 ishi-otoshi (“stone drops”) for firing guns. An ishi-otoshi is a section of wall that juts out, with a lidded opening in its floor.
Matsumoto’s Moon-Viewing Tower, added during the peaceful Edo period, has no defensive features. It was designed for quiet get-togethers.
The Inui Turret at Osaka Castle sits on a corner with a wide view and has stone-drop openings on the walls facing the moat. At the main gate, Otemon, the long turret known as the Tamon Yagura has gun ports. Above the gate is a “spear drop,” a device used against attackers trying to break through, for example by dropping spears on them from overhead.
4 Kinds of Turrets and Turret Gates
With a watari-yagura, people walk through the building; with a yagura-mon, they walk under it.
Himeji Castle's Linked Towers
Himeji Castle has a linked-tower layout: the main tower and three smaller towers are joined by connecting turrets. The long building between the main tower and the neighboring small tower is a watari-yagura. The west enclosure also has the Kesho-yagura (Cosmetic Tower) and a long row of rooms called the nagatsubone.
Main towers are also classified by their outward shape. A tower like Inuyama Castle's, which looks like a lookout set on a large roof, is the borogata (lookout style). One like Nagoya Castle's original tower (lost in 1945), which narrows at a regular rate as it rises, is the sotogata (tiered style).
Roof Tiers, Floors and Tower Bases
In descriptions of main towers, "ju" counts the outside tiers marked off by roofs, and "kai" counts the floors inside. Matsumoto Castle's main tower is described as five tiers and six floors: five tiers on the outside, six floors within.
The tower base of Edo Castle, in the East Gardens of the Imperial Palace, is a stone foundation rebuilt the year after the Great Meireki Fire of 1657 destroyed the tower. The tower itself was never rebuilt, and none has stood on this base.
Japan's 12 surviving main towers are those built in the Edo period (1603–1868) or earlier that still stand. Himeji and Matsumoto are among them. Descriptions of castle buildings distinguish between original survivors, restorations and reconstructions. Each building came to its present form in its own way.
Sources (in Japanese unless marked English): Himeji Castle official site, size of the castle / Himeji City, Himeji Castle structures / Himeji Castle official site, turrets / Himeji tourism bureau, turrets of Himeji Castle / Inuyama Castle, about the castle / Nagoya City, main tower project / Matsumoto Castle, visitor information / Imperial Household Agency, East Gardens structures and gardens / Matsuyama City, the 12 surviving towers / Nagoya Castle official site, Honmaru Palace / Japan Tourism Agency, What Are Japanese Castles? (English) / Japan Tourism Agency, layout and features of Matsumoto Castle (English) / Osaka City, turrets of Osaka Castle / Matsumoto Castle official site, the main tower and its structure
3 Castles to Walk: Nagurumi, Himeji and Kanazawa
For a castle ruin on foot: Nagurumi Castle site, Gunma. Its enclosures run in a line along the tip of a river terrace, divided by dry moats. On the way to the main enclosure, you cross the moats on wooden bridges built for visitors.
For gates and buildings together: Himeji Castle, Hyogo. The way from the Hishi Gate to the main tower takes you through a series of gates. Around the main tower, the small towers and the turrets connecting them are a highlight.
For comparing stone walls: Kanazawa Castle, Ishikawa. The masugata at the Ishikawa Gate has two faces built in different ways.
Sources (in Japanese): Kanazawa Castle Park, museum of stone walls

comment