Bioinformatics analysis identified LILRA5, HNRNPL and AGBL3 as common key genes for Osteoporosis and stroke, and these genes were highly effective in diagnosing both diseases. Here, AGBL3 is linked to osteoporosis.