|Church of Xuanyuan|
|Classification||Chinese salvationist religion|
|Scripture||Four Books and Five Classics|
|Other name(s)||Way of Xuanyuan (), Huangdiism ()|
Xuanyuandao ( "Way of Xuanyuan")[a], also known as Xuanyuanism ([b]) or Huangdiism ([c]), is a Confucian folk religion of China which was founded in Taipei, Taiwan, in 1952. The founder was Wang Hansheng () (1899-1989), a legislator. The Church of Xuanyuan aims to restore the "national religion" of archaic (pre-Han dynasty) China, with Huangdi as the universal God.
The Church of Xuanyuan subsumes all the ways of worship to local deities under one national god, Xuanyuan Huangdi (? "Xuanyuan the Yellow Deity"[d]). According to the Shiji, Xuanyuan was the name of Huangdi, and he is traditionally considered the thearch (progenitor god) of the Han Chinese race.
Xuanyuanism is based on Confucian rationalism, and therefore rejects practices it considers superstitious that are found in other sects of Chinese folk religion, such as scripture writing through god mediumship.
As of 2013 the Xuanyuandao has 200,000 adherents in Taiwan and is active in China, where it runs temples, schools, and members take part in the sacrifices celebrated at the Xuanyuan Temple, the largest temple dedicated to Huangdi in the world. Huangdi is also worshipped in Chinese folk religion by millions of people who do not necessarily belong to the Church of Xuanyuan.