Bristol city extended their unbeaten run to 16 games as they moved above promotion rivals Oldham into second place with a comprehensive win.
The visitors took an early lead with a 25-yard strike from Enoch Showunmi, who also had a penalty saved.
City went two goals ahead thanks to Jamie McAllister's long-range strike.
And striker Wayne Andrews, who only joined on loan from Coventry on Friday, sealed victory after converting a pass from Showunmi on 65 minutes.
Oldham: Pogliacomi, Eardley, Haining (Stam 46), Gregan, Charlton, Liddell (Hall 59), McDonald (Edwards 71), Wellens, Taylor, Porter, Warne.
Subs Not Used: Terry Smith, Wood.
Booked: Gregan, McDonald, Hall.
Bristol City: Basso, Orr, McCombe, Carey, McAllister, Murray, Skuse (Noble 83), Johnson (Keogh 76), Brian Wilson, Showunmi, Brooker (Andrews 46).
Subs Not Used: Weale, Russell.
Booked: McCombe, Orr, Noble.
Goals: Showunmi 9, McAllister 37, Andrews 65.
Referee: M Thorpe (Suffolk).