Cai Yan was the daughter of Cai Yong, a famous Eastern Han dynasty scholar from Yu County (圉縣), Chenliu Commandery (陳留郡), which is around present-day Qi County, Kaifeng, Henan.
After that, Cai married again, this time to Dong Si (董祀), a local government official from her hometown.