• High TC, HDL-C, ApoA, and Lp(a) levels were associated with a reduction in total cancer mortality • High levels of apoB-100 and TG were inversely associated, and high HDL-C levels were positively associated with breast cancer risk • Higher levels of Lp(a) were associated with an increase in prostate cancer risk. Here, APOA1 is linked to prostate cancer.