Ji Gong (Chinese: ??, 22 December 1130 – 16 May 1209), born Li Xiuyuan and also known as "Chan Master Daoji" (Chinese: ????) was a Chan Buddhist monk who lived in the Southern Song.
He purportedly possessed supernatural powers, which he used to help the poor and stand up to injustice.
However, he was also known for his wild and eccentric behavior, and also for violating Buddhist monastic rules by consuming alcohol and meat.
By the time of his death, Ji Gong had become a folk hero in Chinese culture and minor deity in Chinese folk religion.
He is mentioned by Buddhists in folktales and koans, and sometimes invoked by oracles to assist in worldly affairs.