A kamuy (Ainu: カムィ; Japanese: 神威 or 神居, kamui) is a spiritual or divine being in Ainu mythology, although the name is said to have etymological roots in Japanese as a cognate of kami, a term denoting a supernatural entity composed of or possessing spiritual energy.
In concept, kamuy are similar to the Japanese kami, sometimes translated as "god" or "divine spirit", but these translations miss some of the nuances of the term. Kamuy are numerous; some are delineated and named, such as Kamuy Fuchi, the hearth goddess, while others are not. Kamuy often have very specific associations, for instance, there is a kamuy of the undertow.
Personified deities of Ainu mythology often have the term kamuy applied as part of their names.
The Ainu had no writing system of their own, and much of Ainu mythology was passed down as oral history in the form of kamuy yukar (deity epics), long verses traditionally recounted by singers at a gathering. Each kamuy yukar recounts a deity's or hero's adventures, usually in the first person, and some of them are of great length, containing as many as 7,000 verses. Some yukar contradict each other, assigning the same events to different deities or heroes; this is primarily a result of the Ainu culture's organization into small, relatively isolated groups. Records of these poems began to be kept only in the late 19th century, by Western missionaries and Japanese ethnographers; however, the Ainu tradition of memorizing the yukar preserved many.