López made his debut for Costa Rica in an August 1995 friendly match against Japan and earned a total of 76 caps, scoring 6 goals. He represented his country in 22 FIFA World Cup qualification matches and played in all 3 games during the 2002 FIFA World Cup held in Korea and Japan. He also played at the 1995 and 1997 UNCAF Nations Cups as well as at the 1998, 2000, 2002 and 2003 CONCACAF Gold Cups and the 1997 Copa América. He also was a non-playing squad member at the 2001 Copa América.