BACKGROUND: There is substantial evidence that treatment with lipid-lowering agents can decrease cardiovascular morbidity and total mortality in patients with elevated serum lipid values and/or prior ischaemic heart disease. However, only a minority of these high-risk patients are believed to receive treatment, and among those who do receive pharmaceutical treatment the majority do not reach the therapeutic goal. Our goal was to investigate if this translates to a higher risk of cardiovascular events in real clinical practice. DESIGN: A retrospective cohort study using linkage of electronic medical records, the Swedish national inpatient registry and cause of death registry was performed, enrolling a total of 4976 patients who received treatment with a lipid-lowering agent at any time between 1 January 1993 and 1 December 2001. METHODS: Cox proportional hazards regression was used to evaluate the impact of goal attainment along with potential confounding factors. RESULTS: Patients who reached treatment goals were 24% less likely to suffer a cardiovascular event (relative risk: 0.76, 95% confidence interval: 0.60-0.96) than patients who did not reach treatment goals. A substantial proportion of patients treated with lipid-lowering agents do not achieve the treatment goals. CONCLUSIONS: Failure to reach treatment goals translates into a higher risk of cardiovascular events, and it is thus of importance to ensure that patients reach goals.