Albion will travel to Vanarama National League outfit Chesterfield in the third round of the Emirates FA Cup.
The tie will be the very first in the competition between the two teams.
The Baggies last met Chesterfield in an old Division Two encounter in September, 1948.
The third-round clash will be played between Friday, January 6 2023 and Monday, January 9 2023.
A date, kick-off time and ticket details will be confirmed at the earliest possible opportunity.
The Emirates FA Cup third-round draw in full:
Preston North End vs Huddersfield Town
Middlesbrough vs Brighton and Hove Albion
Chesterfield vs West Bromwich Albion
Manchester City vs Chelsea
Charlton Athletic or Stockport County vs Walsall
Boreham Wood vs Accrington Stanley
Tottenham Hotspur vs Portsmouth
Derby County vs Barnsley
Cardiff City vs Leeds United
Brentford vs West Ham United
Bournemouth vs Burnley
Coventry City vs Wrexham
Norwich City vs Blackburn Rovers
Aston Villa vs Stevenage
Luton Town vs Wigan Athletic
Oxford United vs Arsenal
Fleetwood Town vs QPR
Liverpool vs Wolves
Grimsby Town vs Burton Albion
Blackpool vs Nottingham Forest
Dagenham and Redbridge or Gillingham vs Leicester City
Forest Green Rovers vs Birmingham City
Bristol City vs Swansea City
Hartlepool United vs Stoke City
Hull City vs Fulham
Crystal Palace vs Southampton
Millwall vs Sheffield United
Shrewsbury Town vs Sunderland
Sheffield Wednesday vs Newcastle United
Manchester United vs Everton
Reading vs Watford
Ipswich Town vs Rotherham