Low adherence to statin (HMG-CoA reductase inhibitors) medication is common. Here, we report on the design and implementation of the Habit Formation trial. This clinical trial assessed whether the interventions, based on principles from behavioral economics, might improve statin adherence and lipid control in at-risk populations. We describe the rationale and methods for the trial, recruitment, conduct and follow-up. We also report on several barriers we encountered with recruitment and conduct of the trial, solutions we devised and efforts we will make to assess their impact on our study.