Substitute Hector Sam earned Wrexham a point, heading a late equaliser against Colchester at the Racecourse.
The U's dominated for long spells but fell behind soon after the restart when Mark Jones fired in a low shot.
Neil Danns levelled with a header 10 minutes later and and Wayne Brown turned the game on its head with a crisp finish.
The Us looked to be heading for all three points until Sam rose highest to head in a Carlos Edwards cross.
Wrexham: Foster, Pejic, Holt, Lawrence, Edwards, Crowell,
Ferguson, Mark Jones, Smith (Morgan 72), Armstrong,
Llewellyn (Sam 72).
Subs Not Used: Done, Green, Harrison.
Goals: Mark Jones 50, Sam 80.
Colchester: Gerken, Baldwin, Chilvers, Brown, Hunt, White,
Danns, Watson, Johnson, Fagan, Halford.
Subs Not Used: Davison, Keith, Williams, Ndumbu-Nsungu, Guy.
Booked: Fagan.
Goals: Danns 60, Brown 71.
Att: 2,391
Ref: G Salisbury (Lancashire).