Latics will host Barrow AFC in the second round of the Emirates FA Cup, that's if Keith Curle's side can overcome Ipswich Town in the upcoming replay.
The draw took place live on ITV on Monday evening, with Oldham and Ipswich ball number 26 after the 1-1 draw at the weekend.
Following the first round ties, winners of the second round progress into the coveted third round proper draw where clubs from the Premier League and EFL Championship enter the competition.
Ties in the second round will take place across the weekend of Friday 3 until Monday 6 December, with the 20 winning clubs collecting £34,000 each from the competition prize fund.
Further fixture and ticket information regarding the replay at Boundary Park next week with the Tractor Boys will be confirmed and communicated as soon as possible.