Wexford 2-15, Antrim 2-12
Paul Codd's 65th minute goal allied to his seven-point tally saw Wexford advance to the All-Ireland semi-finals against a plucky Antrim at Croke Park.
Dinny Cahill's men went in at the break, leading 2-5 to 0-6, thanks to two late goals in the space of a minute-and-a-half direct from a Ciaran Herron 65 and then in added time, half-forward Colm McGuckian found Damien Fitzhenry's net, latching onto a Brian McFall pass.
Antrim's advantage was cut to one after 41 minutes, following Paul Codd's third point of the game, Rory Jacob's first and a goal from Chris McGrath who accepted Codd's handpass to race inside Johnny Campbell and foot-volley to DD Quinn's net.
An inspired substitute saw Cahill spring forward Aidan Delargy onto the field and he steadied the Antrim ship with three points, his third on 62 minutes, to see his side 2-9 to 1-10 in front.
Wexford's top marksman Codd struck his sixth point with six minutes remaining as Antrim began to look nervous, having hit 17 wides in total.
Codd goaled just a minute later from a 21m free, to give the Leinster finalists a one-point advantage.
He hit his seventh point to cancel out Ciaran Herron's 70th minute free as Wexford's class ultimately told at the finish.