Shannon Brown added 19 points, Michael Beasley 16 and Jared Dudley 15 for Phoenix. Markieff Morris added 13 points and had a crucial steal down the stretch. Marcin Gortat and Luis Scola added 12 points apiece for the Suns, who finished the game with a 13-4 run.
Andre Iguodala scored 17 for Denver. JaVale McGee added 16, pretty much all of them on thundering dunks, and Danilo Gallinari scored 15 for the Nuggets. Kenneth Faried scored 14 on 6-of-7 shooting but didn't take a shot in the second half.
Denver outshot Phoenix 54 percent to 46 percent but committed 15 turnovers, resulting in 17 points, to the Suns' six. Denver had nine points off turnovers. Phoenix also prevailed at the foul line, going 17 of 21 to the Nuggets' 11 of 18.
Dragic's 3-pointer from the top of the key put Phoenix ahead 100-96 with 3:14 to play. Ty Lawson's two free throws cut it to 100-98 just 14 seconds later, then Morris made two from the line and stole the ball from Lawson, leading to Brown's fastbreak layup that made it 104-98 with 2:31 remaining.
Faried was called for traveling, then Dragic hit a 19-footer and the Suns led 106-98 with 1:38 to go. After Andre Miller made one of two free throws to close it to 106-100 with 1:19 left, the Suns put it away with baskets by Brown and Gortat.
The Nuggets outshot the Suns 56 percent to 40 percent in the first half but led only 57-54 at the break. Phoenix stayed close by making 13 of 15 free throws in the first two quarters to Denver's 5 of 10.
Denver led most of the third quarter and was ahead 76-71 when McGee dunked with just under 4 minutes left in the period. But Phoenix outscored the visitors 12-2 the rest of the quarter. Dudley and Beasley each hit a 3 during the run, then Dragic's 8-footer gave the Suns an 83-78 lead entering the fourth.
The Nuggets cut the lead to three early in the fourth quarter before Brown's inside basket and Gortat's dunk on a lob from Dragic made it 91-84 with 9:17 to play.
Gallinari's driving layup over Morris cut the Phoenix lead to 97-96 with 3:58 remaining, leading Suns coach Alvin Gentry to call a timeout, and the Suns pulled away from there.
NOTES: After playing Miami at home on Thursday, the Nuggets play their next three on the road. ... Phoenix improved to 3-1 at home. ... Denver lost its first three games of the season, all on the road, but had won its last two away from home. ... Dragic is the only Suns player to score in double figures in every game this season. ....