Latics will host either Salford City or Burton Albion in the Second Round of the Emirates FA Cup at Boundary Park.
The live draw took place on Monday evening on BBC Two again and sees Latics await their visiting opponent from either League One or Two, which is Oldham's first home fixture in this competition since November 2016, a run of seven consecutive away games.
Fixtures are due to take place on Saturday 30 November with £54,000 of the FA's prize pot going to the victors.
Specific details for the fixture, including any changes, will be announced in due course. With the replay between the two teams also yet to be confirmed.