Born near Nanjing in present day Jiangsu Province during the Ming Dynasty (1368–1644), Gong Zhen’s dates of birth and death are not recorded but it is known that his father was a soldier. Gong Zhen was first appointed as an advisor to the Ming Emperor Xuande (1425–1435), then in 1431 he became secretary to the Chinese admiral Zheng He.
He accompanied Zheng He on his voyages to the Western Ocean until 1433. His role was as advisor, translator and diarist in the various countries that Zheng He’s treasure fleet visited.
Gong Zhen is best known as the author of "The Annals of Foreign Nations in the Western Ocean" (simplified Chinese: 西洋番国志; traditional Chinese: 西洋番國誌; pinyin: xīyáng fān guó zhì) published in 1434.