At the 2007 World Championships held in Milan, Italy from March 9 to March 11, 2007, Ahn won his fifth world championship, finishing first in the 1,000 m and in the 5,000 m relay with teammates, Sung Si-bak, Song Kyung-taek, and Kim Hyun-kon. He also won silver in the 3,000 m behind his compatriot Song Kyung-taek, and won two bronze medals in the 500 m and the 1500 m. He is the first man to win five world championships.