A 90th-minute Chris Atkinson own goal meant Chesterfield lost to Fleetwood and fell to their second home defeat in a row.
The Cod Army had taken an early lead when Steven Gillespie capitalised on some poor Chesterfield defending.
But the hosts pegged their opponents back when Tendayi Darikwa's volley from the edge of the area was deflected in.
However, in the dying moments Atkinson mistimed a clearance from a Fleetwood free-kick to gift the visitors victory.
VIEWS FROM THE DRESSING ROOM
Chesterfield caretaker manager Tommy Wright told BBC Radio Sheffield:
"I thought it was a decent performance against a good side.
"I thought second half was probably even-steven we missed a great chance and they've scored.
"It was a great chance for [Craig Westcarr], it was one each, but that's the thin line between winning and losing.
"They get a chance at the other end... it's disappointing, but I thought the performance was good."
Fleetwood Town manager Micky Mellon told BBC Radio Lancashire:
"In the first half, I thought we gave a really good account of ourselves.
"Apart from the goal, we had five really good chances to make the score more comfortable for us.
"But Tommy gets Chesterfield going with a lot of spirit and they got themselves back into the game.
"We stayed organised, kept being dogged and we knew that eventually we would try and play our way back into the game.
"To get a goal right at the very end - we're obviously delighted."
Sorry, we were unable to load match stats, please try again.
Live Text Commentary
Full Time The referee blows his whistle to end the game.90:00 +3:35
Short corner taken by Barry Nicholson.90:00 +1:34
Steven Gillespie challenges Drew Talbot unfairly and gives away a free kick. Direct free kick taken by Terrell Forbes.90:00 +0:25 Substitution
Substitution Barry Nicholson is brought on as a substitute for Alex Marrow.89:13 Goal scored
Goal! - Chris Atkinson - Chesterfld 1 - 2 Fleetwood Chris Atkinson puts the ball into his own goal. Chesterfield 1-2 Fleetwood Town.88:16
Sam Togwell challenges Jamie McGuire unfairly and gives away a free kick. Jamie Milligan crosses the ball from the free kick left-footed from right channel.84:47
Sam Togwell concedes a free kick for a foul on Jamie McGuire. Dean Howell takes the direct free kick. Craig Westcarr takes a shot. Save made by Scott Davies.83:14 Substitution
Substitution Marc Richards goes off and Craig Westcarr comes on.83:14 Booking
Booking The referee cautions Rob Edwards for dissent.82:21
Alex Marrow gives away a free kick for an unfair challenge on Sam Togwell. Sam Togwell takes the free kick.77:18 Substitution
Substitution Marc Richards replaces Danny Whitaker.77:18 Substitution
Substitution Nathan Smith replaces Liam Ridehalgh.76:31
The offside flag is raised against Danny Whitaker. Scott Davies restarts play with the free kick.76:02
Corner taken right-footed by Danny Whitaker to the near post, clearance made by Conor McLaughlin.75:46
Foul by Jamie McGuire on Drew Talbot, free kick awarded. Free kick taken by Sam Togwell.74:06
Inswinging corner taken by Jamie Milligan from the right by-line played to the near post, Jack Lester manages to make a clearance.72:16
Sam Hird concedes a free kick for a foul on Jamie McGuire. Rob Edwards takes the free kick.69:59
Jamie Milligan restarts play with the free kick. The referee blows for offside against Steven Gillespie. Free kick taken by Richard O'Donnell.69:59 Booking
Booking Chris Atkinson goes into the referee's book.68:54 Substitution
Substitution Jamie Milligan joins the action as a substitute, replacing Lee Fowler.
Unfair challenge on David Ball by Chris Atkinson results in a free kick.64:31
Dean Howell sends in a cross.62:54
Shot by Steven Gillespie. Richard O'Donnell makes a save.61:26 Substitution
Substitution Tom Barkhuizen goes off and David Ball comes on.60:56
Steven Gillespie gives away a free kick for an unfair challenge on Drew Talbot. Direct free kick taken by Richard O'Donnell.58:53
Sam Togwell challenges Junior Brown unfairly and gives away a free kick. Lee Fowler restarts play with the free kick.58:13
The ball is sent over by Drew Talbot, Shot by Jack Lester from deep inside the penalty area misses to the left of the target.56:56
The offside flag is raised against Tendayi Darikwa. Free kick taken by Scott Davies.56:36
Sam Togwell takes a shot. Save made by Scott Davies.54:34
Free kick awarded for an unfair challenge on Drew Talbot by Dean Howell. Richard O'Donnell takes the direct free kick.52:46
Unfair challenge on Alex Marrow by Chris Atkinson results in a free kick. Direct free kick taken by Lee Fowler.52:29
The official flags Jack Lester offside. Indirect free kick taken by Rob Edwards.49:09
Liam Ridehalgh concedes a free kick for a foul on Tom Barkhuizen. Lee Fowler takes the direct free kick.48:34
Sam Togwell fouled by Jamie McGuire, the ref awards a free kick. The free kick is delivered right-footed by Drew Talbot from right wing, save by Scott Davies.45:40
Free kick awarded for a foul by Alex Marrow on Jack Lester. Sam Togwell takes the free kick.45:19
Tom Barkhuizen delivers the ball, save by Richard O'Donnell.45:01
The second half kicks off.45:00 +3:05 Half time
Half Time It is the end of the first-half.43:58 Goal scored
Goal! - Tendayi Darikwa - Chesterfld 1 - 1 Fleetwood A goal is scored by Tendayi Darikwa from just outside the penalty box to the bottom right corner of the goal. Chesterfield 1-1 Fleetwood Town.43:06
Inswinging corner taken by Danny Whitaker.41:57
Free kick awarded for an unfair challenge on Luis Boa Morte by Alex Marrow. Sam Togwell restarts play with the free kick. Foul by Jamie McGuire on Jack Lester, free kick awarded. Sam Togwell takes the direct free kick.40:36
Inswinging corner taken left-footed by Luis Boa Morte from the right by-line to the near post, clearance by Conor McLaughlin.38:26
Scott Davies takes the direct free kick.38:26 Booking
Booking The referee cautions Luis Boa Morte for unsporting behaviour.38:09
Dean Howell fouled by Luis Boa Morte, the ref awards a free kick.35:30
Steven Gillespie handles the ball and concedes a free kick. Indirect free kick taken by Richard O'Donnell.34:00
Free kick awarded for an unfair challenge on Junior Brown by Luis Boa Morte. Lee Fowler sends in a cross, Jamie McGuire produces a header from inside the area that goes over the crossbar.33:28
Jack Lester is caught offside. Indirect free kick taken by Scott Davies.29:33
The ball is delivered by Tom Barkhuizen.27:54
Unfair challenge on Chris Atkinson by Alex Marrow results in a free kick. Sam Hird takes the direct free kick.24:39
The assistant referee signals for offside against Alex Marrow. Free kick taken by Richard O'Donnell.21:03
The ball is crossed by Luis Boa Morte, clearance by Conor McLaughlin. Inswinging corner taken by Danny Whitaker. A cross is delivered by Chris Atkinson, Jack Lester takes a shot. Blocked by Conor McLaughlin. Inswinging corner taken from the right by-line by Luis Boa Morte. The assistant referee signals for offside against Terrell Forbes. Scott Davies takes the free kick.20:31
Sam Togwell fouled by Jamie McGuire, the ref awards a free kick. Direct free kick taken by Sam Togwell.19:52
Dean Howell delivers the ball, Headed effort from deep inside the penalty area by Steven Gillespie goes harmlessly over the crossbar.18:47
Free kick awarded for an unfair challenge on Steven Gillespie by Terrell Forbes. Lee Fowler takes the direct free kick.16:57
Danny Whitaker produces a cross, Scott Davies makes a save.16:03
Danny Whitaker takes a inswinging corner. Inswinging corner taken by Danny Whitaker, Jamie McGuire makes a clearance.14:24
Jamie McGuire takes a shot. Blocked by Sam Hird.13:58
Steven Gillespie takes a shot. Richard O'Donnell makes a save.12:45
Inswinging corner taken left-footed by Dean Howell from the right by-line to the near post, Jack Lester makes a clearance.12:16
Shot from inside the area by Steven Gillespie clears the bar.11:27
Sam Togwell restarts play with the free kick.11:27 Booking
Booking Junior Brown booked for unsporting behaviour.10:46
Tom Barkhuizen takes a shot. Save made by Richard O'Donnell. Foul by Junior Brown on Danny Whitaker, free kick awarded.9:43
The ball is swung over by Dean Howell, Terrell Forbes makes a clearance. Rob Edwards gives away a free kick for an unfair challenge on Jack Lester. Sam Togwell restarts play with the free kick.9:07
Unfair challenge on Lee Fowler by Danny Whitaker results in a free kick. Lee Fowler takes the direct free kick.7:30
Free kick awarded for a foul by Sam Hird on Steven Gillespie. Free kick crossed left-footed by Dean Howell.6:00 +0:01 Goal scored
Goal! - Steven Gillespie - Chesterfld 0 - 1 Fleetwood Steven Gillespie finds the back of the net with a goal from just outside the area to the bottom right corner of the goal. Chesterfield 0-1 Fleetwood Town.5:33
Outswinging corner taken left-footed by Dean Howell from the left by-line to the near post, Luis Boa Morte makes a clearance.4:18
Sam Togwell has an effort at goal from outside the box missing to the wide left of the goal.1:01
Free kick awarded for a foul by Rob Edwards on Sam Togwell. Drew Talbot takes the free kick.0:00
The ref blows the whistle to start the match.
Live data and text provided by our data suppliers