Why was Kyoto the capital of Japan?
Learn why Emperor Kanmu chose the site of Kyoto in 794, how the city served as imperial capital for over a thousand years, and what changed when the court moved to Tokyo.
Published October 20, 2026 at 9:53 PM JST | By Tokyo Paul
Quick answer: Kyoto, then called Heian-kyo, became Japan's imperial capital in 794 when Emperor Kanmu moved his court there, and it remained the seat of the emperor for more than a thousand years. The court relocated to Tokyo after 1868. Kyoto was never formally declared to have stopped being the capital, and dates are often simplified.
The move to Heian-kyo in 794
Japan's capital has moved several times in history. In 794, Emperor Kanmu moved the imperial court from Nagaoka-kyo to a new city called Heian-kyo, a name usually translated as "capital of peace and tranquility." Reference works say that the previous site suffered from flooding and other problems, and that a court adviser recommended a fresh start. The move also marks the beginning of the Heian period, one of the best-known eras in Japanese history.
The site was chosen at Kadono, a spot between two rivers, with mountains nearby and good access by water and land. The location followed ideas about geography associated with Chinese tradition, which treated mountains, rivers and orientation as signs of a lucky place. Kyoto still sits in a basin ringed by hills today.
How the city was laid out
Heian-kyo was planned on a grid. It was a rectangle roughly 4.5 kilometers from east to west and 5.2 kilometers from north to south, according to reference works, and its design followed the earlier capital Heijo-kyo (modern Nara) and the Tang dynasty capital in China. The imperial palace stood at the center of the northern edge, and a broad avenue ran south from it, dividing the city into left (eastern) and right (western) halves.
The grid still shapes Kyoto. Blocks were numbered by rows, called jo, and columns, called bo, and the city had no surrounding wall. Because of this orderly plan, central Kyoto still has long straight streets that cross at right angles, which makes the old core easy to read on a map.
A thousand years as capital
The Kyoto tourism board states that Kyoto was Japan's capital for over a thousand years, starting in 794, and that many customs and religious traditions began here. Because the emperor and court lived here, the city developed courtly culture, Buddhist temples, Shinto shrines, tea ceremony, garden design and the arts of weaving and dyeing. It also became home to many emperors, aristocrats and later samurai leaders.
The tourism board adds that Kyoto has more than a thousand shrines and temples and about 20 percent of Japan's National Treasures and 15 percent of its Important Cultural Properties. This heritage helps explain why so many visitors see Kyoto as the place where traditional Japan is easiest to find. Fires, wars and rebuilding changed individual buildings, but the city's role as a cultural center remained. Many of the arts that visitors associate with Japan, including tea ceremony and formal garden design, grew in part from life around the court and the temples of the capital.
When power moved to Edo
For much of Japanese history, political power was not located in the same place as the emperor. When Tokugawa Ieyasu was named shogun in 1603, he built his government in Edo, now Tokyo, which became the effective seat of power. Reference works note that Kyoto remained the official capital during this period, and the emperor and court stayed in Kyoto.
In 1868, the Meiji Restoration ended the shogunate and returned political authority to the emperor. Edo was renamed Tokyo (meaning "eastern capital") that year. The emperor moved to Tokyo in 1869, according to one reference work, and has not lived in Kyoto since. Because sources give 1868 or 1869 for the move, many summaries simplify the date.
Is Kyoto still a capital?
Visitors often ask whether Kyoto is still the capital in some sense. Reference works say that Heian-kyo was never formally abandoned as the capital, and that Tokyo has effectively taken its role. Some people therefore say that Kyoto still holds the title in theory. In everyday use, Tokyo is regarded as Japan's capital because the government, the parliament and the emperor are based there.
Some sources also note that Japanese law does not spell out a formal definition of the word "capital," which is part of why the question is debated. Treat the statement that Kyoto never lost the title as an interesting argument rather than a rule. For practical travel, Kyoto is often called the old capital, and Tokyo is the current capital, and both descriptions are accepted.
Common mistakes
A common mistake is saying that Kyoto was the capital until the twentieth century or that it stopped being a capital because of a war. In fact the court moved after the Meiji Restoration, in the late 1860s. Another is mixing up Kyoto with Nara, the nearby city, which was an earlier capital called Heijo-kyo, before Nagaoka-kyo and Heian-kyo.
Some travelers assume Kyoto and Tokyo were the same city under different names. They are separate places: Edo was renamed Tokyo, while Heian-kyo became known as Kyoto. Travelers also sometimes expect Kyoto to look like a preserved ancient city. Fires and wars over the centuries mean that many buildings are later reconstructions, although the street plan and many traditions go back to the original capital. Finally, "Kyoto" and "Heian-kyo" are often used interchangeably, but historians use Heian-kyo for the city in its early centuries, particularly when speaking of the Heian period.
Planning tips and next steps
To feel the history, pair sites from different eras. The Kyoto tourism board's history and religion page introduces temples, shrines and traditions that connect to the capital's long past, and one festival, the Jidai Matsuri, includes a procession that represents different eras of the city's history. Check the official calendar for dates, tickets and viewing seats, which can change.
Plan at least two days in Kyoto, wear comfortable shoes and use the grid to find your bearings. A walk around the Imperial Palace area, which reflects the city's long link with the court, is a good starting point, and a temple or shrine visit afterward shows how religion and government were intertwined. This guide shares general information; rules change, so confirm details with the official agency or provider before you act. Licensed local guides can add context if you want a deeper understanding of the capital's past.
Frequently Asked Questions
Why did the capital move from Kyoto to Tokyo?
After the Meiji Restoration of 1868 ended the shogunate and returned authority to the emperor, Edo was renamed Tokyo and became the center of government. The emperor moved there in 1869, according to one reference work. Tokyo had already been the practical seat of power for the shogunate, which helped make the shift natural.
What was Kyoto called in the past?
Kyoto was founded as Heian-kyo in 794. The name Kyoto, often explained as meaning "capital city," came into common use later. Historians use Heian-kyo for the early city and the Heian period that began with its founding. Both names refer to the same place.
How long was Kyoto the capital?
The Kyoto tourism board says it served as Japan's capital for over a thousand years, beginning in 794. One reference work gives the period as 794 to 1868 or 1869, depending on how the court's move to Tokyo is dated. Summaries often simplify these dates.
Want to go deeper? Tokyo Paul's book 99 Things Japan Does Better Than Anyone Else is available on Amazon.
Further Reading
To explore further, see the Kyoto tourism board's page on history and religion and the Wikipedia article on Heian-kyo.
Keep Exploring
More guides from Tokyo Paul: How did Edo become Tokyo?, What is the difference between Kanto and Kansai? and Samurai History Timeline: From the Heian Period to Meiji.