Marcus Tudgay grabbed a 91st-minute winner to pull Nottingham Forest away from the wrong end of the table in a topsy-turvy match against Ipswich.
Danny Collins headed home Aaron Cresswell's cross to hand Ipswich an early lead, but Robbie Findley tucked home Forest's first equaliser.
Town's lead was restored when Collins met Jimmy Bullard's corner to nod in.
But Joel Lynch converted Andy Reid's cross to level it up on 83 minutes before Tudgay headed his late winner.
It was tough luck on an Ipswich side that looked primed to end a run of three straight defeats with at least a draw - but Forest boss Steve Cotterill will be delighted to have overseen a fourth league win since succeeding Steve McClaren as manager.
The hosts edged a keenly contested first half but were only able to go in at the break level.
Collins, on loan from Stoke, headed Ipswich into an early lead against the run of play, though Findley cancelled that out when he fired in his fifth of the season from Lewis McGugan's free-kick.
And when Collins, who before kick-off had not scored a league goal in two years, rose to glance home Bullard's corner it looked like Ipswich were on course for victory.
But a frantic final 10 minutes put paid to the visitors' hopes.
Seven minutes from time, Reid bustled up the left wing to supply Lynch with a tidy cross, the ex-Brighton man nodding home a valuable first goal for the club.
And Tudgay broke Town's hearts in the first minute of stoppage time as Greg Cunningham lofted in an accurate pass which the former Sheffield Wednesday frontman nodded home.
- 01 Camp
- 03 Cunningham Booked
- 04 Chambers
- 05 Morgan
- 16 Gunter (Anderson - 75' )
- 33 Lynch
- 10 McGugan
- 14 Greening (Reid - 76' )
- 19 Moussi
- 20 Tudgay
- 24 Findley (McGoldrick - 81' )
- 21 Smith
- 07 Anderson
- 11 Reid
- 28 Majewski
- 17 McGoldrick
- 13 Stockdale
- 03 Cresswell
- 04 Ingimarsson
- 22 Carson
- 25 Collins
- 06 Leadbitter
- 07 Edwards
- 08 Bowyer (E'-Thomas - 70' )
- 21 Bullard
- 10 Chopra (Martin - 82' )
- 14 Scotland (Ellington - 78' )
- 12 Lee-Barrett
- 26 Wabara
- 09 E'-Thomas
- 11 Martin
- 18 Ellington
Live Text Commentary
Full Time The referee blows for the end of the match.90:00 +4:03
Andy Reid decides to take a short corner.90:00 +0:27
Greg Cunningham provided the assist for the goal.90:00 +0:27 Goal scored
Goal! - Marcus Tudgay - Nott'm For 3 - 2 Ipswich Marcus Tudgay scores a headed goal from inside the six-yard box. Nottm Forest 3-2 Ipswich.86:30
Greg Cunningham produces a cross, clearance made by Danny Collins.85:43
Lewis McGugan takes a shot. Save by David Stockdale.83:42
Assist on the goal came from Andy Reid.83:42 Goal scored
Goal! - Joel Lynch - Nott'm For 2 - 2 Ipswich Joel Lynch grabs a headed goal from deep inside the penalty box. Nottm Forest 2-2 Ipswich.83:18
Inswinging corner taken right-footed by Lewis McGugan, clearance made by Jimmy Bullard.81:26 Substitution
Substitution Michael Chopra goes off and Lee Martin comes on.80:04 Substitution
Substitution Robbie Findley goes off and David McGoldrick comes on.80:04
Shot from just outside the box by Andy Reid misses to the right of the goal.79:14
Michael Chopra produces a right-footed shot from just outside the area that goes harmlessly over the bar.77:56 Substitution
Substitution Nathan Ellington is brought on as a substitute for Jason Scotland.74:58 Substitution
Substitution Andy Reid is brought on as a substitute for Jonathan Greening.74:58 Substitution
Substitution Paul Anderson is brought on as a substitute for Chris Gunter.74:43
Jay Emmanuel-Thomas takes a shot from a long way out clearing the bar.74:06
The ball is swung over by Chris Gunter.73:28
Aaron Cresswell produces a cross, clearance made by Luke Chambers.69:01 Substitution
Substitution Lee Bowyer leaves the field to be replaced by Jay Emmanuel-Thomas.
Marcus Tudgay takes a shot. Comfortable save by David Stockdale.65:34
Centre by Greg Cunningham, clearance made by Josh Carson.64:33
David Stockdale takes the direct free kick.64:33 Booking
Booking Greg Cunningham booked for unsporting behaviour.64:12
Foul by Greg Cunningham on Grant Leadbitter, free kick awarded.61:11
Assist on the goal came from Jimmy Bullard.61:11 Goal scored
Goal! - Danny Collins - Nott'm For 1 - 2 Ipswich Danny Collins finds the back of the net with a headed goal from inside the penalty area. Nottm Forest 1-2 Ipswich.60:44
Corner taken right-footed by Jimmy Bullard from the right by-line,55:58
Corner taken right-footed by Lewis McGugan to the near post, Luke Chambers takes a shot. Josh Carson makes a clearance.55:34
Guy Moussi takes a shot. Blocked by Danny Collins.51:46
Joel Lynch gives away a free kick for an unfair challenge on Michael Chopra. Free kick crossed left-footed by Aaron Cresswell, Lewis McGugan gets a block in.48:56
Corner taken right-footed by Jimmy Bullard, Guy Moussi makes a clearance.48:04
Jonathan Greening concedes a free kick for a foul on Jason Scotland. Jimmy Bullard crosses the ball from the free kick right-footed from left channel, clearance by Robbie Findley.47:20
The ball is delivered by Lewis McGugan.45:01
The game restarts for the second half.45:00 +2:34 Half time
Half Time The players leave the pitch at half time.45:00 +1:50
Josh Carson gives away a free kick for an unfair challenge on Guy Moussi. The free kick is swung in right-footed by Lewis McGugan, Danny Collins manages to make a clearance.45:00 +1:04
Josh Carson produces a cross, clearance by Greg Cunningham.44:12
Free kick awarded for an unfair challenge on Robbie Findley by Grant Leadbitter. Lewis McGugan has a direct shot on goal from the free kick, save by David Stockdale.41:19 Goal scored
Goal! - Robbie Findley - Nott'm For 1 - 1 Ipswich Robbie Findley fires in a goal from inside the six-yard box to the bottom right corner of the goal. Nottm Forest 1-1 Ipswich.40:55
Jason Scotland is penalised for a handball. Free kick crossed right-footed by Lewis McGugan from right wing,36:44
Marcus Tudgay concedes a free kick for a foul on Danny Collins. Free kick taken by David Stockdale.32:27
Shot by Robbie Findley from outside the box goes over the target.24:10
Assist by Aaron Cresswell.24:10 Goal scored
Goal! - Danny Collins - Nott'm For 0 - 1 Ipswich Danny Collins grabs a headed goal from inside the six-yard box. Nottm Forest 0-1 Ipswich.23:49
Unfair challenge on Jimmy Bullard by Marcus Tudgay results in a free kick. Aaron Cresswell delivers the ball from the free kick right-footed from right wing,23:26
Carlos Edwards produces a cross, Wes Morgan makes a clearance.22:28
Effort on goal by Lewis McGugan from long range goes over the bar.19:15
Free kick awarded for an unfair challenge on Jimmy Bullard by Jonathan Greening. Free kick taken by Ivar Ingimarsson.18:25
Free kick awarded for an unfair challenge on Jonathan Greening by Michael Chopra. Luke Chambers restarts play with the free kick.15:53
Guy Moussi takes a shot. Save by David Stockdale.14:34
The ball is sent over by Luke Chambers, clearance made by Danny Collins.11:53
Centre by Chris Gunter, clearance by Danny Collins.9:17
Chris Gunter delivers the ball.6:56
The ball is swung over by Carlos Edwards, clearance made by Wes Morgan.6:08
Guy Moussi gives away a free kick for an unfair challenge on Jimmy Bullard. Danny Collins takes the free kick.4:39
The referee blows for offside. Wes Morgan restarts play with the free kick.0:23
Jason Scotland produces a left-footed shot from just outside the box that goes wide right of the target.0:00
The ref blows the whistle to begin the match.
Live data and text provided by our data suppliers