Andi Thanoj's first senior goal for Grimsby earned them a dramatic draw to kill off Wrexham's automatic promotion hopes at the Racecourse.
The result confirmed Fleetwood's promotion, leaving Wrexham to rely on the play-offs.
Chris Westwood thought he had won it with a close-range 72nd minute header after Jake Speight's opener was cancelled out by Anthony Elding.
But Thanoj struck from outside the penalty area to deny the hosts.
VIEWS FROM THE DRESSING ROOM
Grimsby Town joint-manager Paul Hurst told BBC Radio Humberside:
"If we'd have won today, we'd have still been in with a chance [of making the play-offs].
"What we're coming away with is the knowledge that we've more than competed with a team that's done extremely well this season.
"[They] will go into the play-offs probably as favourites and we've shown we can compete with the best in the league."
Wrexham 25 Mayebi Booked 02 Alfei 03 Ashton 04 Creighton (Wright - 71' ) 20 Knight-Percival 12 Keates 17 Little (Leslie - 80' ) 23 Westwood Booked 09 Wright 10 Speight (Cieslewicz - 87' ) 24 Pogba Substitutes 21 Maxwell 34 Wright 07 Cieslewicz 30 Leslie 31 Ogleby Grimsby Town 13 McKeown 02 Silk 15 Pearson 19 Wood 32 Miller 04 Church (Thanoj - 46' ) 08 Disley 11 Artus 07 Coulson Booked (Soares - 83' ) 10 Hearn 33 Hughes-Mason (Elding - 46' ) Substitutes 06 Garner 21 Thanoj 40 Soares 36 Winn 39 Elding