Background: Many lifestyle interventions for patients with prediabetes or type 2 diabetes mellitus (T2DM) have been investigated in randomised clinical trial settings. However, the translation of these programmes into primary care seems challenging and the prevalence of T2DM is increasing. Therefore, there is an urgent need for lifestyle programmes, developed and shown to be effective in real-world primary care. We evaluated a lifestyle programme, commissioned by the Dutch government, for patients with prediabetes or type 2 diabetes in primary care. Methods: We performed a retrospective comparative medical records analysis using propensity score matching. Patients with prediabetes or T2DM were selected from ten primary healthcare centres. Patients who received the lifestyle intervention (n = 186) were compared with a matched group of patients who received usual care (n = 2632). Data were extracted from the electronic primary care records. Propensity score matching was used to control for confounding by indication. Outcome measures were exercise level, BMI, HbA1c, fasting glucose, systolic and diastolic blood pressure, total cholesterol, HDL and LDL cholesterol and triglycerides and the follow-up period was one year. Results: There was no significant difference at follow-up in any outcome measure between either group. The reduction at one year follow-up of HbA1c and fasting glucose was positive in the intervention group compared with controls, although not statistically significant (-0.12%, P = 0.07 and -0.17 mmol/l, P = 0.08 respectively). Conclusions: The effects of the lifestyle programme in real-world primary care for patients with prediabetes or T2DM were small and not statistically significant. The attention of governments for lifestyle interventions is important, but from the available literature and the results of this study, it must be concluded that improving lifestyle in real-world primary care is still challenging.