Smoking is the most prevalent modifiable risk factor for cardiovascular diseases among HIV-positive persons. We assessed the effect on smoking cessation of training HIV care physicians in counselling. The Swiss HIV Cohort Study (SHCS) is a multicentre prospective observational database. Our single-centre intervention at the Zurich centre included a half day of standardized training for physicians in counselling and in the pharmacotherapy of smokers, and a physicians' checklist for semi-annual documentation of their counselling. Smoking status was then compared between participants at the Zurich centre and other institutions. We used marginal logistic regression models with exchangeable correlation structure and robust standard errors to estimate the odds of smoking cessation and relapse. Between April 2000 and December 2010, 11 056 SHCS participants had 121 238 semi-annual visits and 64 118 person-years of follow-up. The prevalence of smoking decreased from 60 to 43%. During the intervention at the Zurich centre from November 2007 to December 2009, 1689 participants in this centre had 6068 cohort visits. These participants were more likely to stop smoking [odds ratio (OR) 1.23; 95% confidence interval (CI) 1.07-1.42; P=0.004] and had fewer relapses (OR 0.75; 95% CI 0.61-0.92; P=0.007) than participants at other SHCS institutions. The effect of the intervention was stronger than the calendar time effect (OR 1.19 vs. 1.04 per year, respectively). Middle-aged participants, injecting drug users, and participants with psychiatric problems or with higher alcohol consumption were less likely to stop smoking, whereas persons with a prior cardiovascular event were more likely to stop smoking. An institution-wide training programme for HIV care physicians in smoking cessation counselling led to increased smoking cessation and fewer relapses.