learn/[id]

ERA
22 min read
ERA
Rikyu Hachimangu and the Oyamazaki Oil Guild: Japan's Oldest Oil Shrine and Medieval Monopoly
Rikyu Hachimangu in Oyamazaki, Kyoto, founded in 859, is revered as the birthplace of Japan's oldest sesame oil production. In the medieval period, shrine attendants organized the Oyamazaki Oil Guild, wielding a nationwide monopoly over sesame oil backed by imperial and shogunal authority. This article examines that historical structure based on primary sources.
Contents
MOKUJI
1
The Founding of Rikyu Hachimangu and Its Identity as the "Ancestor of Oil"
2
The Formation of the Oyamazaki Oil Guild — The Reality of Medieval Distribution Managed by Shrine Attendants
3
The Decline of the Oil Guild — The Impact of Rakuichi Rakuza and Early Modern Distribution Change
4
Visiting Rikyu Hachimangu — Tracing the History of Oil On-Site
5
Summary
6
Frequently Asked Questions
Rikyu Hachimangu in Oyamazaki, Kyoto, founded in 859, is not merely a regional ancient shrine. It is the birthplace of oil production technology in Japan and the headquarters of the Oyamazaki Oil Guild, an institution that occupies a singular place in medieval economic history. The following examines, based on historical evidence, the structure by which religious authority, the imperial court, and warrior governments intersected over a single commodity: sesame oil.
The entrance of Rikyu Hachimangu in Oyamazaki, Kyoto, known as the birthplace of Japan's oldest sesame oil
The Founding of Rikyu Hachimangu and Its Identity as the “Ancestor of Oil”
The 859 Enshrinement and Emperor Seiwa’s Imperial Decree
In the first year of the Jogan era (859), the monk Gyokyo transferred the divine spirit of Usa Hachimangu in Buzen Province (present-day Oita Prefecture) and enshrined it in Oyamazaki in Yamashiro Province (present-day Oyamazaki-cho, Otokuni-gun, Kyoto Prefecture). This enshrinement was carried out under an imperial decree from Emperor Seiwa. The shrine was established on the site of Emperor Saga’s “Kaya Detached Palace” (Yamazaki Detached Palace), from which the name “Rikyu Hachimangu” (Detached Palace Hachimangu) derives. Gyokyo subsequently enshrined the same deity on Mount Otoko (present-day Yawata City, Kyoto), founding Iwashimizu Hachimangu. Rikyu Hachimangu is thus regarded as the precursor of Iwashimizu Hachimangu.
The enshrined deities are Emperor Ojin, Sakatomega no Kami (Oyamazumi no Kami), and the three Hime deities. The association of Sakatomega no Kami with sake brewing and fermentation provides a religious foundation for this site’s historical connection to oil pressing and fermentation industries.
The Invention of the Nagaki and Japan’s Oldest Sesame Oil
It is transmitted that a shrine official at Rikyu Hachimangu devised a pressing device called the “Nagaki” (long lever). The Nagaki employed the principle of the lever to press the seeds of egoma (perilla, a member of the mint family) and extract oil. This invention is said to have made stable, large-scale production of plant oil possible for the first time, and is the basis for Rikyu Hachimangu’s designation as the “Ancestor of Oil (Yuzu)” and the “Birthplace of Japan’s Oldest Sesame Oil.”
However, it must be noted that no definitive historical document currently survives to pinpoint the exact date of the Nagaki’s invention; this remains in the realm of transmitted tradition rather than confirmed fact.
The precincts of Rikyu Hachimangu, the oil-ancestor shrine where the medieval Oyamazaki Oil Guild flourished
The Formation of the Oyamazaki Oil Guild — The Reality of Medieval Distribution Managed by Shrine Attendants
Who Were the Jinin (Shrine Attendants)?
In the medieval period, those who engaged in commercial activities under the authority of a major shrine were called jinin (shrine attendants). The jinin of Rikyu Hachimangu made their livelihood through the production and sale of sesame oil, forming the “Oyamazaki Oil Guild” (Oyamazaki Yuza) under the protection of Iwashimizu Hachimangu and, by extension, the imperial court and shogunate. A “za” (guild) in medieval Japan was a trade association that, by entering into the protection of a specific authority (the honjoshi, or proprietor institution), acquired privileged commercial rights. The proprietor of the Oyamazaki Oil Guild was Iwashimizu Hachimangu, above which the authority of the imperial court and shogunate was layered. This multi-tiered patronage structure gave the oil guild overwhelming economic power.
The Structure of Privileges Obtained by the Oil Guild
The principal privileges recognized for the jinin of the Oyamazaki Oil Guild are summarized in the table below.
Type of Privilege
Content
Exemption from sekisen (barrier tolls)
Exemption from transit taxes at barriers throughout the provinces
Exclusive right to sell
Monopoly on the sale of sesame oil in the Kinai region and surrounding provinces
Exclusive right to purchase
Priority and exclusive right to purchase egoma (raw material)
Exclusion of non-guild traders
Authority to forcibly prevent those outside the guild from selling or distributing oil
Litigation privilege
Superiority in legal disputes, backed by imperial and shogunal recognition
The exemption from sekisen was particularly significant. In the medieval distribution economy, barriers imposed enormous costs on the movement of goods. The exemption of jinin from these tolls gave them decisive price competitiveness over all rivals. Using this privilege as a weapon, the Oyamazaki Oil Guild is believed to have almost completely monopolized sesame oil distribution in the Kinai region.
The approach path and torii gate of Rikyu Hachimangu in Oyamazaki
The Geopolitical Advantage of Mount Tennozan and the Oil Trade Routes
Rikyu Hachimangu sits at the confluence of the Yodo River (where the Kizu, Katsura, and Uji rivers meet) and the intersection of the Tokaido and Saigoku Kaido highways — a critical transportation hub. Directly behind it rises Mount Tennozan, the site of the Battle of Yamazaki in the 10th year of Tensho (1582), fought between Toyotomi Hideyoshi and Akechi Mitsuhide. These geopolitical conditions reinforced the oil guild’s function as a logistics base. By establishing their headquarters at the junction of water and land transport, the jinin could procure raw egoma from a wide area and efficiently supply their product throughout the Kinai region. Hoshakuji Temple, located on the slopes of Mount Tennozan, stands as a surviving monument to the historical depth of this region.
The Decline of the Oil Guild — The Impact of Rakuichi Rakuza and Early Modern Distribution Change
Oda Nobunaga’s Negation of the Guild System
With the onset of the Warring States period, the medieval guild economy came under powerful external pressure. The “Rakuichi Rakuza” (free market, free guild) policy promoted by Oda Nobunaga was a fundamental negation of the exclusive privileges held by existing guilds. Beginning with the Kano (Gifu) free-market proclamation of Eiroku 10 (1567), Nobunaga dismantled the privileges of guilds in various regions. The Oyamazaki Oil Guild was swept up in this wave, making it increasingly difficult to maintain its nationwide monopoly privileges.
The Spread of Rapeseed Oil and the Transition to Early Modern Distribution
Even more decisive was the spread of rapeseed oil. Compared to sesame oil, rapeseed oil offered higher production efficiency, and by the Edo period, rapeseed oil had replaced sesame oil as the dominant lamp fuel. As the market for sesame oil itself contracted, the economic foundation on which the Oyamazaki Oil Guild exercised its privileges was lost. The transition to an early modern distribution order (the toiya wholesale system, kabu-nakama licensed guilds, etc.) also rendered the medieval structure of “guild run by shrine jinin” an anachronism. After the 17th century, the oil guild effectively lost the nationwide monopoly power it had once held.
The main hall of Rikyu Hachimangu, revered by the oil industry as the Yuzu Hachimangu
Visiting Rikyu Hachimangu — Tracing the History of Oil On-Site
At present-day Rikyu Hachimangu, a replica of the Nagaki (oil pressing device) and materials documenting the history of the oil guild are preserved within the precincts and shrine office. The designation “Ancestor of Oil” remains active today, and the shrine commands deep reverence from industries related to oil — including edible oil, coatings, and machine oil. While the current shrine buildings are primarily reconstructions from the early modern period onward, the weight of the ancient enshrined site comes through in the landscape itself. The Oyamazaki area is home to a concentration of medieval and early modern religious institutions, including Kannonji (Yamazaki Shoten), Dainenji, and Myokian Taian, allowing visitors to walk what might be called the “Yamazaki Historical Corridor.”
The grounds of Rikyu Hachimangu, sitting at the foot of Mount Tennozan
Summary
Rikyu Hachimangu possesses complex historical significance: it carries an ancient religious origin dating to its founding in 859, while in the medieval period it served as the headquarters of the Oyamazaki Oil Guild, which dominated Japan’s oil distribution. The mechanism of the “za” guild — using religious authority as the basis for economic privilege — is an indispensable concept for understanding the distribution economy of medieval Japan, and the Oyamazaki Oil Guild stands as a paradigmatic example recorded clearly in historical documents.
Points for Pilgrimage Visits
A short walk from JR Yamazaki Station or Hankyu Oyamazaki Station. Though the precincts are compact, explanations of the Nagaki and the guild’s history can be found within the shrine
Those involved in the oil industry, culinary arts, or manufacturing will find particular significance in visiting the shrine as the “Ancestor of Oil”
Combining the visit with Mount Tennozan, Hoshakuji, and Myokian Taian as part of a “Yamazaki History Route” is highly efficient
The site also functions as a location associated with the Battle of Yamazaki (Tensho 10 / 1582), offering much to visitors interested in Warring States period history
The goshuin (shrine stamp) available at the shrine office may bear the seal “Yuzu Hachimangu,” making it a notable stamp among collectors
Related Spots
Rikyu Hachimangu — The head shrine of the Oil Ancestor. The tradition of the Nagaki and the history of the Oyamazaki Oil Guild can be confirmed within the precincts
Mount Tennozan — Site of the Battle of Yamazaki in Tensho 10 (1582). The terrain allows visitors to understand the geopolitical importance of Oyamazaki as a distribution hub for the oil guild
Hoshakuji — An ancient temple on the slopes of Mount Tennozan. The legend of the “one-night pagoda” said to have been constructed by Hideyoshi on the eve of the Battle of Yamazaki remains here
Kannonji (Yamazaki Shoten) — A temple in Oyamazaki dating to medieval founding, sharing the same historical stratum as Rikyu Hachimangu
Myokian Taian — The oldest surviving thatched tearoom (National Treasure), attributed to Sen no Rikyu. It conveys the history of the tea ceremony at a moment of political transformation immediately following the Battle of Yamazaki
Frequently Asked Questions
What is the relationship between Rikyu Hachimangu and Iwashimizu Hachimangu?
In the first year of Jogan (859), the monk Gyokyo enshrined the divine spirit from Usa Hachimangu in Oyamazaki, founding Rikyu Hachimangu. He subsequently enshrined the same deity on Mount Otoko, founding Iwashimizu Hachimangu. In terms of founding sequence, Rikyu Hachimangu came first and is regarded as the precursor of Iwashimizu Hachimangu. However, in the present day, Iwashimizu Hachimangu on Mount Otoko stands above in terms of prestige and scale, and the relationship between the two shrines must be understood in light of this historical context.
What exactly did the jinin of the Oyamazaki Oil Guild do?
Jinin were people who handled commercial and distribution activities under the authority of a major shrine. The jinin of the Oyamazaki Oil Guild managed the entire supply chain — purchasing egoma, pressing the oil, and selling the sesame oil — and exercised the toll exemptions, exclusive selling rights, and exclusive purchasing rights recognized by Iwashimizu Hachimangu and, above it, the imperial court and shogunate. They also reportedly held authority to physically prevent non-guild traders from engaging in oil commerce.
What specific impact did the Rakuichi Rakuza policy have on the Oyamazaki Oil Guild?
Rakuichi Rakuza was a policy that abolished the exclusive privileges and toll exemptions held by medieval guilds, aiming to create markets where anyone could trade freely. Oda Nobunaga implemented it in various regions from Eiroku 10 (1567) onward, directly striking the economic foundation of privileged associations like the Oyamazaki Oil Guild. However, historical sources that directly document the application of Nobunaga’s free-market proclamations specifically to the Oyamazaki Oil Guild are not easily identified. Historically, it is most appropriate to understand that “the policy wave of Rakuichi Rakuza, combined with the broader transformation of Warring States-period distribution order, weakened the privileges of the oil guild.” In any case, by the early modern period, the guild’s nationwide monopoly had effectively come to an end.
Why was sesame oil so important in the medieval period?
Sesame oil (egoma-yu) was the principal plant-based lamp fuel in medieval Japan, supplying virtually all the lighting for shrine and temple lamps and the illumination of aristocratic and warrior households. It was, in modern terms, an infrastructure commodity analogous to electricity, with demand that never ceased. This made the economic value of the Oyamazaki Oil Guild, which controlled its distribution, immeasurable. This situation continued essentially unchanged until the early modern period, when sesame oil was displaced by rapeseed oil.
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