This study provides in vivo evidence to support an important role for the M2 muscarinic receptor in myopia development. Here, CHRM2 is linked to myopia.