Legend & Origin
The most widely told Door God legend originates in the Tang Dynasty.
Emperor Taizong of Tang, having waged many wars and overseen heavy bloodshed, was tormented after his enthronement by ghostly cries seeking vengeance. He could not sleep, his court physicians offered no remedy, and his ministers stood helpless.
Hearing of this, Generals Qin Shubao and Yuchi Gong volunteered to stand fully armored at either side of the imperial chamber doors all through the night. From that night onward, no ghost dared approach, and the emperor at last rested. But after several nights of sleepless guarding, both generals grew exhausted.
Unwilling to subject his loyal commanders to further hardship, Taizong commanded his court painters to depict the two generals in full armor and pasted these portraits on his bedchamber doors. The ghosts kept their distance, and the emperor enjoyed peace ever after. The story spread, and commoners began affixing painted images of the two generals to their own doors. Over a thousand years later, the custom of pasting Door Gods at Lunar New Year endures.
An earlier Door God tradition appears in the *Shanhaijing*: on Mount Dushuo in the Eastern Sea grew a massive peach tree, beneath which the two divine generals Shentu and Yulei stood watch over demons. Any malicious ghost troubling the human world would be seized and fed to a tiger. Ancient households painted these two on their doors, gradually evolving into the diverse Door God traditions seen today.
Both lineages persist in folk practice, but Qin Shubao and Yuchi Gong, with their compelling backstory and vivid martial imagery, became Taiwan's most popular Door God representations.
