Hamrin played 32 times for Sweden between 1953 and 1965, scoring 17 goals. Most Swedes remember him best for the goal he scored against West Germany in the semi finals of the 1958 FIFA World Cup on home soil. The goal allowed Sweden to win the match 3–1, and secure a place in the final against Brazil, where they were defeated 5–2, however.