learn/[id]

BASICS
18 min read
BASICS
Rikyu Hachimangu: The Origin of Iwashimizu Hachiman and the Spread of Hachiman Faith
Founded in 859 by the monk Gyokyo, who enshrined the Hachiman deity brought from Usa Hachimangu, Rikyu Hachimangu stands as the direct predecessor of Iwashimizu Hachimangu. Seated on the site of Emperor Saga's Kayo Detached Palace, this ancient shrine at Yamazaki holds the key to understanding how Hachiman faith spread from Kyushu into the heart of the capital region.
Contents
MOKUJI
1
Why Is It Called "Rikyu" Hachimangu?
2
The Lineage of Hachiman Enshrinement — From Usa to the Capital
3
The Enshrined Deities — Emperor Ojin and the Mountain God
4
Rikyu Hachimangu as the Birthplace of Sesame Oil — Another Layer of History
5
Summary
6
Frequently Asked Questions
The entrance of Rikyu Hachimangu in Oyamazaki, the ancient shrine that preceded Iwashimizu Hachimangu
In 859 CE, the monk Gyokyo (行教) enshrined the Hachiman deity brought from Usa Hachimangu in the province of Bungo, and in doing so founded the first sacred space that would become the direct predecessor of Iwashimizu Hachimangu. That original site is Rikyu Hachimangu in Oyamazaki, Kyoto Prefecture.
Why Is It Called “Rikyu” Hachimangu?
The Legacy of Emperor Saga’s Kayo Detached Palace
The name “Rikyu,” meaning detached palace, carries the full weight of this land’s history. The Oyamazaki area was once home to the Kayo Detached Palace (河陽離宮), also known as the Yamazaki Detached Palace, maintained by Emperor Saga for imperial excursions. Because the shrine was established on the grounds of this former imperial retreat, it came to bear the name Rikyu Hachimangu.
For a shrine to carry the name of an imperial palace is more than a geographical coincidence. It speaks to a founding that was already wrapped in sacred authority from the outset, the enshrinement of a powerful deity in a place already touched by imperial presence.
The Strategic Significance of Yamazaki
The location at the foot of Mt. Tennozan, near the confluence of the Katsura, Uji, and Kizu rivers, made Yamazaki one of the most critical crossroads in Japanese history. From ancient times through the early modern period, control of this junction meant control of movement between east and west, between the capital and the provinces.
It was precisely this accessibility that made Yamazaki the natural first landing point for a deity being brought from distant Kyushu into the heart of the capital region. Today, the shrine sits within walking distance of both JR Yamazaki Station and Hankyu Oyamazaki Station, though the sense of historical depth along the approach path speaks of far older journeys.
The precincts of Rikyu Hachimangu, where Gyokyo enshrined the Hachiman deity in 859
The Lineage of Hachiman Enshrinement — From Usa to the Capital
The Historical Mission Entrusted to Gyokyo
The head shrine of Hachiman faith is Usa Hachimangu in Oita Prefecture. Acting under an imperial edict from Emperor Seiwa, the monk Gyokyo made the long journey to Usa, received a divine oracle, and brought the Hachiman deity northward to the Yamazaki site at the edge of the capital region.
Shrine
Location
Role in the Lineage
Usa Hachimangu (Main Shrine)
Usa, Oita
Source of all Hachiman enshrinements across Japan
Rikyu Hachimangu
Oyamazaki, Kyoto
Founded 859 CE; first site where Gyokyo enshrined the deity after leaving Usa
Iwashimizu Hachimangu
Yawata, Kyoto
Established by Gyokyo on Mt. Otoko across the river; became the established guardian shrine of the capital
As this table shows, Rikyu Hachimangu occupies a pivotal position between Usa and Iwashimizu — a point of transition where the deity first touched the soil of the Kinai region before being enshrined on the more prominent hilltop across the river.
Why Was Iwashimizu Hachimangu Built on the Opposite Bank?
The reasons Gyokyo moved from Yamazaki to Mt. Otoko are thought to involve a combination of divine instruction, topography, and the political needs of the court. Mt. Otoko commands a sweeping view of the confluence of three rivers and occupies a position said to guard the rear-demon-gate direction of the capital, Heiankyo. For a shrine intended to serve as a national protector, the commanding height of the mountain offered both spiritual and strategic weight.
Rikyu Hachimangu, meanwhile, continued to preserve its own sacred identity as the place where Gyokyo first received the deity, a memory that the community of Oyamazaki has kept alive across the centuries.
The approach path of Rikyu Hachimangu in Oyamazaki
The Enshrined Deities — Emperor Ojin and the Mountain God
Three Deities and the Layers of Faith
The three deities enshrined at Rikyu Hachimangu are Emperor Ojin (応神天皇), Sakatoroke-no-Okami (酒解大神, identified with Oyamatsumi-no-Kami), and Hime-no-Sanshin (比売三神).
Emperor Ojin is the central deity of Hachiman faith — the deified form of the 15th emperor, associated with martial prowess and national protection. That the faith centered on this imperial ancestor spread from this very site in Yamazaki into the broader capital region is a fact that gives particular resonance to a visit here.
Sakatoroke-no-Okami, identified with the mountain deity Oyamatsumi-no-Kami, reflects the deep ties between this shrine and the natural landscape of Oyamazaki. The third group, Hime-no-Sanshin, mirrors the enshrined deities at Usa Hachimangu, making the connection to the source shrine explicit.
Hachiman Faith and the Warrior Aristocracy
One of the principal reasons Hachiman shrines proliferated across Japan was the adoption of the Hachiman deity as the tutelary god of the Minamoto clan. Just as Minamoto no Yoritomo developed Tsurugaoka Hachimangu in Kamakura as the spiritual heart of his government, Hachiman faith spread through the warrior class into every corner of the country. Tracing that lineage back to its source leads us here, to the site in Yamazaki where Gyokyo first placed the deity on its journey from Usa.
The main hall of Rikyu Hachimangu, an ancient Hachiman shrine enshrining Emperor Ojin
Rikyu Hachimangu as the Birthplace of Sesame Oil — Another Layer of History
The Medieval Economy of Oyamazaki
Alongside its role in the spread of Hachiman faith, Rikyu Hachimangu is celebrated as the birthplace of sesame oil production in Japan. The shrine priests are said to have invented a pressing implement called the nagaki, and by the medieval period the Oyamazaki Oil Guild (大山崎油座) had grown to dominate the distribution of sesame oil across the country, operating under the authority of the shrine.
This aspect of the shrine’s history illustrates something important about how sacred institutions functioned in medieval Japan: the religious and the economic were not separate spheres. The shrine’s authority guaranteed the guild’s privileges; the guild’s prosperity enriched the shrine. A detailed account of this remarkable history deserves its own article, but it is worth pausing in the shrine precincts to consider how much of medieval Japan’s daily life passed through this place.
The Surrounding Layer of History
The Oyamazaki area offers a remarkable concentration of historical sites. Mt. Tennozan, which rises behind the shrine, was the site of the decisive Battle of Yamazaki in 1582. Hoshakuji, on the slopes of the mountain, is an ancient temple said to date to the time of Prince Shotoku. Myokian preserves the Taian tearoom, attributed to Sen no Rikyu and designated a National Treasure. Walking between these sites, it is possible to feel the full span of Japanese history in a single afternoon.
Rikyu Hachimangu, sitting on the site of Emperor Saga's Kayo Detached Palace
Summary
Points to Note When Visiting
Both JR Yamazaki Station and Hankyu Oyamazaki Station are within a few minutes’ walk; the shrine is very accessible
Take time to consider the three enshrined deities individually — each reflects a different dimension of this site’s significance
Look for markers and displays relating to the shrine’s role as the birthplace of sesame oil production, which adds an unexpected economic dimension to the visit
The surrounding area lends itself to a half-day historical walk combining Mt. Tennozan, Hoshakuji, and Myokian
Walking the approach with the knowledge that this was once the site of an imperial detached palace gives the ordinary path an uncommon depth
Related Spots
Iwashimizu Hachimangu — The shrine Gyokyo established on Mt. Otoko after leaving Yamazaki; the principal Hachiman shrine of the capital region and direct successor in the lineage
Mt. Tennozan — Rising immediately behind Rikyu Hachimangu, this mountain was the site of the Battle of Yamazaki and remains a vivid reminder of the strategic importance of this location
Hoshakuji — An ancient temple on the slopes of Tennozan, lending further historical density to a visit to the Oyamazaki area
Myokian (Taian Tearoom) — A short distance from the shrine, this small temple preserves the only extant tearoom attributed to Sen no Rikyu
Dainenji — A nearby temple that completes the picture of the layered religious landscape around Oyamazaki
Frequently Asked Questions
What is the relationship between Rikyu Hachimangu and Iwashimizu Hachimangu?
The two shrines share a single founding act: the monk Gyokyo’s enshrinement of the Hachiman deity brought from Usa Hachimangu in 859 CE. Gyokyo first placed the deity at the Yamazaki site that became Rikyu Hachimangu, and subsequently established Iwashimizu Hachimangu on Mt. Otoko across the river. Rikyu Hachimangu is therefore regarded as the predecessor of Iwashimizu Hachimangu, the first place the deity rested on its journey into the capital region.
Why did Hachiman faith spread so widely across Japan?
Hachiman faith combined imperial lineage — the enshrined Emperor Ojin — with the protective functions of a martial deity, making it attractive to both the court and the warrior class. After the court-backed establishment of Iwashimizu Hachimangu near the capital, the Minamoto clan’s adoption of Hachiman as their tutelary deity drove a second wave of enshrinement across eastern Japan. The result is that Hachiman shrines are among the most numerous in the country, a legacy that begins with Gyokyo’s journey from Usa to this site in Yamazaki.
When is the best time to visit Rikyu Hachimangu?
The shrine is open for visits throughout the year. Spring, when the surrounding greenery is at its freshest, and autumn, when the leaves turn, are particularly beautiful times in the Oyamazaki area. Combining the shrine with a walk up Mt. Tennozan and visits to the nearby Hoshakuji and Myokian is best done in mild weather. Weekday mornings tend to be quiet, allowing for unhurried reflection in the precincts.
What does it mean for Rikyu Hachimangu to be the “birthplace of sesame oil”?
The shrine priests are said to have invented a pressing implement called the nagaki, making Oyamazaki the originating point of sesame oil production in Japan. In the medieval period, the Oyamazaki Oil Guild operated under the shrine’s authority and controlled sesame oil distribution across much of the country. This history illustrates how religious institutions in medieval Japan were inseparable from economic life, and adds a dimension to the shrine that goes well beyond conventional Hachiman faith.
Last updated: June 4, 2026
── END ──
This article was
♡ Helpful
I C H I G O I C H I E
Explore pilgrimage with the app
View in app