Rochdale will face a trip to Millwall in the fourth round of the Emirates FA Cup.
The tie will be played at the New Den on the weekend of Friday 26th January.
Confirmed fixture and ticket details will be announced in due course.
Dale have beaten Bromley, Slough Town and Doncaster Rovers to reach this stage.
Championship side Millwall were 4-1 winners over Barnsley in round three.