A historic Hachiman shrine near Goryokaku where the Republic of Ezo surrendered, ending the Boshin War in 1869.
Kameda Hachiman-gu is a Shinto shrine in the Hachiman-cho district of Hakodate, not far from Goryokaku Station, and while it is beloved by locals as a guardian shrine, its true fame rests on a single dramatic moment: it was here, in 1869, that the forces of the Republic of Ezo formally surrendered, bringing the Boshin War to its end and closing the age of the samurai in northern Japan.
The shrine itself is ancient by Hokkaido standards, its origins reaching back to the medieval period when the Kameda area was one of the earliest Japanese settlements on the island. Dedicated to Hachiman, the deity of war and protection, it served the farming and fishing communities of the district for centuries and remains an active center of local worship, busy with hatsumode crowds at New Year and with seasonal festivals through the year.
But it is the events of the spring of 1869 that draw history-minded visitors. As the last stand of the pro-Tokugawa rebels collapsed at the star fort of Goryokaku nearby, the leaders of the short-lived Republic of Ezo — including the celebrated Enomoto Takeaki and the Shinsengumi remnant — brought the fighting to a close. The formal surrender ceremony is remembered as having taken place at Kameda Hachiman-gu, making the quiet shrine grounds the symbolic endpoint of Japan's civil war and of the samurai era itself. For anyone following the Bakumatsu history that saturates Hakodate — Goryokaku, Hijikata Toshizo's memorial, the fort tower — this shrine is the closing chapter.
Today the grounds are peaceful and unpretentious: a torii, an approach lined with trees, a dignified main hall, and the everyday rhythms of a neighborhood shrine. Cherry trees bring blossom in spring and the surrounding trees color in autumn. A historical marker recalls the shrine's role in 1869, and visitors can collect a goshuin seal at the office.
Because it sits near JR Goryokaku Station and is only a short distance from the star fort and its tower, Kameda Hachiman-gu slots neatly into a Goryokaku-focused day of history. Take a JR train — covered by the Japan Rail Pass — to Goryokaku Station and walk toward Hachiman-cho, or reach it easily by bus or car. Allow around half an hour to walk the grounds and read the markers. Its combination of everyday local devotion and world-changing history in one modest yard is exactly the kind of layered experience that makes exploring Hakodate so rewarding.
A local's tip
This is where the Republic of Ezo's forces formally surrendered in 1869 — you're standing at the spot the old samurai order effectively ended in Hokkaido.
Best time to visit
New Year, or any calm daytime
Getting there
From JR Goryokaku Station walk toward Hachiman-cho; the shrine's grounds and torii lie a short distance from the station in a residential district.
Good to know
- Parking
- Restrooms
- Goshuin (seals)
Plan the whole trip offline
Kameda Hachiman-gu is one of many places in the Real Japan app — with turn-by-turn directions, nearby spots and full offline maps you can use with no signal.



