The Owls will host Newcastle United in the third round of the Emirates FA Cup.
The draw was made live from Anfield on Monday night, where Premier League and Championship clubs entered the competition.
Wednesday reached round three after victories over Morecambe and Mansfield at Hillsborough.
Third round ties will be played between 6-9 January.
Match date and tickets details will be confirmed in due course.