 Xu came from a scholarly family in Shanxi province; his father Xu Rundi had obtained the highest degree in the imperial examinations and served as a secretary in the Grand Secretariat.The young Xu was fond of studying and joined his father in Beijing, where he met a number of prominent scholars of the day.Xu studied under the direction of his father and became an adherent of the Wang Yangming school of thought.