England and Northern Ireland will meet in Group D of European qualifying for the 2023 World Cup, which is set to be held in Australia and New Zealand.
Scotland, who qualified for the tournament for the first time in 2019, will face Spain and Ukraine in Group B.
Wales will share Group I with 2019 hosts France.
England and Northern Ireland, who made history by reaching the Euro 2022 finals, will also face Austria, North Macedonia, Latvia and Luxembourg.
The Republic of Ireland are in Group A and will take on Sweden, who beat England to finish third in 2019.
There are a record number of 51 entrants with matches set to be played between September 2021 and September 2022.
The finals tournament will take place between July and August 2023 and involve 32 teams, extended from 24 in 2019.
The winners of the nine qualifying groups will progress directly to the finals with the runners-up taking part in play-offs in October 2022.
Reaction from the home nations
England captain Steph Houghton said her side faced a “tough draw” and could take nothing for granted.
The Lionesses strolled to a 6-0 win over Northern Ireland in February when the two sides met for a friendly at St George’s Park – but Houghton thinks Kenny Shiels’ side will have gained confidence from their Euro qualification since then.
“It will be interesting – we will be looking forward to that one for sure,” she said.
Sarina Wiegman will take over as England manager in September and Houghton says the arrival of a new coach means they will not be “complacent”. She added: “We know that we can’t slip up. Ultimately we need to be in that top spot.”
“It will be a massive stage for our players”, said Northern Ireland manager Shiels, who expects his side to “meet it head on and go and get something from it – whether it’s a result or a learning experience”.
“England is a country that promotes women’s football much higher than any other country,” said Shiels, who signed a new contract in the wake of Northern Ireland’s European Championship qualification.
“We’ve got two games against England, and who’s to say we won’t get them in the Euros? What a fantastic learning opportunity.”
Scotland captain Rachel Corsie said she felt her side were “more than capable of getting positive results” in some of their games and would relish their matches against Spain as a chance to “show what we can do”.
After qualifying for the 2019 tournament Scotland failed to make it out of the group stage, losing to England and Japan, but Corsie says they will use that experience as motivation.
“For those of us who have had a taste of those major tournaments, we absolutely want to get back there and for the country as a whole. We saw how much the country got behind us last time – we are all Scotland fans at heart too and we want to be back at on the big stage, competing against the best.
“We have a great chance to do that with the squad of players we have.”
The full draw
Group A: Sweden, Finland, Republic of Ireland, Slovakia, Georgia
Group B: Spain, Scotland, Ukraine, Hungary, Faroe Islands
Group C: Netherlands, Iceland, Czech Republic, Belarus, Cyprus
Group D: England, Austria, Northern Ireland, North Macedonia, Latvia, Luxembourg
Group E: Denmark, Russia, Bosnia-Herzegovina, Azerbaijan, Malta, Montenegro
Group F: Norway, Belgium, Poland, Albania, Kosovo, Armenia
Group G: Italy, Switzerland, Romania, Croatia, Moldova, Lithuania
Group H: Germany, Portugal, Serbia, Israel, Turkey, Bulgaria
Group I: France, Wales, Slovenia, Greece, Kazakhstan, Estonia