Rikyu Hachimangu Shrine (離宮八幡宮)
The shrine of the oil god, with the original Iwashimizu well

Quick facts
| Hours | The shrine does not state visiting hours (nor hours for the amulet counter or shrine office) |
|---|---|
| Admission | The shrine does not state a fee for visiting the grounds |
| Closed | The shrine does not list closing days |
| Reservations | No reservation is mentioned for visiting. Shichi-go-san blessings for children are booked during November (shrine events page) |
| Best time | No official guidance |
| Time needed | No official estimate |
| Access notes | 1 minute on foot from Yamazaki Station (JR Kyoto Line) and 3 minutes from Oyamazaki Station (Hankyu Kyoto Line). The shrine’s parking is for monthly contracts only, and no visitor parking is mentioned |
| Checked / official info | Checked on November 30, 2026 Rikyu Hachimangu Shrine official website (Japanese, via Google Translate) |
What Is Rikyu Hachimangu Shrine? | History and Origins
Rikyu Hachimangu Shrine (離宮八幡宮) stands right in front of JR Yamazaki Station in Oyamazaki, on the border between Kyoto and Osaka, facing the old Saigoku Kaido (西国街道) highway. Known as the birthplace of Japan’s perilla seed oil (egoma oil) production, it is called “Yuso” (油祖), the “ancestor of oil,” and is still worshipped as a shrine of the god of oil. It enshrines Hachiman (八幡), a Shinto deity of protection widely revered by the imperial court and later by samurai. According to the shrine, in the mid-9th century the monk Gyokyo (行教) was sent by Emperor Seiwa (清和天皇) to bring Hachiman from Usa Hachimangu in Kyushu to the capital. On his way back, at the river port of Yamazaki on the Yodo River, he saw a mysterious light on the hill at night; when he dug there, clear water welled up between the rocks, so he built a shrine on the spot and named it “Iwashimizu Hachimangu,” meaning “Hachiman of the clear water from the rocks.” Because the land had been the site of a detached palace (rikyu, 離宮) of Emperor Saga (嵯峨天皇), the shrine was later renamed Rikyu Hachimangu. Japan Tourism Agency notes that Iwashimizu Hachimangu Shrine (石清水八幡宮) on Mt. Otoko across the river has a very similar founding story. The present buildings date from after the grounds burned in the Kinmon Incident of the mid-19th century, a clash between the Choshu domain and shogunate forces, and after a railway took most of the shrine’s land in 1876; six of them, including the main sanctuary and worship hall, are Registered Tangible Cultural Properties of Japan.
Meeting Hachiman in Kamakura
In Kamakura, Tsurugaoka Hachimangu Shrine (鶴岡八幡宮) began when Minamoto no Yoriyoshi, an ancestor of Minamoto no Yoritomo, the founder of the Kamakura shogunate, brought Hachiman from Iwashimizu Hachimangu on Mt. Otoko and enshrined him near Yuigahama beach. While Rikyu Hachimangu is visited by people who make and sell oil, Tsurugaoka Hachimangu was revered as the guardian god of the Minamoto clan and of the Kamakura shogunate.
Highlights
The Iwashimizu Well Beside the Main Sanctuary
To the left of the main sanctuary, the well of clear water that gave the shrine its first name still survives as “Iwashimizu.” A stone monument in the grounds marks the site of Emperor Saga’s detached palace, and many smaller shrines, such as the Wakamiya, Takeuchi and Amaterasu shrines, stand around the main sanctuary. The main sanctuary enshrines Emperor Ojin (応神天皇), who is identified with Hachiman, in the center, with Sakatoke-no-Okami (酒解大神) and the three Hime goddesses (比売三神) on either side.
The Oil Ancestor Statue and the Birthplace of Oil Monument
Just inside the torii gate on the right stand a statue of a priest offering a vessel of oil, a monument reading “Birthplace of Oil Production in Japan” (本邦製油発祥地), and signboards illustrating old oil presses. According to the shrine, in the 9th century a priest received a divine message and invented the “nagaki” (長木), a wooden press, and began pressing oil from perilla seeds. The oil was first burned in lamps at shrines and temples and gradually spread across the country, and the imperial court gave the shrine the title “Yuso.” In the Middle Ages, oil makers formed an oil guild (abura-za, 油座) under the shrine, and the shrine says that oil merchants from every province needed its permission to deal in oil. The Oyamazaki Rikyu Hachimangu Documents, which record the guild’s activities, are designated a national Important Cultural Property.
The Gates That Survived the Fire and the 1920s Halls
The Somon and Higashimon gates at the entrances are the only buildings that survived when the grounds, used as a Choshu army camp in the Kinmon Incident, were shelled and burned; both are designated cultural properties of Oyamazaki Town. Worshippers’ donations rebuilt the shrine in the Meiji era (1868–1912), and the present main sanctuary and worship hall were built in 1928. The Agency for Cultural Affairs describes the main sanctuary as designed throughout in a revived medieval style, and the worship hall as a building of thick timbers with a curved, gabled entrance porch.
Experiences
Fitting for an oil shrine, its amulets include one reading “yudan taiteki” (油断大敵), “carelessness is your greatest enemy”; the word for carelessness, yudan, is written with characters meaning “running out of oil.” The shrine also offers bottled perilla oil as sacred oil, votive tablets (ema) showing the priest statue and an oil seller, and amulets decorated with doves, regarded as messengers of the god. The spring festival, Hinoto-sai (日使頭祭), is the shrine’s most important rite; the shrine says it began as a ceremony for sharing Hachiman with Mt. Otoko. It still includes an offering of lamps and a yudate rite of sprinkling boiling water, and more than 100 companies from the oil industry across Japan attend. On festival days, a half-size model of an oil press, donated to the shrine, is put on display.
Access and Opening Hours
The grounds are just outside JR Yamazaki Station, and Oyamazaki Station on the Hankyu line is also a short walk away. The shrine’s parking is for monthly contracts only and no visitor parking is mentioned, so come by train. The shrine’s website does not give visiting hours or hours for the amulet counter, so contact the shrine office before going if you want amulets or a Shichi-go-san blessing.
Best Time to Visit
To see a festival, visit for Hinoto-sai in April, the Day of Oil on August 23, when the shrine gives thanks for the blessings of oil, or the autumn festival, Hojo-e (放生会), on September 15.
Nearby Spots
A walking course introduced by Kyoto Prefecture runs from the stations past the Oyamazaki Town Historical Museum and Rikyu Hachimangu, up Mt. Tenno to the Asahi Group Oyamazaki Villa Museum of Art and Hoshakuji Temple, and on to the Hatatatematsu Observatory and Kannonji (Yamazaki Shoten). The historical museum displays materials on the oil guild and the shrine, as well as a full-size reconstruction of Taian (待庵), the tea room attributed to the tea master Sen no Rikyu. Myokian (妙喜庵), the temple that preserves Taian, is also close to the shrine, and visits require a reservation. For more ways to explore, see the Oyamazaki and Yawata Area page.
Summary
Rikyu Hachimangu Shrine, right outside JR Yamazaki Station, is where you can see the well said to have given Iwashimizu its name, the statue honoring the beginnings of oil making, and traces of the medieval oil guild. There is no visitor parking, so come by train and combine it with the walking course up Mt. Tenno.
Basic Information
| Item | Details |
|---|---|
| Name | Rikyu Hachimangu Shrine (離宮八幡宮), also called Yuso Rikyu Hachimangu (油祖 離宮八幡宮) |
| Deities | Main hall: Emperor Ojin / Left hall: Sakatoke-no-Okami (also called Oyamatsumi) / Right hall: the three Hime goddesses |
| Address | 21-1 Oyamazaki Nishitani, Oyamazaki-cho, Otokuni-gun, Kyoto 618-0071 (〒618-0071 京都府乙訓郡大山崎町大山崎西谷21-1) |
| Hours | Not stated by the shrine |
| Admission | No fee for the grounds stated by the shrine |
| Closed | No closing days listed by the shrine |
| Main events | Saitan-sai (New Year’s Day) / Dondo-sai bonfire (January) / Spring festival Hinoto-sai (April) / Day of Oil (August 23) / Autumn festival Hojo-e (September 15) / Shichi-go-san (November, by reservation) / Year-end festival (December 31) |
| Cultural properties | Oyamazaki Rikyu Hachimangu Documents (Important Cultural Property) / Main sanctuary, worship hall, Takama-no-miya Shrine, middle gate, purification pavilion and lattice fence (Registered Tangible Cultural Properties) / Somon and Higashimon gates and other items (Oyamazaki Town cultural properties) |
| Phone | 075-956-0218 (in Japanese) |
| Access | 1 minute on foot from Yamazaki Station (JR Kyoto Line) / 3 minutes on foot from Oyamazaki Station (Hankyu Kyoto Line) |
| Parking | Monthly contracts only (no visitor parking mentioned) |
| Official info | Rikyu Hachimangu Shrine official website (Japanese, via Google Translate) |
Information checked on November 30, 2026 (address, phone, access, parking and main events) / Official source checked: Rikyu Hachimangu Shrine, "Access" page (油祖 離宮八幡宮「アクセス」)
Google Map
Nearby Sights
about 1 min walk
about 10 min walk
about 10 min walk

Extend Your Trip from Kyoto to Kamakura
From JR Yamazaki Station in front of the shrine, take the JR Kyoto Line to Kyoto Station, ride the Tokaido Shinkansen to Shin-Yokohama, and continue via Yokohama on the JR Yokosuka Line to Kamakura (about 3 to 3.5 hours from the shrine). Kamakura’s sights are covered in the Kamakura Complete Guide.

