The doctrine of the Three Suns (Chinese: 三阳; pinyin: sānyáng) or three stages of the end-time (Chinese: 三期末劫; pinyin: sānqímòjié), or Three Ages, is a teleological and eschatological doctrine found in some Chinese salvationist religions and schools of Confucianism.
According to the doctrine, the absolute principle, in many salvationist sects represented as the Wusheng Laomu, divides the end time into three stages, each of which is governed by a different Buddha sent by the Mother to save humanity: the "Green Sun" (qingyang) governed by Dīpankara Buddha, the "Red Sun" (hongyang) by Gautama Buddha, and the current "White Sun" (baiyang) by Maitreya. In different sects the three periods are known by slightly different names, variations originated by oral transmission of the teaching. The doctrine is especially important in the Xiantiandao group of sects, the most notable one being Yiguandao.
The Three Suns doctrine places itself in a sect tradition ("Sanyangism", 三阳教 Sānyángjiào, "teaching of the Three Suns") flourishing at least since the Ming dynasty. It can be traced back to a Taoist school named Hunyuan, from the concept of hunyuan ("original chaos") that existed before hundun ("still chaos") and is the beginning of primordial qi (yuanqi) according to some Taoist cosmologies. Other possible origins go back to the entry of Maitreya beliefs into China. These concepts became part of the folk tradition and were incorporated in the sect milieu.