On a steep hill in Shikoku stands a shrine that sailors visited before any voyage. Its god is called Kompira. The name sounds Japanese, but the god does not start there. Kompira began as Kumbhira, a water spirit tied to India's Ganges River. Across the centuries it crossed the sea, climbed a mountain in Sanuki province, and became the patron of ships. It is a striking case of a god imported with no change of name.
Not the native crocodile
Japan already had its own crocodile deity before Kompira arrived. The Kojiki, Japan's oldest chronicle, tells of wani, the sea creature that ferried the Hare of Inaba. Kompira is not that animal. Wani belongs to Japan's own earliest myths. Kompira is a later import, carried in through Buddhism from India. No source ties the two stories together beyond the shape.
Where the god came from
Two legends explain how the mountain got its Indian god. In the first, a mountain ascetic named En no Ozunu climbed Mt. Zōzu sometime in the Taihō era, around 701 to 704. There he met a guardian spirit called Kumbhira, said to live on Vulture Peak in Bihar, India. That meeting became the shrine's founding story.
In the second legend, the import arrives by a Buddhist side door. A guardian figure named Kubira Taishō was already honoured at the mountain's temple, Matsuo-ji. He is the commander of the Twelve Heavenly Generals, who serve the healing buddha Yakushi. In 1573, a priest built this figure a new hall and gave it the name Konpira. That date is solid — it is the oldest confirmed record of Konpira worship at this exact site.
Read together, the two legends turn out to name the same import. Buddhist texts write it several interchangeable ways — 宮比羅, 金毘羅, and others — and all of them transliterate one Sanskrit word, Kumbhīra. One version of that word is said to mean roughly "what is there to fear." However the god arrived, it arrived under the same name.
What Kumbhira originally was is itself disputed. Most accounts call it a crocodile deity from the Ganges. It also served as the mount of Gangā, the river's own goddess. That water connection is likely why sailors adopted it. A 2016 academic paper disagrees. It argues Kubira may come from a different Kumbhira: a yaksha spirit said to have guarded the Buddha. Accounts differ, and no one has settled it.
From temple to shrine
For centuries, this god was worshipped under a Buddhist title: Konpira Daigongen, the Great Avatar Konpira. A second, unrelated figure joined the shrine later, for a different reason. Legend says the exiled Emperor Sutoku secluded himself near the mountain in 1163 and died the following year — though the historical record notes he was actually held under guard elsewhere, and likely could not have been there. Believing his spirit was dangerous, the temple enshrined him beside Konpira from 1165 to calm it. He is still honoured today, in a hall next to the main shrine.
Everything changed in 1868. Japan's new Meiji government ordered Buddhism and Shinto split apart, nationwide. A fused god like Konpira Daigongen could not survive that order intact. The shrine renamed itself Kotohira-gū. Its official god became Ōmononushi, a purely Shinto figure. On paper, the change was total. In practice, it was not. About 600 branch shrines nationwide now carry the new Shinto name, Kotohira jinja. Some lanterns and stone markers still use the older character 毘 instead of the newer 比, quietly marking sites that kept the old god.
The pilgrimage that built roads
By the Edo period, Konpira pilgrimage had spread nationwide. Commoners rated it second only to the great pilgrimage at Ise. Roads called Konpira-kaidō were developed across Shikoku to carry the growing wave of pilgrims.
Not everyone could afford the trip. Commoners formed Konpira-kō, mutual-aid groups that pooled travel money between members. Each group sent one representative at a time, to pray at the mountain on everyone's behalf.
Some people found even cheaper ways to take part. They sent a dog instead, with coins and a wooden tag tied around its neck, asking whoever found the dog to finish the pilgrimage for them. Others floated a sealed barrel out on the water, carrying the same kind of request. Whoever found one was expected to deliver it.
The tengu who still guards it
Shugendō, Japan's mountain-ascetic tradition, eventually linked Konpira to a different kind of spirit: the tengu. A mid-Edo encyclopedia, the Wakan Sansai Zue of 1712, records that this mountain's own tengu was named Konpira-bō.
One priest is remembered as having become that tengu himself. The temple's fourth head priest had his own statue carved in 1606 and placed beside the main hall. Legend says he vowed to keep guarding the shrine's sacred body. Just before he died in 1613, he became a tengu to do it. A pilgrim named Chōzen saw the statue in 1653. His diary confirms a monk in robe and long hood, flanked by two guardian figures; the statue is also described as seated on a rock. That tengu is still honoured today as one of "Sanuki's three tengu," alongside two guardians from other temples on the island.
Kompira today
The shrine, still informally called Kompira-san, remains one of Shikoku's major pilgrimage sites. The approach to its inner shrine runs 1,368 stone steps. An annual footrace, timed to the shrine's main festival, uses those same steps as its course.
The old proxy-pilgrimage customs did not disappear either. Ships of Japan's Maritime Self-Defense Force still float a marked sake barrel on a first voyage, continuing the Edo-period custom of the drifting barrel. A passing boat is still expected to carry it ashore.