Xu Heng was born in present-day Xinyang of Henan Province, which was then governed by the Jin dynasty. At the age of 16, he studied Confucian Classics and became enamoured of it. In early 1230s, when the Jin dynasty was annihilated by the Mongols, he was captured, but soon freed. He then became a famous educator in Confucianism. After Kublai Khan's enthronement in 1260, Xu Heng, along with many other Confucianists such as Liu Bingzhong and Wang Xun, was invited by Kublai Khan to the court. He resigned next year, but was invited again later by Kublai Khan, and became an official of the Central Secretariat (Zhongshu Sheng). In 1271, Kublai Khan founded the Yuan Dynasty, and established the National Academy (Chinese: 國子學) of the dynasty, with Xu Heng being its first leader (Chinese: 國子祭酒). Xu Heng was then devoted to education, and actively supported the spread of Neo-Confucianism. Later, he helped Guo Shoujing to formulate a new Chinese calendar known as Shoushili (Chinese: 授時曆). In 1280 he resigned and returned home, and died in the next year.