BOSTON -- The Boston Celtics relied on their veterans to help them win the matchup of the NBA's two hottest teams.
Boston's win also ended Denver's winning streak at nine games.
Pierce made a tying 3-pointer in the second overtime to make it 107-107 and extend the game.
|More on Nuggets-Celtics|
|More NBA coverage|
"I mean that's what great players do. I would love to tell you I had something to do with it," Celtics coach Doc Rivers said. "I was sitting just like the fans saying, "Please, Lord, Paul make a shot."
"It seems like Garnett has a huge heart and wanted to win the game and he made some big time shots," Nuggets coach George Karl said. "His range has improved and it's about time he get that respect."
Pierce, Garnett and Terry are the only active Celtics with championship rings since point guard Rajon Rondo's season-ending knee injury. The Celtics remain unbeaten in Rondo's absence.
Terry hit a 3-pointer with 1:33 remaining in the third overtime to put the Celtics ahead 116-113.
Danilo Gallinari, who finished with 18 points and 10 rebounds, hit a free throw, but Denver would not get any closer.
"Hard to believe these guys don't have an all-star," Garnett said. "That baffles me ... Gallinari, Lawson ... they have deserving guys."
Terry, who had missed five consecutive 3-point shots in the first two overtimes, also made the defensive play of the game when he stole the ball from Andre Miller with 35 seconds remaining.
Denver had one last gasp as Miller missed a 3-pointer with 4.9 seconds remaining before Terry dribbled the ball up the court and made a layup at the buzzer to finish the scoring.
"We're not into moral victories, but it was one of those games," Miller said. "It was a fun game and I'm sure everybody was tired."
Denver's Ty Lawson had 29 points, nine assists and six rebounds and hit several key shots, including a running bank shot to send the game into overtime tied at 92-92.
Gallinari struggled from the field as he shot 7 of 20 for the Nuggets. Kenneth Faried had 14 points and 12 rebounds for Denver.
Garnett was 3 of 4 from the field in overtime after missing 14 of his previous 20 shots.
With Denver leading 105-104 in the second overtime, Lawson hit another jumper to put the Nuggets up 107-104 with 18.9 seconds remaining.
But Pierce hit a 3-pointer with Miller in his face with 5 seconds left to tie the game at 107-107.
Gallinari then had an open lane to the basket as he was overplayed by Garnett, but missed his shot as time ran out.
Jeff Green's 3-pointer tied the game at 99-99 with 23.8 seconds remaining in the first overtime, but Lawson's long 3-pointer fell short at the buzzer.
"Lot of people still doubt us," Green said. Can't come into games thinking we have to impress people."
Denver failed to hit its last shot in all three overtimes with chances to win the game in the first two and to tie it in the third.
Green's jumper put Boston ahead 92-90 with 47.9 seconds remaining in regulation. Miller then missed consecutive shots on the ensuing Denver possessions, but Faried was fouled with 5.4 seconds remaining.
Faried missed both free throws, but Celtics guard Avery Bradley knocked the ball out of bounds. Lawson then scored with 0.8 seconds remaining.
Gallinari, who averages 20 points per game to lead Denver, was held to three points in the first half on 1-of-6 shooting as the Nuggets trailed 50-46 at the break.
|Boston's Chris Wilcox takes a shot from Denver's Kenneth Faried as the teams battle for 3 OTs. (AP)|
|Boston (27-23) «||29||21||28||14||7||8||11||118|
|DEN:T. Lawson 29 Pts
DEN:J. McGee 16 Reb
DEN:T. Lawson 9 Ast
|BOS:P. Pierce 27 Pts
BOS:K. Garnett 18 Reb
BOS:P. Pierce 14 Ast
|Players of the Game|
|T. Lawson, PG||55||13-22||0-0||6||9||2||29|
|D. Gallinari, SF||49||7-20||2-3||10||3||2||18|
|K. Faried, SF||39||5-10||4-7||12||1||5||14|
|A. Iguodala, SG||20||2-6||0-0||2||4||2||5|
|K. Koufos, C||19||4-6||0-0||2||0||1||8|
|A. Miller, PG||40||7-18||0-0||5||6||1||15|
|W. Chandler, SF||33||3-9||0-0||8||1||2||7|
|J. McGee, C||32||2-7||1-2||16||0||1||5|
|C. Brewer, SF||28||5-15||3-5||4||1||3||13|
|A. Randolph, PF||Did Not Play|
|J. Hamilton, SF||Did Not Play|
|T. Mozgov, C||Did Not Play|
|J. Stone, PG||Did Not Play|
|E. Fournier, SG||Did Not Play|
|Q. Miller, SF||Did Not Play|
|Complete Box Score|
|P. Pierce, SF||54||7-20||8-9||14||14||5||27|
|K. Garnett, PF||47||9-24||2-2||18||6||2||20|
|A. Bradley, PG||46||6-12||0-0||5||4||5||13|
|B. Bass, PF||33||2-7||1-2||4||3||1||5|
|C. Lee, SG||23||1-5||0-0||1||3||0||2|
|J. Terry, SG||43||10-22||1-1||2||1||1||26|
|J. Green, PF||42||6-10||4-4||4||1||3||17|
|L. Barbosa, SG||17||2-5||0-0||2||1||2||5|
|C. Wilcox, C||11||0-3||3-6||1||1||0||3|
|J. Collins, C||Did Not Play|
|R. Rondo, PG||Did Not Play|
|F. Melo, C||Did Not Play|
|J. Sullinger, PF||Did Not Play|
|Complete Box Score|