Sima Liang
Sima Fang was an 11th-generation descendant of Sima Ang. His great-grandfather, Sima Jūn (), whose courtesy name was Shuping (), served as General Who Attacks the West (). His grandfather, Sima Liang (), whose courtesy name was Gongdu (), served as the Administrator of Yuzhang Commandery (豫章郡; around present-day Nanchang, Jiangxi).