Ronaldo netted his 40th and 41st qualifying goals, overtaking retired Guatemala international Carlos Ruiz, who scored 39 between 1998 and 2016.
The five-time Ballon d’Or winner levelled for Portugal against Hungary in a 2026 World Cup qualifier after 22 minutes by finishing from Nelson Semedo’s cross.
AfricaPicks: How to bet using Europe’s most in-form goal scorers
Ronaldo pounced again before half-time after being set up by Nuno Mendes to give Portugal a 2-1 lead at the break.
If Roberto Martinez’s side go on to win they will qualify for next summer’s tournament in the United States, Mexico and Canada.
Ronaldo, also the all-time top international goalscorer with 143 strikes, is aiming to play at a sixth World Cup.
© Agence France-Presse
Photo: Miguel Lemos/Eurasia Sport Images/Getty Images