Oldham reached the northern area final of the Johnstone's Paint Trophy by beating League Two strugglers Bradford.
The Latics dominated, Shefki Kuqi, Josh Parker and Luca Scapuzzi all squandering chances.
They led just after the hour mark when Tom Adeyemi received the ball on the edge of the box, beat two men and slotted home from 10 yards.
And Kuqi sealed it with a header from six yards out before Bradford's Craig Fagan missed a late penalty.
The 28-year-old blazed high and wide after Jean-Yves Mvoto was punished for handball.
Oldham will now face Chesterfield for a place at Wembley.