At the 2012 Olympics, Heffernan finished ninth in the 20km race. A week later he finished fourth in the 50km, finishing seven minutes faster than the previous national record. His achievements in London were the top two performances for the Irish Athletics team at the 2012 Olympics.