England will face Germany at Wembley on Tuesday in the Euro 2020 last 16 while Wales take on Denmark in Amsterdam on Saturday.
Gareth Southgate's side progressed as group winners but had to wait until the conclusion of Group F on Wednesday to find out who they would meet.
Germany twice came from behind to draw with Hungary and, with Portugal and France also drawing, that was enough for Joachim Low's side to finish second, behind France.
Wales finished as runners-up in Group A to Italy, who stormed through with maximum points to set up a tie with Austria.
England and Wales' last-16 games will be shown live on BBC One and BBC iPlayer.
Who plays who in the last 16?
(All times BST)
Wales v Denmark - Amsterdam, 17:00 (BBC)
Italy v Austria - Wembley, 20:00 (BBC)
Netherlands v Czech Republic - Budapest, 17:00 (ITV)
Belgium v Portugal - Seville, 20:00 (ITV)
Croatia v Spain - Copenhagen, 17:00 (ITV)
France v Switzerland - Bucharest, 20:00 (ITV)
England v Germany - Wembley, 17:00 (BBC)
Sweden v Ukraine - Glasgow, 20:00 (BBC)
BBC One and BBC iPlayer to show England and Wales last-16 games
Should England come through their last-16 clash, they would have a quarter-final against either Sweden or Ukraine to look forward to in Rome on Saturday 3 July.