cis-Mendelian randomization can be used to infer the causal effect of a molecular trait on an outcome. Here, the authors address challenges in current cis-MR studies and present cisMR-cML, a method robust to horizontal pleiotropy and linkage disequilibrium.