At the beginning of the 2019–20 season, Yan won his first ranking title in the Riga Masters at the age of 19. He became the youngest player to win a ranking tournament since Ding Junhui in 2006, as well as being the third Chinese player to win a ranking title (after Ding and Liang Wenbo).