From Old Japanese. Cognate with Kunigami 柳 (yanāji), Miyako 柳 (yanagzï), Okinawan 柳 (yanaji) (likely all early borrowings from Middle Japanese).
The ultimate derivation is uncertain, with several theories presented in reference works. Some of the main theories:
* Appears to be derived from a compound, possibly 矢 (ya, “arrow”) + な (na, Old Japanese apophonic form of possessive particle の (no)) + 木 (ki, “tree”). The ki changes to gi as an instance of rendaku (連濁).
* Alternatively, the ya might be from the 字音 (jion, “character reading”) of Middle Chinese 楊 (MC yang, “willow”) + Japanese 木 (ki, “tree”).
Considering the existence of synonymous form やぎ (yagi) that appears in certain compounds, the medial na element is likely the particle.
First cited to roughly 759 CE, in the Man'yōshū collection of poetry with the phonetic Man'yōgana spelling 也奈宜.