Ahn won the world junior short track championship in 2002, and finished second to Kim Dong-sung at his first senior-level world championship competition the same year, almost duplicating Kim's feat of winning both the Junior and Senior World Championship titles in 1997. Ahn finished first in the overall World Cup rankings during 2003–2004 and 2005–2006 seasons.