The tie will be played at Oakwell on the weekend of March 8/9.
There are at least two other Championship sides in the last eight of the competition - with West Brom and Cardiff both facing away tests.
The Baggies will head to League One side Bristol Rovers, while Cardiff will face either Middlesbrough or Sheffield United.
There is one all-Premier League tie, with Manchester United hosting Portsmouth.