The purpose of this study is to investigate the origin of how Haigaku, or frames that preserve Haiku poems, were consecrated in temples or shrines. The exploration started with Waka, since the traditional Japanese poetry developed in the order of Waka, Renga, and Haiku. Buddhism terminology has a word Horaku, which refers to reciting the scriptures or consecrating artistic talents to Buddha. In Japan, however, the same term Horaku transformed in meaning into the ritual of consecrating Waka, or Horakuwaka, to Buddha and gods. Edo period saw the full swing of Haiku, so Haiku as part of Horaku came to be consecrated in Buddhist temples and shrines. All the Haiku poems were transcribed on paper for the consecration. In addition, Ema, was devoted, which was wooden boards with images of horses. Ema boards became more and more enlarged and diversified, and among them were Sanzyuroku Kasen Ema boards. Sanzyuroku Kasen Ema boards preserved the portraits and Waka of the thirty six poets who commanded admiration as Waka masters and saints. It may be suggested that Haigaku, as a combination of Horaku-Haiku and Sanzyuroku Kasen Ema, made its first appearance around 1687.