The men's keirin at the 2012 UCI Track Cycling World Championships was held on 8 April. 33 athletes participated in the contest. After the six qualifying heats, the fastest rider in each heat advanced to the second round. The riders that did not advance to the second round, raced in six repechage heats. The first rider in each heat advanced to the second round along with the eight that qualified before.