Mason Bennett's late winner saw Millwall earn a 2-1 win over Preston at The Den and edged the Lions closer to the Sky Bet Championship play-off spots.
The deadlock was broken emphatically when Ched Evans lashed in a stunning early volley before Scott Malone levelled with a wonder goal of his own.
But Bennett beat the odds to win an aerial duel with Preston keeper Daniel Iversen and nod home the winner five minutes from time.
That Evans strike was the first real opportunity of the game and taken brilliantly after Scott Sinclair's long angled pass was only half cleared by George Evans, only to fall perfectly for the Preston striker on the edge of the box.
With injuries mounting for the hosts, it was up to Jon Dadi Bodvarsson's turn to lead the line and his cut-back on 15 minutes was missed by everyone, including Bennett, who was poised on the penalty spot but failed to make contact.
Both sides offered little going forwards with Millwall looking for the long ball more often than not, and found one after 35 minutes, but it caught Shaun Hutchinson off guard and his scuffed effort was parried away by Iversen.
With six minutes remaining of the half, Malone equalised as the space opened up in front of him and his 25-yard left-footed strike swerved away from Iversen, who was at full-stretch, and into the top corner.
The Lions came close to taking the lead when Bodvarsson, now back on the wing, crossed for Malone, who had to adjust his body at the last second and side-footed on to the crossbar.
The hosts looked intent on avoiding their 17th league draw of the season as Jed Wallace burst into life after 76 minutes but lashed wide from a tight angle having been slipped in smartly by Ryan Woods.
Seconds later Malone tried to repeat his brilliant strike from the first half but sent a rasping effort high and wide of the Preston goal.
With four minutes of normal time remaining, Bennett gave chase to a bouncing ball in behind the Preston defence and beat Iversen in a foot race to flick the ball into the back of the net.
The Lilywhites were handed a lifeline in the dying moments of added time with a set-piece but Ben Whiteman's cross ended up as a wasted chance and Millwall took all three points.
What the managers said...
Millwall's Gary Rowett: "It was the perfect response, although I didn't feel that way after about 25 minutes, but as it tends to happen recently we don't start as well as I'd like. Going 1-0 down knocked our confidence a bit I think and we started going backwards and playing too slowly - Preston were set up to pick off the poor passes and counter-attack us.
"Beyond that I thought we were by far the better side and limited them to virtually nothing. It looked like only a matter of time for us to score and for 65 minutes, we looked excellent. I think in the Championship, most teams that go a goal up don't tend to go on and lose the game but what we've done is show different ways to win a game."
Preston's Alex Neil: "I don't think there was a lot in the game really but I'm just so frustrated because their goal comes from exactly what I've been warning them about. The biggest difference between us was that they were putting the ball in
behind us and we were leaving it short so their centre-backs were in complete control of the situation.
"The first two goals were moments of quality from two players and for theirs, we back off, leave the space in front and he bangs it in the top corner, so I'll take responsibility for that one. But for the second one that is exactly what we didn't do and it cost us the game."