Sumimasen Guide
🌐 Language

Home › Nationwide rules › Experiences

Nationwide rule · Experiences

Part of our Edo Japan feature ›

Last checked: October 2026

Bakumatsu Explained: How the Edo Period Ended, and Where to See It

This page contains affiliate links.

The star-shaped fort of Goryokaku seen from above, with green lawns inside its moat and the city around it
Goryokaku in Hakodate (Hokkaido), seen from above. The star shape is easiest to see from high up.Photo: lumoplank · CC0 · Photo details

The last years of the Edo period are called bakumatsu, "the end of the shogunate." In about 15 years, Japan went from Perry's black ships to a new government under the emperor. This guide explains who fought whom and why, in plain words, using Japanese encyclopedias, the National Diet Library, the Japan Tourism Agency and the official pages of the castles and museums (checked October 2026). It ends with four places where you can still stand where it happened: Nijo Castle in Kyoto, Perry Park in Yokosuka (Kanagawa), Tsurugajo Castle in Aizuwakamatsu (Fukushima) and the star-shaped fort of Goryokaku in Hakodate (Hokkaido).

  • The short answer: from the black ships to the emperor's government
  • A timeline from 1853 to 1869
  • Perry, the treaties and "revere the emperor, expel the barbarians"
  • Who was against whom: a simple chart
  • The shogun gives up power at Nijo Castle
  • The Boshin War, from Kyoto to Hakodate
  • Where to see it: Nijo Castle, Perry Park, Tsurugajo and Goryokaku

The short answer

The Edo period ended because the shogunate could no longer hold the country together after Japan was forced open to the West. Commodore Perry's American warships arrived in 1853, and the shogunate signed treaties without the emperor's approval. Anger at the foreigners and at the shogunate grew into a movement to "revere the emperor." Two powerful domains in the west, Satsuma and Choshu, became allies in 1866. In 1867, the 15th shogun, Tokugawa Yoshinobu, returned political power to the imperial court, and the decision was announced at Nijo Castle in Kyoto. A short civil war, the Boshin War, followed in 1868 and 1869 and ended at Goryokaku in Hakodate (Hokkaido). The new Meiji government made Edo its capital and renamed it Tokyo. Historians call the whole change the Meiji Restoration.

A timeline from 1853 to 1869

Japan used its own calendar, based on the moon, until 1873, so most dates in Japanese records are not the same as Western dates. In this guide, months and days follow the old Japanese calendar unless we say otherwise; years are the usual Western years.

The end of the Edo period at a glance Timeline of the end of the Edo period, 1853 to 1869 1853: Perry's black ships arrive off Uraga. 1854: a treaty opens the ports of Shimoda and Hakodate. 1858: a trade treaty is signed without the emperor's approval. 1866: Satsuma and Choshu become allies. 1867: the shogun returns power to the court, announced at Nijo Castle. 1868: the Boshin War begins and Edo Castle is handed over. 1868: Edo is renamed Tokyo and the Meiji era begins. 1869: Goryokaku surrenders and the war ends. 1853 Perry's black shipsarrive off Uraga 1854 A treaty opens Shimodaand Hakodate 1858 Trade treaty signedwithout the emperor's OK 1866 Satsuma and Choshubecome allies 1867 Shogun returns power(Nijo Castle) 1868 Boshin War begins;Edo Castle handed over 1868 Edo renamed Tokyo;the Meiji era begins 1869 Goryokaku surrenders;the war ends
Drawn for this guide from Japanese encyclopedias, the National Archives of Japan and Nijo Castle's official history page (checked October 2026).

Perry's black ships open Japan

For more than 200 years, the shogunate had kept contact with the outside world to a few gateways (our guide to the Edo period explains how). That changed on July 8, 1853 (Western calendar), when Commodore Matthew Perry of the United States Navy arrived off Uraga, at the mouth of Edo Bay, with 4 warships, according to Nipponica. He landed at Kurihama nearby and handed over a letter from the American president asking Japan to open its ports. Japanese people called the dark, steam-powered ships the kurofune, the "black ships."

Perry came back the next year with more ships, and in 1854 the shogunate signed the Treaty of Peace and Amity with the United States, which opened the ports of Shimoda and Hakodate to American ships for supplies. In 1858, a trade treaty followed. Nipponica and Heibonsha's encyclopedia explain that the shogunate asked the imperial court to approve it and was refused, and that the shogun's chief minister, Ii Naosuke, signed it anyway. That decision split the country.

"Revere the emperor, expel the barbarians"

The slogan of the angry side was sonno joi: sonno, "revere the emperor," and joi, "drive out the foreigners." Japanese dictionaries describe it as the political idea of the late Edo period, spread by many lower-ranking samurai. After the trade treaty was signed without the court's approval, supporters attacked Westerners and Western ships. Over time, the movement turned from "expel the foreigners" into "bring down the shogunate and restore rule by the emperor."

Kyoto, where the emperor lived, became the center of the struggle. To keep order there, the shogunate appointed the lord of the Aizu domain, Matsudaira Katamori, as Protector of Kyoto, and a band of swordsmen called the Shinsengumi worked under him. Our guide to the Shinsengumi tells their story.

Who was against whom

The two strongest opponents of the shogunate were Satsuma (today's Kagoshima Prefecture) and Choshu (today's Yamaguchi Prefecture). For years they were rivals themselves. In 1866 they made a secret military alliance, brokered by Sakamoto Ryoma and Nakaoka Shintaro of the Tosa domain, according to Japanese encyclopedias. The Kyodo News glossary quoted there says the shogunate lost much of its authority as a result.

Who was against whom at the end of the Edo period The main sides at the end of the Edo period At the top, the imperial court in Kyoto. On the left, the shogunate side: the Tokugawa shogunate under Shogun Yoshinobu, the Aizu domain, which guarded Kyoto, and the Shinsengumi, under Aizu's command. On the right, the side that formed the new government: Satsuma, with Saigo Takamori, and Choshu, which fought the shogun's army; they became allies in 1866. Below them, the Tosa domain, whose Sakamoto Ryoma helped broker the alliance. In 1867 the shogun returned power to the court; in 1868 a new government formed around the court. At the bottom: the Boshin War of 1868 to 1869, which the new government won. Imperial courtin Kyoto 1867: power returned1868: new government Tokugawa shogunateShogun Yoshinobu Aizu domainGuarded Kyoto ShinsengumiUnder Aizu's command Satsuma domainSaigo Takamori Choshu domainFought the shogun Tosa domainRyoma helped broker 1866 alliance Boshin War, 1868–69:the new government wins
Drawn for this guide from Japanese encyclopedias (checked October 2026). A simplified chart: many other domains took sides or changed sides.

1867: the shogun returns power at Nijo Castle

By 1867 the shogunate was in a weak position. The Tosa domain urged the shogun to hand power back to the court himself, so that the Tokugawa family could keep a place in a new council of domains, Japanese encyclopedias explain. According to Nijo Castle's official history, on the 13th day of the 10th month, Tokugawa Yoshinobu gathered senior retainers of 40 domains in the Ohiroma, the great hall of the Ninomaru Palace, and asked for their views. On the 14th he offered to return political power to the court, and the court accepted on the 15th. This is called taisei hokan, "the return of political power to the emperor." Digital Daijisen notes that it ended about 700 years of government by warriors.

The plan did not go the way the shogun hoped. In the 12th month, the shogunate's opponents carried out a coup at the court, known as the "restoration of imperial rule," and a new government was set up without the Tokugawa family.

The Boshin War, 1868 to 1869

The fighting that followed is named after the year 1868, boshin in the old cycle of years. Japanese encyclopedias date it from the Battle of Toba-Fushimi near Kyoto, which began on the 3rd day of the 1st month of 1868, to the surrender at Goryokaku in Hakodate on the 18th day of the 5th month of 1869.

The Meiji Restoration

In 1868, while the war was still going on, Edo was renamed Tokyo and the era name changed to Meiji. The emperor moved from Kyoto and made Edo Castle his residence (the Edo period guide has the details). In the years that followed, the new government abolished the domains and the samurai class. Historians call this whole change, from the end of the shogunate to the new state under the emperor, the Meiji Restoration (Meiji ishin).

Where to see the end of the Edo period

The four places below cover the story from start to finish: the arrival of the black ships, the shogun's decision, the siege in the north and the last battle. They are far apart, so most travelers choose the one on their route: Kyoto for Nijo Castle, a day trip from Tokyo or Yokohama (Kanagawa) for Kurihama, Fukushima for Aizuwakamatsu and Hokkaido for Hakodate.

Nijo Castle, Kyoto

Nijo Castle was the shogun's residence in Kyoto, and the Ninomaru Palace still stands. Its great hall is where Yoshinobu asked the domains for their views before returning power in 1867, says the castle.

The wide wooden buildings of the Ninomaru Palace with curved roofs, behind a row of pine trees and a gravel courtyard
The Ninomaru Palace at Nijo Castle, Kyoto, where the shogun's decision to return power was announced.Photo: Wiiii · CC BY-SA 3.0 · Photo details

Perry Park, Kurihama in Yokosuka (Kanagawa)

Perry landed on the beach at Kurihama on July 14, 1853 (Western calendar), according to Yokosuka's official tourism site. Perry Park now stands there, with a monument unveiled on July 14, 1901, its inscription written by Ito Hirobumi, Japan's first prime minister, and the small Perry Memorial Hall with materials and models about his visit. The site lists the hall as closed on Mondays, on the day after a national holiday and from December 29 to January 3, and gives the fee as free; it does not list the hours, so call ahead if you are making a special trip (+81-46-834-7531, 046-834-7531, in Japanese). Take a bus bound for Nobi Kaigan from Keikyu Kurihama Station and get off at "Perry Kinenhi" (about 10 minutes). There is no parking.

Tsurugajo Castle and Mount Iimori, Aizuwakamatsu (Fukushima)

Tsurugajo is the castle that held out for a month in 1868. The keep you see today is a museum. According to the castle's official site, it is open every day from 8:30 to 17:00 (last entry 16:30). Admission is 410 yen for adults and 150 yen for children, or 520 yen with the Rinkaku tea house.

A tall white castle keep with red roof tiles on a stone base, under a blue sky with pine trees in front
Tsurugajo Castle in Aizuwakamatsu (Fukushima). The keep is now a museum.Photo: Umako · Public domain · Photo details

Mount Iimori, a hill in the same city, is where the Byakkotai are buried. The Japan Tourism Agency's explanation says the Byakkotai ("White Tiger Force") was an Aizu unit made up mainly of boys aged 15 to 17, at first meant only as reserves. In 1868, 20 members of one squad were cut off from their unit and climbed Mount Iimori. Believing that all was lost, they took their own lives there. One of them, Iinuma Sadakichi, survived because a local woman found him, and after his death he was buried beside the other 19. Visitors can pay their respects at the graves by climbing the steps to the top or by taking an escalator for a small fee. The Byakkotai Museum of History and Sazaedo Temple are at the foot of the hill. Our column on seppuku and harakiri tells the story as history.

My visit

When I was a child, I visited the graves of the Byakkotai on Mount Iimori. Because I was a child myself at the time, I was surprised that children about my own age had risked their lives in service to their lord. If you go on your trip, wear comfortable sneakers that are easy to walk in.

The graves are a place of remembrance. Speak quietly, stay on the paths and don't touch the stones.

Goryokaku, Hakodate (Hokkaido)

Goryokaku is the place to go if you only have time for one. It is a fort shaped like a five-pointed star, built by the shogunate in the last years of the Edo period. According to the Agency for Cultural Affairs and Goryokaku Tower's history page, work began in 1857 and the fort was mostly finished in 1864, when the Hakodate Magistrate's Office, the shogunate's government office for the area, moved inside. It was designed by the scholar Takeda Ayasaburo, who learned from French officers and modeled the earthworks on the fortified cities of Europe. It was here that Enomoto's forces made their last stand, and its surrender in 1869 ended the Boshin War.

A low wooden government building with a small watchtower on its roof, and a tall white observation tower behind it
The rebuilt Hakodate Magistrate's Office inside Goryokaku, with Goryokaku Tower behind it.Photo: 663highland · CC BY 2.5 · Photo details

Why a star? Each point is a bastion, a part of the wall that sticks out, a design used in Europe for forts that had to face cannons. The Japan National Tourism Organization explains that the star shape allowed more guns to be placed and reduced the blind spots that cannon fire could not reach: soldiers on one point could cover the walls of the next.

My visit

I have a memory of going to Goryokaku with my grandmother when I was a child. Back then, I just thought the star was a cool shape. When I later learned why Goryokaku was built that way, I was amazed at how carefully it had been designed as a military fortress.

Today Goryokaku is a park and a Special Historic Site of Japan. Plan for these three things:

Shinsengumi fans also come to Hakodate: Hijikata Toshizo, the group's vice-commander, fought here and died in the battle for the town in 1869. A monument marks the place where he is said to have fallen; see our Shinsengumi guide.

What to do on your trip

Last reviewed: October 25, 2026. Hours and fees can change, so check the official pages below before you go.

References

Related guides

More from our Edo Japan feature

More nationwide: Experiences

Photos on this page are credited on the Photo credits page (author, source, license and changes).

Illustration credits