Novak tied it 2-2 with his team-leading 10th goal of the season by tapping in a loose puck after a shot from Sidney Crosby at the point hit Ben Kindel and dropped in the crease.
Lapierre won it with a wrist shot from the slot set up by Erik Karlsson.
Kris Letang also scored, and Arturs Silovs made 15 saves for the Penguins (9-15-2), who have won two straight, including 6-3 at the Buffalo Sabres on Friday, after losing each of their previous five in regulation.
John Tavares and Darren Raddysh each had a goal and an assist for the Maple Leafs (10-14-4), who had won two in a row after losing the previous nine (0-8-1). Sergei Bobrovsky made 38 saves as his personal losing streak reached seven games since last winning Oct. 22 against the New York Rangers.
Letang put Pittsburgh ahead 1-0 at 18:56 of the first period with a shot from the high slot. The defenseman also scored Friday, giving him a goal in consecutive regular-season games for the first time since Dec. 12 and 14, 2024. He also became the first Penguins defenseman to score in consecutive days since Mike Matheson (Jan. 20-21, 2022).
Tavares tied it 1-1 on a power play at 3:00 of the second period, deflecting a shot from Raddysh for his fifth goal this season and third in six games.
Lapierre had a chance to put the Penguins back in front when he stole the puck from Toronto defemseman Oliver Ekman-Larsson at the opposite blue line to go in for a partial breakaway, but Bobrovsky turned away his backhand at 18:26.
The Maple Leafs were outshot 20-9 in the opening two periods, including 12-3 in the first.
Raddysh gave Toronto a 2-1 lead with a power-play goal at 6:18 of the third period, scoring on a one-timer from above the left face-off circle set up by Gavin McKenna.