You cannot just walk in. You call a phone number, book a guided tour, and spend the next forty minutes inside a building that spends the entire visit quietly lying to you about its own height.
The reservation line only takes phone calls — no website, no app, no same-day booking you can rely on. Someone on the other end asks for a time slot and a headcount, and you hang up booked onto something you still do not fully understand.
From the street in Kanazawa's old temple district, Teramachi, Myoryuji looks exactly like the eighty-odd other temples around it: a wooden gate, a tiled roof, two modest storeys, nothing that explains why you needed a reservation at all.
Twenty minutes into the tour, the guide lifts a floor panel that was not visible a second earlier, and you are looking straight down into a spiked pit that used to sit directly beneath the offering box, where worshippers once dropped their coins without the faintest idea what was underneath them.
Myoryuji was built in 1643 on the orders of Maeda Toshitsune, third lord of the Kaga domain — at the time the richest and most populous domain in Japan after the shogun's own territory. That wealth was a problem as much as an asset. The Tokugawa shogunate in Edo had spent decades putting down rival lords, and a domain as large as Kaga was watched constantly for any sign it was arming itself for a fight the shogunate might start first. One of the tools Edo used to keep an eye on that was a flat rule: ordinary buildings outside a castle's own walls were capped at three storeys, specifically so no clan could quietly build a fortress and call it something else.
Toshitsune's answer was to build something that followed the letter of that law while making a joke of its spirit. From the outside, Myoryuji still reads as two unremarkable storeys. Inside, by the most consistent counts, it is four storeys spread across seven internal levels, linked by 29 separate staircases — some barely a shoulder-width apart, some that climb half a floor before doubling back on themselves, some that simply end at a blank wall. The main building holds 23 rooms in total, tucked into a floor plan that was never meant to be intuitive. None of it is visible from the street. The roofline was engineered, deliberately, to keep the building legal while the inside did whatever Toshitsune actually wanted.
The nickname "Ninja Temple" has no documented connection to the historical ninja — the spies and saboteurs who get all the attention in gift shops. What the building actually was, according to the temple's own account and local records, was a disguised military watch post. A lookout near the top gives a clear sightline toward Kanazawa Castle and across the surrounding plain, and the maze of short staircases and dead-end corridors was built to slow down anyone who got that far, buying enough time for a defender to raise the alarm and reach the castle first. The attack it was built for never came. The nickname arrived later, once visitors started comparing the trick floors to something out of a ninja film, and it stuck so completely that most people now assume it is simply the building's name.
The pit beneath the offering box is real, and so is a second one hidden under a different staircase, built to catch anyone who ran up it without already knowing exactly where to step. A well in one of the lower rooms carries a persistent local legend of a tunnel connecting it to the castle — supposedly used for a quick escape in case of siege. It is a good story, and almost certainly not a true one: the temple was relocated to this exact site in 1643, so even if an older passage existed somewhere else entirely, it has no plausible way of reaching this building. Guides mention the legend anyway, because it is the kind of detail a seven-level trick temple earns the right to keep telling.
Myoryuji is still a working temple, not a museum piece, which is part of why visiting it feels so deliberately inconvenient. Tours are Japanese-language only, run in small timed groups, with a short English information sheet handed out rather than translated commentary — arrive even a few minutes late and you are left behind for the next slot, no exceptions. Photography is banned throughout the interior, which keeps the visit a tour rather than a queue of people backing up the stairs for a photo. None of that is an accident either. The building has spent close to four hundred years being harder to get into than it looks, and the modern version of that is a phone-only reservation line and a sign asking you to put the camera away.
The instinct is to read Myoryuji as playful — a temple with secret trapdoors, built by a lord with a sense of humor. It wasn't playful at all. Every staircase that goes nowhere and every room with no obvious exit exists because a wrong move in 1643 could have ended the Maeda family's domain entirely, and a three-storey height limit was the shogunate's way of making sure no one built anything that could outlast a siege. The absurdity is the engineering: a building legally forbidden from being tall enough to defend a castle, redesigned from the inside out until it effectively was one anyway. Nobody who built this was having fun. They were finding the one gap a very dangerous law left open, and building a whole temple into it.
- The main building has 23 rooms and 29 staircases, and reads as two storeys from the street while actually containing four storeys across seven internal levels — a design built specifically around the Tokugawa shogunate's three-storey limit on buildings outside castles.
- Built in 1643 on the orders of Maeda Toshitsune, third lord of the Kaga domain, then the wealthiest domain in Japan apart from the shogun's own holdings and, for that reason, closely watched from Edo.
- There is no documented historical link between the building and the ninja; access is by advance phone reservation only, tours run in Japanese with an English handout, and photography is not allowed inside.
Getting there
From Kanazawa Station, take the Kanazawa Loop Bus about 15 minutes to the Hirokoji stop, then walk five minutes into the Teramachi temple district. Reservations are phone-only and required in advance — call ahead to book a time slot and confirm the current hours, which shift by season — and you are asked to arrive at least ten minutes before your slot, since latecomers are not added to the tour already in progress.