Anthony Davis had 27 points and 10 rebounds for the Lakers while LeBron James had 25 points, nine rebounds and eight assists.
The Lakers are 17-3 for the equal-best record in the NBA with eastern conference leaders Milwaukee Bucks.
The Mavs erased a half-time deficit with a 28-5 run to open the second half, shredding the Lakers’ usually solid defence.
The decisive rally was led by a majestic quarter from Doncic, who had 16 points and five assists in the third quarter.
“It’s a great win that means a lot to us,” Slovenian Doncic said.
“It shows that we can play against big teams, too. We just need to keep it rolling.”
Pascal Siakam scored 35 points while Fred VanVleet had 21 points and 11 assists as Toronto Raptors used a record-setting first half to rout Utah Jazz 130-110.
The NBA champions led 77-37 for the biggest half-time lead in franchise history and in the NBA this season.
The 40-point spread was the Jazz’s biggest half-time deficit.
Jayson Tatum scored 30 points and Jaylen Brown added 28 to help Boston Celtics beat New York Knicks 113-104.
Jimmy Butler scored 20 points while Bam Adebayo had 17 points and 16 rebounds as Miami Heat scored the final 10 points to beat Brooklyn 109-106.
Orlando Magic accounted for Golden State Warriors 100-96, with Evan Fournier equalling his career-high of 32 points.
Christian Wood scored a career-high 28 points to help Detroit Pistons rout San Antonio Spurs 132-98.
Elsewhere, Oklahoma City Thunder edged New Orleans Pelicans 107-104 and Memphis Grizzlies won 115-10 against the Minnesota Timberwolves. In the late game, the LA Clippers thrashed the Washington Wizards 150-125.