In 1994, she won 9 gold medals at the Hungarian Championship and then she announced that she would retire after the World Championships in Rome which was overshadowed by the suspicious Chinese swimmers' performances. China won 12 of the 16 women's titles, but these achievements were sullied less than a month later when seven Chinese swimmers tested positive for banned drugs at the Asian Games in Hiroshima. In Rome, Egerszegi lost the 100 m and 200 m backstroke, both events were won by He Cihong, who was only 13th (1:03.50) on 100 m backstroke two years earlier in Barcelona, where Egerszegi won in an Olympic record time of 1:00.68. In 1996, at the Olympic Games in Atlanta, He Cihong was 25th on the 100 m backstroke. On the 200 m backstroke, He Cihong qualified neither for Barcelona, nor Atlanta; both Olympic golds were won by Egerszegi. After getting fifth place in the 100 m backstroke and coming second in the 200 m backstroke, Egerszegi decided to compete for two more years, citing the two defeats as the main reason.