Martínez made his debut for El Salvador in a March 1999 UNCAF Nations Cup match against Guatemala and has earned a total of 21 caps, scoring no goals. He has represented his country in 5 FIFA World Cup qualification matches and played at the 1999 UNCAF Nations Cup as well as at the 2002 CONCACAF Gold Cup.