Taoism (, ), or Daoism (), is a philosophical or religious tradition of Chinese origin which emphasizes living in harmony with the Tao (Chinese: 道; pinyin: Dào; literally: 'the Way', also romanized as Dao). The Tao is a fundamental idea in most Chinese philosophical schools; in Taoism, however, it denotes the principle that is the source, pattern and substance of everything that exists. Taoism differs from Confucianism by not emphasizing rigid rituals and social order, but is similar in the sense that it is a teaching about the various disciplines for achieving "perfection" by becoming one with the unplanned rhythms of the universe called "the way" or "dao". Taoist ethics vary depending on the particular school, but in general tend to emphasize wu wei (action without intention), "naturalness", simplicity, spontaneity, and the Three Treasures: 慈 "compassion", 儉 "frugality", and 不敢為天下先 "humility".
The roots of Taoism go back at least to the 4th century BCE. Early Taoism drew its cosmological notions from the School of Yinyang (Naturalists), and was deeply influenced by one of the oldest texts of Chinese culture, the I Ching, which expounds a philosophical system about how to keep human behavior in accordance with the alternating cycles of nature. The "Legalist" Shen Buhai (c. 400 – c. 337 BCE) may also have been a major influence, expounding a realpolitik of wu wei. The Tao Te Ching, a compact book containing teachings attributed to Laozi (Chinese: 老子; pinyin: Lǎozǐ; Wade–Giles: Lao³ Tzŭ³), is widely considered the keystone work of the Taoist tradition, together with the later writings of Zhuangzi.
Taoism has had a profound influence on Chinese culture in the course of the centuries, and Taoists (Chinese: 道士; pinyin: dàoshi, "masters of the Tao"), a title traditionally attributed only to the clergy and not to their lay followers, usually take care to note distinction between their ritual tradition and the practices of Chinese folk religion and non-Taoist vernacular ritual orders, which are often mistakenly identified as pertaining to Taoism. Chinese alchemy (especially neidan), Chinese astrology, Chan (Zen) Buddhism, several martial arts, traditional Chinese medicine, feng shui, and many styles of qigong have been intertwined with Taoism throughout history. Beyond China, Taoism also had influence on surrounding societies in Asia.
Today, the Taoist tradition is one of the five religious doctrines officially recognized in the People's Republic of China (PRC) as well as the Republic of China (ROC), and although it does not travel readily from its East Asian roots, it claims adherents in a number of societies, in particular in Hong Kong, Macau, and in Southeast Asia.