Ashley Williams' calamitous early own goal set Derby on their way to a 2-1 triumph - their first home victory since November - and extended promotion-chasing Swansea's winless streak to three games.
Williams had already headed a good chance over when his misplaced back-pass caught goalkeeper Dorus de Vries off guard to hand the Rams a comical seventh-minute lead.
The Wales international was having an afternoon he would not forget anytime soon as he then headed against the crossbar at the right end.
But it was left for Steven Davies to show him how it is done with a header from Conor Doyle's corner shortly after the restart.
Substitute Darren Pratley headed Swansea a 65th-minute lifeline while Stephen Dobbie hit the bar, but Derby held firm to clinch only their third win in 19 npower Championship matches and provide a huge boost to their survival ambitions.
The victory, County's first over the Welsh outfit since 1986, leaves second-placed City reflecting on a case of promotion jitters at a crucial stage in the campaign.
Derby boss Nigel Clough recalled skipper Robbie Savage, Alberto Bueno and Davies for the clash, while Swans counterpart Brendan Rodgers kept faith with the same XI who started Tuesday's 1-1 draw at home to Watford.
And it was centre-back Williams who was at the centre of two key incidents in the opening exchanges, first heading a glorious opportunity over the bar from merely yards out.
The 26-year-old's afternoon was to get even worse as Swansea's liking for playing the ball around defence came back to haunt them.
Williams misjudged a pass back to De Vries from inside the area and, despite the best efforts of the Dutchman who rushed across his goal, the ball crossed the line to hand County an effortless lead.
The advantage seemed to breathe confidence into the hosts and a 20th-minute free-kick caused all sorts of problems in the visiting box before Jamie Ward's header was turned around a post by De Vries.
Williams was already centre stage at Pride Park before he then headed against the crossbar midway through the first half.
Swansea started to get a foothold as the opening 45 minutes wore on and Dobbie fizzed an effort narrowly wide from 20 yards.
The well-travelled Scot then came within inches of laying on an equaliser for Scott Sinclair who just failed to connect with his cross.
Swans boss Rodgers turned to midfield duo Pratley and Leon Britton at the interval.
And the fresh impetus saw the visitors dominate proceedings at the start of the second half, only for the Rams to land a sucker punch in the 54th minute.
Doyle, a 50th-minute replacement for Paul Green, sent over a corner and Davies did well to head the ball home under pressure.
De Vries kept the hosts in it with a great stop from Davies before Pratley handed City hope with a 65th-minute header which owed much to the hesitancy of Derby's on-loan goalkeeper Frank Fielding.
Dobbie connected with the woodwork just minutes later before Pratley fired just wide as Swans applied plenty of pressure.
Derby substitute Theo Robinson wasted a glorious chance to make it 3-1 but the miss proved inconsequential for the victorious hosts.
Copyright (c) PA Sport 2009, All Rights Reserved.
Do YOU want to write for GiveMeSport? Get started today by signing-up and submitting an article HERE: https://www.givemesport.com/writeforgms