England has secured qualification for the 2022 World Cup in Qatar.
Harry Kane racked up the records by scoring four in the first half to go level with Gary Lineker on 48 England goals.
Kane also became only the fourth player to score a hat-trick in consecutive England games after Vivian Woodward, Dixie Dean and Tommy Taylor.
England continued to punish San Marino after the break with Emile Rowe and Tyrone Mings scoring their first international goals.