It is said that the beginning of the making Magaibutsu in Japan goes back to the beginning of the Heian period and that Sanzon (Triad) Magaibutsu at the site of the Komasaka-dera Temple (Ritto City, Shiga Prefecture) is an example in the early period.
日本の磨崖仏の造立開始時期は平安時代初期までさかのぼると言われ、狛坂寺址の三尊磨崖仏（滋賀県栗東市）は最初期の事例とされている。