The short answer
The Han dynasty (206 BCE to 220 CE) did not have one religion in the modern sense. Religious life combined ancestor veneration, state sacrifices to Heaven and other powers, Confucian teaching supported by the court, early Daoist currents, and a shared cosmology of yin-yang and the five phases. Buddhism entered late in the period and remained a small presence until after the Han fell.
Ancestor veneration and state sacrifices
At every level of society, families made offerings to their ancestors, believing the dead remained part of the family and could be helped or offended by the living. At the top, the emperor carried out sacrifices to Heaven, Earth, mountains and rivers. The court also supported rites at sacred mountains, and the emperor Wu is known for ceremonies at Mount Tai. These practices linked the ruler’s legitimacy to the order of the cosmos.
Confucianism as state learning
Early Han rulers drew on several schools of thought. Under Emperor Wu, Confucian learning gained a privileged position at court: scholars specialized in classics such as the Book of Songs and the Book of Changes, and an imperial academy trained officials. Scholars such as Dong Zhongshu blended Confucian ethics with ideas about Heaven responding to rulers’ conduct.
Whether this made Confucianism a religion is a long-running question, covered in our piece asking is Confucianism a religion. During the Han it is best seen as a moral and political tradition with religious rituals attached, rather than as a church.
Huang-Lao thought and early Daoist currents
In the early Han, a blend often called Huang-Lao thought, named for the Yellow Emperor and Laozi, was influential at court. It favored restrained government and drew on texts like the Tao Te Ching. Alongside this were practices aimed at long life and immortality, with court interest in magicians and seekers of immortality. Many later Daoist ideas developed from these roots.
Cosmology: yin-yang and the five phases
Han thinkers commonly described the world through yin and yang and the five phases (often called the five elements), which correspond to seasons, directions, colors and parts of the body. These ideas framed medicine, calendars, divination and politics. The Han cosmology was a shared language more than a creed, and it is one reason the main features of Chinese philosophy look similar across schools.
Buddhism’s arrival
Tradition places Buddhism’s introduction in the reign of Emperor Ming in the first century CE, and records mention a Buddhist community in the eastern Han period. Early Chinese Buddhism was concentrated among foreign merchants, translators and some elites, and it was often understood through Daoist terms. It grew far more important in the centuries after the Han.
Religious Daoism at the end of the Han
In the later second century CE, organized Daoist movements emerged. The Celestial Masters, traditionally linked to Zhang Daoling, formed a community with rituals, confession of faults and a religious hierarchy. The Yellow Turban uprising of 184 CE is also associated with a religious movement and contributed to the Han’s decline. These groups are often seen as early forms of what became institutional Daoism.