In this present study, we found that age, SBP, DBP, BMI, TyG index, LDL-C, hs-CRP, smoking, hypertension, diabetes were the risk factors for ischemic stroke, while HDL-C, physical exercise, and taking lipid-lowering drugs were the protect factor for ischemic stroke. Here, CRP is linked to diabetes mellitus.