Wrexham scored two own goals to hand victory to Braintree, who moved to within a point of the Conference Premier play-off places.
Mark Carrington and Steve Tomassen put into their own nets in each half.
Between them came Dean Wells's side-footed goal for the visitors.
His 12-yarder was quickly followed up by a Wrexham brace, this time at the right end, but Johnny Hunt and Jay Harris's goals were not enough for the 18th-placed Welsh side.
VIEWS FROM THE DRESSING ROOM
Wrexham boss Andy Morrell told BBC Radio Wales: "We started the game horrendously badly, scored an own goal…. We concede two, do great to get back into it.
"[We] lifted ourselves off the floor and got ourselves back into it and then in the second half for 25 minutes we're camped in their half.
"We've lost another game and whether it's the ref or us - it's more us, I think - because we've conceded three sloppy goals."
Sorry, we were unable to load match stats, please try again.
Live Text Commentary
Full Time The referee ends the match.90:00 +5:07 Booking
Booking90:00 +4:49 Booking
Jordan Cox is shown a yellow card. Joslain Mayebi receives a yellow card for dissent.90:00 +3:36 Booking
Jay Harris challenges Jordan Cox unfairly and gives away a free kick. Jay Harris goes into the book. Daniel Sparkes produces a strike on goal direct from the free kick which hits the bar.90:00 +2:14
Jay Harris fouled by Chez Isaac, the ref awards a free kick. Free kick taken by Johnny Hunt.89:44 Substitution
Substitution Andrew Morrell on for Steve Tomassen.87:52 Substitution
Substitution Sean Marks goes off and Jordan Cox comes on.87:37
Adrian Cieslewicz has an effort at goal and missed to the right of the target.86:31 Booking
Ryan Peters gives away a free kick for an unfair challenge on Adrian Cieslewicz. Sean Marks booked. Free kick taken by Neil Ashton.84:30
Neil Ashton fouled by Sean Marks, the ref awards a free kick. Neil Ashton takes the free kick.84:03
Sean Marks fouled by Steve Tomassen, the ref awards a free kick. Free kick taken by Ryan Peters.82:10 Substitution
Substitution Robert Ogleby replaces Brett Ormerod.82:10
Jay Harris takes a shot.78:04 Substitution
Substitution Daniel Sparkes on for James Mulley.72:33
Andy Bishop challenges Alan Massey unfairly and gives away a free kick. Ryan Peters takes the free kick.71:59
Corner taken by Neil Ashton from the left by-line. Nathan McDonald safely holds on.71:38
The referee books Neil Ashton for dissent. Caution for Joe Clarke.
Booking69:30 Goal scored
Goal! - Steve Tomassen - Wrexham 2 - 3 Braintree Steve Tomassen concedes an own goal. Wrexham 2-3 Braintree Town.65:35
Corner taken by Kenny Davis from the left by-line.65:35 Substitution
Substitution Adrian Cieslewicz replaces Theo Bailey-Jones.63:56
Brett Ormerod gives away a free kick for an unfair challenge on Chez Isaac. Nathan McDonald restarts play with the free kick.58:29
Free kick awarded for an unfair challenge on Sean Marks by David Artell. Kenny Davis takes the free kick.54:39
The offside flag is raised against Theo Bailey-Jones. Nathan McDonald restarts play with the free kick.54:20
Liam Enver-Marum takes a shot. Joslain Mayebi catches the ball.53:02 Substitution
Substitution Liam Enver-Marum is brought on as a substitute for Charlie Strutton.51:30
Corner taken by Johnny Hunt from the right by-line. Alan Massey makes a clearance.47:44
Theo Bailey-Jones takes a shot. Clearance by Dean Wells.46:09
Free kick awarded for an unfair challenge on Alan Massey by Andy Bishop. Nathan McDonald takes the free kick.45:01
The referee gets the second half underway.45:00 +3:50 Half time
Half Time The half-time whistle blows.45:00 +3:31
Foul by Sean Marks on Neil Ashton, free kick awarded.45:00 +1:11 Booking
Free kick awarded for an unfair challenge on Ryan Peters by Theo Bailey-Jones. Booking for Theo Bailey-Jones for unsporting behaviour. Nathan McDonald restarts play with the free kick.44:36
Foul by Joe Clarke on James Mulley, free kick awarded. Free kick taken by Kenny Davis.40:45
Foul by Joe Clarke on James Mulley, free kick awarded. Free kick taken by Ryan Peters.39:50
Charlie Strutton goes into the book for unsporting behaviour.39:50 Booking
Joe Clarke takes the chance to get an effort at goal and missed to the right of the goal.37:27
Free kick awarded for an unfair challenge on James Mulley by Theo Bailey-Jones. Nathan McDonald restarts play with the free kick.35:40
Corner taken by Johnny Hunt. Nathan McDonald safely holds on.33:17
Assist on the goal came from Theo Bailey-Jones.33:17 Goal scored
Goal! - Jay Harris - Wrexham 2 - 2 Braintree Jay Harris scores a right footed goal. Wrexham 2-2 Braintree Town.31:40
Charlie Strutton challenges Mark Carrington unfairly and gives away a free kick. Mark Carrington restarts play with the free kick.30:05
Unfair challenge on Brett Ormerod by Kenny Davis results in a free kick. Johnny Hunt restarts play with the free kick.28:52
Brett Ormerod provided the assist for the goal.28:52 Goal scored
Goal! - Johnny Hunt - Wrexham 1 - 2 Braintree Johnny Hunt scores with a left foot finish. Wrexham 1-2 Braintree Town.26:12
The referee blows for offside. Neil Ashton restarts play with the free kick.25:02
The official flags Theo Bailey-Jones offside. Sam Habergham restarts play with the free kick.22:43
Foul by Sean Marks on David Artell, free kick awarded. Free kick taken by Jay Harris.20:18 Goal scored
Goal! - Dean Wells - Wrexham 0 - 2 Braintree Dean Wells scores with their left foot. Wrexham 0-2 Braintree Town.19:52
Corner taken by Kenny Davis.18:14
Corner from the right by-line taken by Kenny Davis. Header by Matt Paine goes to the left of the goal.17:25
Sean Marks is caught offside. Joslain Mayebi takes the free kick.14:19
The official flags Sean Marks offside. Joslain Mayebi restarts play with the free kick.13:45
Brett Ormerod is caught offside. Nathan McDonald restarts play with the free kick.9:33
Corner taken by Johnny Hunt from the right by-line. Steve Tomassen takes a shot and went wide right of the goal.9:13
Corner taken by Joe Clarke. Sean Marks makes a clearance.2:20
Assist by Ryan Peters.2:20 Goal scored
Goal! - Mark Carrington - Wrexham 0 - 1 Braintree Mark Carrington puts the ball into their own goal. Wrexham 0-1 Braintree Town.1:39
Unfair challenge on Dean Wells by Theo Bailey-Jones results in a free kick. Nathan McDonald takes the free kick.0:00
The game begins.
Live data and text provided by our data suppliers