Alfaro made his debut for Costa Rica in an April 1991 friendly match against Mexico and has earned a total of 27 caps, scoring 1 goal. He has represented his country in 5 FIFA World Cup qualification matches and played at the 1999 UNCAF Nations Cup and the 1997 Copa América.