Doncaster moved level with League One leaders Tranmere with victory over Colchester, a result which condemned the U's to a club record-equalling eighth successive league defeat.
Josh Thompson thought he had headed the visitors ahead, but an infringement saw the referee disallow the goal.
on-loan Emile Sinclair
making his Rovers debut, Iain Hume forced visiting keeper Mark Cousins into a fine save.
And late on David Cotterill curled into the far corner to win it for the hosts.
Doncaster, who had a game in hand on promotion rivals Tranmere and Sheffield United prior to the match, took advantage of both teams' participation in the FA Cup to move three points above the Blades and behind the Merseyside club only on goal difference.
VIEWS FROM THE DRESSING ROOM
Doncaster Rovers manager Dean Saunders told BBC Radio Sheffield:
"Last week's game emotionally and physically took it's toll on the players and you could see that today we were a yard short.
"That's four games without the opposition having even half a chance against us, without scoring a goal they've not had a half chance against us, only long range shots.
"That's the Preston game, Sheffield United, who scored from a penalty and a goal-mouth scramble and Oldham they didn't get a chance either.
"So we're defending great and when we don't string it together like today we kept a clean sheet and stayed in the game."
Colchester United manager Joe Dunne told BBC Essex:
"We were magnificent. I thought we were the better team. We controlled the ball, I though we got into great positions and tested their back four.
"We were very good. I don't think we deserved to lose the game. Any real football person would say that.
"The players should be very proud of themselves. That's a great performance to take into next week.
"For once I can't stand here and say it's the same stupid mistakes because it wasn't. It (David Cotterill's goal) was a class finish."
Full Time The final whistle goes and the game is over.
James Husband restarts play with the free kick.
90:00 +4:28 Booking
Booking Gavin Massey goes into the book for unsporting behaviour.
James Husband fouled by Gavin Massey, the ref awards a free kick.
Foul by Andy Bond on James Husband, free kick awarded. James Husband takes the direct free kick.
Brian Wilson gives away a free kick for an unfair challenge on James Husband. Direct free kick taken by James Husband.
Corner from the left by-line taken by Jack Compton, Iain Hume manages to make a clearance.
Booking Booking for Anthony Wordsworth for dissent.
Unfair challenge on Paul Quinn by Michael Rose results in a free kick. Lee Fowler restarts play with the free kick.
Short corner taken by James Coppinger.
Free kick taken by Jamie McCombe.
Substitution George Porter is brought on as a substitute for Dominic Samuel.
Substitution James Husband comes on in place of David Cotterill.
James Coppinger fouled by Michael Rose, the ref awards a free kick.
Unfair challenge on Iain Hume by Josh Thompson results in a free kick. Direct free kick taken by Jamie McCombe.
Booking David Cotterill booked.
83:03 Goal scored
Goal - David Cotterill - Doncaster 1 - 0 Colchester A goal is scored by David Cotterill from the edge of the penalty box to the top right corner of the goal. Doncaster 1-0 Colchester.
Substitution Andy Bond joins the action as a substitute, replacing Kem Izzet.
Lee Fowler fouled by Anthony Wordsworth, the ref awards a free kick. Lee Fowler restarts play with the free kick.
Iain Hume concedes a free kick for a foul on Anthony Wordsworth. Mark Cousins restarts play with the free kick.
Substitution Jack Compton is brought on as a substitute for Drey Wright.
Substitution Lee Fowler comes on in place of Emile Sinclair.
Substitution James Coppinger joins the action as a substitute, replacing Kyle Bennett.
Drey Wright takes a shot from just outside the penalty area which clears the crossbar.
Brian Wilson decides to take a short corner.
Iain Hume takes a shot. Blocked by Marcus Bean. Outswinging corner taken by David Cotterill from the right by-line.
Drey Wright has an effort at goal from just inside the box that misses to the right of the goal.
The ball is delivered by Brian Wilson, Paul Quinn manages to make a clearance.
Shot from outside the box by Iain Hume misses to the left of the target.
Effort from 6 yards by Iain Hume. Save by Mark Cousins.
Free kick awarded for a foul by Kem Izzet on Iain Hume. David Cotterill restarts play with the free kick.
Foul by David Cotterill on Drey Wright, free kick awarded. The free kick is swung in right-footed by Brian Wilson, Gary Woods makes a save.
Kem Izzet gives away a free kick for an unfair challenge on David Cotterill. Direct free kick taken by David Cotterill. Unfair challenge on Magnus Okuonghae by Rob Jones results in a free kick. Mark Cousins restarts play with the free kick.
The referee gets the second half underway.
45:00 +0:21 Half time
Half Time The first half comes to an end.
Unfair challenge on Drey Wright by David Cotterill results in a free kick. Brian Wilson crosses the ball in from the free kick. The official flags Dominic Samuel offside. Free kick taken by Gary Woods.
The referee blows for offside against Marcus Bean. Free kick taken by Gary Woods.
Paul Quinn gives away a free kick for an unfair challenge on Marcus Bean. Mark Cousins takes the free kick.
David Syers produces a right-footed shot from the edge of the box and misses to the right of the goal.
Brian Wilson produces a cross.
The offside flag is raised against Dominic Samuel. Free kick taken by Gary Woods.
Header on goal by Dominic Samuel from inside the box goes harmlessly over the target.
Inswinging corner taken by Michael Rose, save by Gary Woods.
Corner taken by Michael Rose played to the near post, Close range header by Magnus Okuonghae misses to the right of the target.
A cross is delivered by Jamie McCombe, Mark Cousins makes a comfortable save.
Emile Sinclair produces a right-footed shot from just outside the box that goes wide left of the target.
David Cotterill delivers the ball, clearance made by Marcus Bean.
The ball is sent over by David Cotterill, save by Mark Cousins.
Kem Izzet takes a shot. Save by Gary Woods. Inswinging corner taken by Brian Wilson, Dominic Samuel has a headed effort from close range and clears the crossbar.
David Syers takes a shot. Blocked by Anthony Wordsworth.
The ball is delivered by Tommy Spurr.
Close range header by Marcus Bean goes wide of the left-hand post.
Long range shot from Brian Wilson misses to the left of the goal.
Foul by Jamie McCombe on Dominic Samuel, free kick awarded. Michael Rose takes the free kick.
The official flags Dominic Samuel offside. Tommy Spurr takes the indirect free kick.
The match gets underway.
Live text and data provided by The Press Association
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.