El Salvador national football team
Hernández scored 13 goals for the El Salvador national football team from 1976 to 1985. He has represented his country in 11 FIFA World Cup qualification matches.