Ablyazin competed for the national team at the 2012 Summer Olympics in the men's artistic team all-around. He was the only Russian male artistic gymnast to win two medals, a bronze on floor and a silver on vault behind Yang Hak-Seon of South Korea, at the 2012 Summer Olympics. On the floor, his score tied him for the second-highest score of the night with Kohei Uchimura of Japan and only Zou Kai of China had surpassed him. However, after applying tie breaking rules in gymnastics for the Olympics, Uchimura ended up with the silver and relegated Ablyazin to the bronze. With a D-score of 7.1 on floor, he also executed the most difficult routine during the event final with an extra pass and barely finished his routine in time, right at the sound of the final warning bell indicating his time was over.