The Gozan Bungaku or literature of the Five Mountains () is the literature produced by the principal Zen (禠) monastic centers of in Kyoto and Kamakura, Japan. The term also refers to five Zen centers in China in Hangzhou and Ningbo that inspired zen in Japan, while the term "mountain" refers to Buddhist monastery.
Five Mountains literature or is used collectively to refer to the poetry and prose in Chinese produced by Japanese monks who were active mostly during the 14th and 15th centuries. Notable writers of the genre include Musà  Soseki, Ikkyà « Sà Âjun, Zekkai Chà «sin (), Sesson Yà «bai, Gidà  Shà «shin, Jakushitsu Genkà Â, Chà «gan Engetsu and Kokan Shiren. Also included are works by Chinese monks residing in Japan such as Seisetsu Shà Âchà  (Qingzhuo Zhengcheng) and Jikusen Bonsen (, Zhuxian Fanxian)
The literary movement has its origin in the 13th century, influenced by two Chinese monks. The first of them, Yishan Yining, arrived in Japan in 1299 as a Yuan emissary and wrote in the Zen literary style of the Southern Song dynasty. Among his students were Kokan Shiren and Sesson Yà «bai. Another monk from the early Yuan, Kurin Seimu (, Gulin Qingmao) was a member of the Rinzai school who initiated a different Zen style in China. Gulin never went to Japan but was nevertheless influential in the country through his Chinese and Japanese students, including Seisetsu Shà Âchà Â, Jikusen Bonsen and Sesson Yà «bai.
Gozan bungaku literature may be divided into two broad periods, the first from the beginning to the late 14th century, the second from the late 14th century to its decline. Others however subdivided them into the following four periods:
The literature of the Five Mountains highly prized a sense of humor and sympathy with lifeâÂÂs ordinariness. A Five Mountains poet might write about anything, in contrast to the prescribed themes of the aristocratic court poets. Kokan Shiren (d. 1346) for example would write about a mosquito. <blockquote>Snouts sharp as drill bits!<br> Buzz like thunder as they circle the room.<br> They sneak through the folds of my robe,<br> But they could bloody the back of an ox made of iron!</blockquote> The image in the final line of Mosquitoes reminds the reader of one of the custom in Zen establishments of slapping on the head with a stick those practitioners of meditation who have momentarily dozed off. In contrast, a courtier might write about the cicada and celebrate seasonal associations connected to them. To write about the mosquito would violate the courtierâÂÂs strict sense of literary decorum.
In a poem entitled "Sailing in the Moonlight", Kokan focuses on the incongruous humor of life. <blockquote>We monks boat in moonlight, circle through the reeds.<br> The boatman shouts the tide recedes; we must return.<br> The village folk mistake us for a fishing boat<br> And scramble to the beach to buy our catch.</blockquote>
Five Mountains literature was not entirely concerned with the rustic cloistered world. Often the principal historical events of the day found their way into the works of the monks. Zen clerics themselves often served as advisers to the leading political figures. In a poem, "Written Suddenly While Feeling Remorse Over the Passage of Time" Chugan Engetsu (d. 1375) relates his feelings about the fall of the Kamakura shogunate a year earlier. <blockquote>A year ago today the Kamakura fell.<br> In the monasteries now, nothing of the old mood remains.<br> The peddler girl understands nothing of a monk's remorse-<br> Shouting through the streets, selling firewood, selling vegetables.</blockquote>