Match ends, Aberdeen 2, Dundee 1.
Aberdeen 2-1 Dundee
Stevie May scored twice on his home debut as Aberdeen edged past a dogged Dundee at Pittodrie.
May headed Greg Tansey's corner past goalkeeper Scott Bain for his first.
Marcus Haber headed off the crossbar for Dundee before Roarie Deacon equalised when he intercepted Ryan Christie's poor pass and drilled the ball into the net.
The Dons re-took the lead when Graeme Shinnie's shot rebounded to May, who rifled in a second.
It means Aberdeen are one of three teams - along with Celtic and St Johnstone - to boast a 100% start to the season.
For Dundee, though, it leaves manager Neil McCann still searching for their first points of the season, with his side rooted to the bottom on goal difference.
Aberdeen's strength and consistency has added a swagger to their play, such is the confidence in their ability to win.
They swarm forward - an attacking threat offered from every angle - and when they went ahead early in the match it looked ominous for Dundee.
Tansey's set-piece delivery means the absence of Jonny Hayes and Niall McGinn is being less keenly felt and his corner found the head of May, who directed the ball past Bain.
Aberdeen dominated the opening period but allowed Dundee a couple of sights of goal.
McCann had bemoaned his side's inability to turn chances into goals last weekend and the same was true here as James Vincent dithered in front of goal and allowed Aberdeen goalkeeper Joe Lewis to smother the opportunity.
Haber showed greater conviction when he met Deacon's cross with a powerful header, but on this occasion the crossbar intervened.
McCann stressed beforehand that two defeats from two didn't have him worried and his players continued to show composure as they sought a way back into the game.
In the end, that came from an unlikely source. Christie's cross-field pass was aimless and Deacon was able to burst towards the edge of the box before firing a low shot through the legs of Lewis.
The wet surface did the goalkeeper no favours, but he will be disappointed nonetheless to lose a goal in such fashion.
Dundee's profligacy in front of goal came back to haunt them at a pivotal moment, though. Scott Allan slid the ball past the post after being picked out unmarked by Deacon.
A further opening was passed up as Haber failed to pick out Faissal El Bakhtaoui and, perhaps crucially, both players pulled up injured.
Before they could be replaced, Aberdeen stormed forward and although Shinnie's shot was charged down, May swept a beautiful strike past the diving Bain.
Aberdeen manager Derek McInnes: "It wasn't our normal flow and we didn't have the normal control we're used to at Pittodrie. There were some spells of the game I didn't particularly enjoy but I enjoyed winning.
"Dundee showed they're a good team. We needed to show more confidence to go and work them and ask questions. Ultimately it's about taking your chances, and it's a hell of a strike from Stevie May. He's already proved his worth. He's a fantastic player capable of big moments.
"I think Dundee will probably go back down the road feeling aggrieved they didn't get something from the game and I can understand that."
Dundee boss Neil McCann: "Sometimes you just think luck is not going for you. We go down to nine men [with Haber and El Bakhtaoui injured] and are desperate to get people on.
"I am angry with myself because I could have just walked on to the pitch and tried to stop the game. I felt we had a sub ready but [referee] Kevin [Clancy] wouldn't let us get him on.
"Then we have a chance to put the ball out but for some reason we don't, we try to keep the ball alive and it is just silly decisions like that which come back to bite you. It's hard to take because we have played really well in spells today."
- 2LoganBooked at 41mins
- 16TanseySubstituted forMaynardat 66'minutes
- 7McLeanBooked at 90mins
- 11Mackay-StevenSubstituted forStewartat 57'minutes
- 83MayBooked at 65minsSubstituted forRooneyat 81'minutes
- 8KamaraBooked at 64minsSubstituted forO'Haraat 85'minutes
- 20El BakhtaouiSubstituted forMcGowanat 80'minutes
- 29HaberSubstituted forWilliamsat 80'minutes
- Kevin Clancy
- Shots on Target
Second Half ends, Aberdeen 2, Dundee 1.
Foul by Mark Reynolds (Aberdeen).
Roarie Deacon (Dundee) wins a free kick in the defensive half.
Corner, Aberdeen. Conceded by Scott Bain.
Attempt saved. Greg Stewart (Aberdeen) right footed shot from the right side of the box is saved in the centre of the goal.
Kenny McLean (Aberdeen) is shown the yellow card for a bad foul.
Corner, Dundee. Conceded by Shaleum Logan.
Foul by Greg Stewart (Aberdeen).
Paul McGowan (Dundee) wins a free kick in the defensive half.
Substitution, Dundee. Mark O'Hara replaces Glen Kamara.
Corner, Dundee. Conceded by Anthony O'Connor.
Attempt missed. Ryan Christie (Aberdeen) right footed shot from the centre of the box is close, but misses to the right.
Substitution, Aberdeen. Adam Rooney replaces Stevie May.
Substitution, Dundee. Paul McGowan replaces Faissal El Bakhtaoui because of an injury.
Substitution, Dundee. Danny Williams replaces Marcus Haber.
Goal! Aberdeen 2, Dundee 1. Stevie May (Aberdeen) left footed shot from the centre of the box to the top right corner.
Delay over. They are ready to continue.
Delay in match Marcus Haber (Dundee) because of an injury.
Anthony O'Connor (Aberdeen) wins a free kick in the defensive half.
Foul by Scott Allan (Dundee).
Substitution, Aberdeen. Nicky Maynard replaces Greg Tansey.
Kenny McLean (Aberdeen) wins a free kick in the attacking half.
Foul by Faissal El Bakhtaoui (Dundee).
Attempt blocked. Kevin Holt (Dundee) right footed shot from outside the box is blocked.
Stevie May (Aberdeen) is shown the yellow card for a bad foul.
Foul by Stevie May (Aberdeen).
Faissal El Bakhtaoui (Dundee) wins a free kick in the defensive half.
Glen Kamara (Dundee) is shown the yellow card for a bad foul.
Ryan Christie (Aberdeen) wins a free kick in the defensive half.
Foul by Glen Kamara (Dundee).
Corner, Aberdeen. Conceded by Kevin Holt.
Attempt missed. Scott Allan (Dundee) right footed shot from the centre of the box is close, but misses to the left.
Andrew Considine (Aberdeen) wins a free kick in the attacking half.
Foul by Roarie Deacon (Dundee).
Substitution, Aberdeen. Greg Stewart replaces Gary Mackay-Steven.
Anthony O'Connor (Aberdeen) wins a free kick on the left wing.
Foul by Faissal El Bakhtaoui (Dundee).
Goal! Aberdeen 1, Dundee 1. Roarie Deacon (Dundee) right footed shot from the right side of the box to the centre of the goal.
Attempt missed. Stevie May (Aberdeen) right footed shot from outside the box is close, but misses to the left.