Evidence on the effectiveness of highly active antiretroviral therapy (HAART) for HIV-infected individuals is limited. Most clinical trials examined surrogate endpoints over short periods of follow-up and there has been no placebo-controlled randomised trial of HAART. Estimation of treatment effects in observational studies is problematic, because of confounding by indication. We aimed to use novel methodology to overcome this problem in the Swiss HIV Cohort Study.