Goals from Niall McGinn and Jonny Hayes made it 10 Scottish Premier League matches without defeat for an Aberdeen side now only two points behind Celtic.
Former Hoops winger McGinn is proving crucial to that ambition as he made it five goals in the last five games to break the deadlock.
That clinical, 13th-minute drive and Hayes' 74th-minute trundler secured a deserved win for the Dons.
And it leaves Dundee further isolated at the foot of the table.
The only surprise was that Aberdeen didn't win more comfortably against a team that will need something of a minor miracle to survive in the top flight.
In fact, it looked bleak for Dundee before a ball was even kicked, with their best player, Mark Kerr, picking up a serious knee injury last week.
Manager Barry Smith took drastic action to try to stop leaking goals, pairing youngsters Kyle Benedictus and Declan Gallagher in central defence, while former Hamilton full-back Brian Easton made it three changes at the back.
However, poor Easton only lasted three minutes before slumping to the deck in agony with a hamstring pull that could keep him out for at least a month.
Matt Lockwood came on to try to take care of Ryan Fraser, but it was a tough ask as the teenager was his usual bag of tricks down both flanks.
League leaders Celtic are the only team to have beaten the Dons this season and Craig Brown's side looked like they could have given the champions a run for their money.
The only surprise was that the opener was delayed until 14 minutes as Chris Clark and Fraser both went close with early efforts.
Of course, when it did arrive, Fraser played a key role, intercepting a poor kick-out from Rab Douglas, racing clear then sweeping over an inviting cross from the right.
Scott Vernon dummied the ball and McGinn swooped to send a controlled shot with his instep soaring into the roof of the net.
Amazingly, the Dons were looking for their first home league win against Dundee in 19 games and 15 attempts dating back to October 1993, when Duncan Shearer got the winner.
That made it all the more appropriate that McGinn should become the first Aberdeen player since Shearer to score in five in successive matches.
Aberdeen dominated possession, but it took a freak second goal from substitute Hayes in 72 minutes to make sure of the win.
He curled in a free-kick from wide right that should have been cleared comfortably, but Dundee dithered and were lost.
Jim McAlister tried to clear but only succeeded in deflecting the ball through the legs of Douglas into the net.
McAlister's misery was compounded when the midfielder had what looked like a good consolation goal disallowed at the other end for offside.
- 01 Langfield
- 03 Robertson
- 04 Anderson
- 22 Reynolds
- 05 Rae
- 07 Clark (Hayes - 65' )
- 10 McGinn
- 16 Osbourne
- 18 Hughes Booked (Magennis - 78' )
- 20 Fraser (Smith - 80' )
- 09 Vernon
- 30 Rogers
- 17 Naysmith
- 23 Shaughnessy
- 11 Hayes
- 24 Brown
- 21 Magennis
- 38 Smith
- 01 Douglas
- 02 Irvine Booked
- 17 Benedictus
- 18 Gallagher
- 26 Easton (Lockwood - 4' )
- 06 Davidson Booked
- 07 Riley (Baird - 70' )
- 08 McBride Booked
- 11 Conroy
- 20 McAlister
- 24 Nish (Milne - 60' )
- 36 Baird
- 03 Lockwood
- 05 McGregor
- 25 Toshney
- 10 Baird
- 15 Milne
- 23 Boyle
Live Text Commentary
Full Time The referee signals the end of the game.90:00 +4:21
Johnny Hayes takes a inswinging corner from the right by-line played to the near post.90:00 +3:50
Johnny Hayes decides to take the corner short, Kevin McBride makes a clearance.89:38
Unfair challenge on Steven Milne by Gavin Rae results in a free kick. Gary Irvine takes the indirect free kick.86:47
John Baird takes a shot. Save by Jamie Langfield.85:31
Gary Irvine fouled by Niall McGinn, the ref awards a free kick. Indirect free kick taken by Kyle Benedictus.84:17
The referee blows for offside. Jamie Langfield takes the indirect free kick.79:51 Substitution
Substitution Ryan Fraser goes off and Cameron Smith comes on.79:15
Shot on goal by Ryan Conroy from inside the box goes harmlessly over the target.77:20 Substitution
Substitution Josh Magennis replaces Stephen Hughes.76:41
Effort on goal by Johnny Hayes from deep inside the penalty area misses to the right of the target.76:27
Johnny Hayes crosses the ball, clearance made by Kyle Benedictus.75:46 Booking
Booking Kevin McBride is shown a yellow card.75:33
Kevin McBride gives away a free kick for an unfair challenge on Ryan Fraser. Indirect free kick taken by Stephen Hughes.73:22 Goal scored
Goal! - Johnny Hayes - Aberdeen 2 - 0 Dundee Johnny Hayes scores direct from the free kick. Aberdeen 2-0 Dundee.71:39
Foul by Matthew Lockwood on Johnny Hayes, free kick awarded.71:00
Corner taken by Ryan Fraser from the left by-line, Rab Douglas makes a comfortable save.70:00 Substitution
Substitution Nicky Riley leaves the field to be replaced by John Baird.68:07
Ryan Fraser has an effort at goal from the edge of the box that misses to the right of the target.66:12
Ryan Fraser produces a right-footed shot from just outside the box that misses to the right of the net.
Substitution Johnny Hayes is brought on as a substitute for Chris Clark.63:18
Declan Gallagher restarts play with the free kick.63:18 Booking
Booking Stephen Hughes is given a yellow card.63:05
Steven Milne fouled by Stephen Hughes, the ref awards a free kick.59:44
Indirect free kick taken by Declan Gallagher.59:44 Substitution
Substitution (Dundee) makes a substitution, with Steven Milne coming on for Colin Nish.59:44
Unfair challenge on Nicky Riley by Chris Clark results in a free kick.51:55
Effort on goal by Nicky Riley from outside the box goes harmlessly over the bar.49:36
Effort from inside the area by Niall McGinn misses to the right of the target.49:02
The official flags Colin Nish offside. Russell Anderson takes the indirect free kick.47:11
Ryan Conroy takes the inswinging corner, Close range headed effort by Kyle Benedictus goes wide of the left-hand upright.45:34
Scott Vernon challenges Declan Gallagher unfairly and gives away a free kick. Indirect free kick taken by Rab Douglas.45:01
The second half kicks off.45:00 +1:06 Half time
Half Time The referee calls an end to the first half.44:13
The assistant referee signals for offside against Colin Nish. Russell Anderson takes the indirect free kick.43:12
Outswinging corner taken right-footed by Ryan Fraser from the right by-line.42:59
The ball is crossed by Ryan Fraser, clearance by Ryan Conroy.41:40
Gary Irvine gives away a free kick for an unfair challenge on Ryan Fraser. Clark Robertson restarts play with the free kick.39:24
Unfair challenge on Declan Gallagher by Chris Clark results in a free kick. Indirect free kick taken by Ryan Conroy.38:15
A cross is delivered by Ryan Fraser, save made by Rab Douglas.37:26
The ball is sent over by Clark Robertson, Matthew Lockwood makes a clearance.35:57
Ryan Fraser restarts play with the free kick.35:57 Booking
Booking Caution for Iain Davidson.35:51
Free kick awarded for a foul by Iain Davidson on Ryan Fraser.33:31
Pass corner from right by-line crossed in by Isaac Osbourne, Colin Nish makes a clearance.32:59
Inswinging corner taken right-footed by Ryan Fraser, clearance by Iain Davidson.27:18
A cross is delivered by Isaac Osbourne, save by Rab Douglas.26:55
The ball is swung over by Ryan Fraser, clearance by Matthew Lockwood.25:32
Stephen Hughes takes the indirect free kick.25:32 Booking
Booking The referee books Gary Irvine for unsporting behaviour.25:25
Gary Irvine concedes a free kick for a foul on Ryan Fraser.24:00
Unfair challenge on Russell Anderson by Colin Nish results in a free kick. Jamie Langfield takes the free kick.23:30
The referee blows for offside. Indirect free kick taken by Kyle Benedictus.22:36
Kyle Benedictus concedes a free kick for a foul on Niall McGinn. Free kick crossed right-footed by Ryan Fraser from left wing, Rab Douglas makes a comfortable save.20:00
Ryan Fraser concedes a free kick for a foul on Nicky Riley. Indirect free kick taken by Rab Douglas.19:35
The ball is crossed by Clark Robertson, Kyle Benedictus manages to make a clearance.18:20
Free kick awarded for a foul by James McAlister on Stephen Hughes. Indirect free kick taken by Stephen Hughes.13:24
The assist for the goal came from Ryan Fraser.13:24 Goal scored
Goal! - Niall McGinn - Aberdeen 1 - 0 Dundee Niall McGinn finds the back of the net with a goal from the edge of the penalty box to the top right corner of the goal. Aberdeen 1-0 Dundee.11:59
Colin Nish is ruled offside. Indirect free kick taken by Stephen Hughes.9:49
Ryan Fraser takes the inswinging corner, clearance made by Kevin McBride.7:56
Short corner taken by Ryan Fraser from the right by-line, Chris Clark has an effort at goal from just outside the box which goes wide of the right-hand upright.7:17
The referee blows for offside. Clark Robertson takes the free kick.6:35
Free kick awarded for a foul by Stephen Hughes on Nicky Riley. Iain Davidson takes the free kick.6:05
Russell Anderson fouled by Colin Nish, the ref awards a free kick. Free kick taken by Stephen Hughes.5:08
The ball is delivered by Clark Robertson, Niall McGinn takes a shot. Save by Rab Douglas.3:16 Substitution
Substitution Matthew Lockwood comes on in place of Brian Easton.1:53
Nicky Riley produces a left-footed shot from just outside the penalty box that misses to the left of the goal.0:00
The game begins.
Live data and text provided by our data suppliers