Andy Keogh marked his return to the Millwall starting XI with the winner 14 minutes from time against Derby.
Liam Feeney deservedly put the hosts ahead with a first-time shot and though an offside flag was raised, referee Graham Salisbury awarded the goal.
Millwall wasted chances to extend their lead and the Rams levelled as 17-year-old Will Hughes fired in from 20 yards.
But Scott Malone laid Feeney's long ball off to Keogh, who neatly tucked in his fifth goal of the season.
Republic of Ireland striker Keogh only started because of an injury to top-scorer Darius Henderson, and Millwall were also without winger James Henry, plus manager Kenny Jackett, who was struck down by illness.
They dominated the early exchanges, however, and Chris Wood had already blazed over when Feeney, who replaced Henry, scored from Chris Taylor's cross.
There was controversy surrounding the goal as celebrations were cut short by the flag, but referee Salisbury consulted with his official and then signalled for the goal.
As Millwall continued to press, Keogh curled the ball into the area but Wood was inches away, and the start of the second half saw Feeney shoot narrowly wide and Lowry head over from a corner.
The Rams had created little but Craig Bryson laid the ball off for Hughes to crash in his second senior goal.
However, Keogh's strike ensured Millwall stretched their unbeaten run to nine matches, with Lions goalkeeper David Forde saving a late drive from Michael Jacobs.
Millwall assistant manager Joe Gallen, standing in for Kenny Jackett, who missed the game with flu:
"I had an idea on Thursday he wasn't going to make it but carried on with what he was going to do.
"Kenny picked the team and discussed what training we are going to do and told me what the team needed to do.
"The team has been defending and running and working and blocking for the previous nine games. It's been a big feature of our performances."
Derby manager Nigel Clough:
"We thought we should have had a penalty at the end and one at the end of the first half.
"We can't control that. We can only control our own performance and we thought we deserved to go in level at half-time."
Full Time The final whistle goes and the game is over.
Adam Smith concedes a free kick for a foul on Michael Jacobs. Indirect free kick taken by Gareth Roberts.
Will Hughes takes a shot. Clearance made by Nadjim Abdou. Michael Jacobs takes the outswinging corner, inswinging corner taken from the right by-line by Will Hughes, save made by David Forde. Save by David Forde.
Michael Jacobs concedes a free kick for a foul on Adam Smith. Adam Smith restarts play with the free kick.
Michael Jacobs takes a shot. Save by David Forde.
Michael Jacobs takes a shot. Save made by David Forde.
Outswinging corner taken right-footed by Liam Feeney, free kick awarded for an unfair challenge on Richard Keogh by Chris Wood. Adam Legzdins restarts play with the free kick.
Booking Theo Robinson receives a yellow card.
Scott Malone takes a shot. Richard Keogh gets a block in.
Substitution Michael Jacobs joins the action as a substitute, replacing Conor Sammon.
Will Hughes takes a shot. Andy Keogh gets a block in.
Scott Malone provided the assist for the goal.
75:15 Goal scored
Goal - Andy Keogh - Millwall 2 - 1 Derby Andy Keogh grabs a goal from the edge of the penalty area to the top right corner of the goal. Millwall 2-1 Derby.
Outswinging corner taken from the right by-line by Liam Feeney.
Free kick awarded for a foul by Conor Sammon on Adam Smith. Free kick taken by David Forde.
Conor Sammon handles the ball and concedes a free kick. David Forde takes the indirect free kick.
Craig Bryson is ruled offside. Free kick taken by David Forde.
Conor Sammon is ruled offside. Indirect free kick taken by David Forde.
Free kick awarded for an unfair challenge on Nadjim Abdou by Craig Bryson. Liam Feeney crosses the ball from the free kick right-footed from left wing, clearance made by James O'Connor.
Free kick awarded for a foul by Paul Coutts on Shane Lowry. Free kick taken by David Forde.
Chris Wood has an effort at goal from close range which goes wide of the left-hand upright.
Chris Wood takes a shot. Clearance by Richard Keogh.
Free kick awarded for an unfair challenge on Richard Keogh by Chris Wood. Adam Legzdins takes the free kick.
Free kick awarded for a foul by John Brayford on Adam Smith. Free kick taken by David Forde.
Corner taken short by Will Hughes.
Adam Smith takes a shot from deep inside the box clearing the bar.
Conor Sammon has an effort from just inside the box that misses to the left of the target.
Assist by Craig Bryson.
52:02 Goal scored
Goal - Will Hughes - Millwall 1 - 1 Derby Goal scored by Will Hughes from just outside the penalty area to the top left corner of the goal. Millwall 1-1 Derby.
Liam Feeney has an effort at goal from just inside the box that misses to the right of the goal.
Shot by Conor Sammon from outside the box goes high over the target.
Foul by Andy Keogh on Theo Robinson, free kick awarded. Will Hughes takes the free kick.
Outswinging corner taken by Liam Feeney from the right by-line played to the near post, Header from close range by Shane Lowry clears the bar.
The game restarts for the second half.
45:00 +3:42 Half time
Half Time The ref blows to signal half-time.
Richard Keogh takes a shot.
Andy Keogh challenges Richard Keogh unfairly and gives away a free kick. Free kick taken by Adam Legzdins.
45:00 +1:13 Substitution
Substitution Chris Taylor goes off and Scott Malone comes on.
Conor Sammon gives away a free kick for an unfair challenge on Mark Beevers. Indirect free kick taken by David Forde.
Andy Keogh takes a shot. Richard Keogh gets a block in.
Will Hughes takes a shot. Blocked by Danny Shittu.
Chris Wood concedes a free kick for a foul on Richard Keogh. Adam Legzdins takes the indirect free kick.
Assist by Chris Taylor.
32:05 Goal scored
Goal - Liam Feeney - Millwall 1 - 0 Derby Goal scored by Liam Feeney from deep inside the penalty box to the top left corner of the goal. Millwall 1-0 Derby.
Outswinging corner taken right-footed by Paul Coutts, clearance made by Liam Trotter.
Free kick taken by David Forde.
Booking Jeff Hendrick is booked.
Liam Feeney fouled by Jeff Hendrick, the ref awards a free kick.
Unfair challenge on Shane Lowry by Theo Robinson results in a free kick. Shane Lowry takes the free kick.
Outswinging corner taken by Liam Feeney from the right by-line, Shot from deep inside the area by Chris Wood clears the bar.
Andy Keogh is flagged offside by the assistant referee. Richard Keogh takes the indirect free kick.
Chris Wood takes a shot. Save by Adam Legzdins.
Unfair challenge on Craig Bryson by Chris Wood results in a free kick. Free kick taken by Adam Legzdins.
Corner taken by Liam Feeney, Shane Lowry takes a shot. Will Hughes gets a block in.
Liam Trotter takes a shot. Jeff Hendrick gets a block in.
Indirect free kick taken by David Forde.
Booking Craig Bryson is shown a yellow card for unsporting behaviour.
Adam Smith fouled by Craig Bryson, the ref awards a free kick.
Unfair challenge on John Brayford by Liam Trotter results in a free kick. Indirect free kick taken by Richard Keogh.
Paul Coutts takes the free kick.
Booking Shane Lowry is shown a yellow card.
Free kick awarded for an unfair challenge on Paul Coutts by Shane Lowry.
Liam Trotter takes a shot. Adam Legzdins makes a save.
The match begins.
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.