Andrei Vasilevskiy made 21 saves for Tampa Bay (17-8-2), which has won consecutive games following a three-game losing streak.
Juraj Slafkovsky scored, and Jacob Fowler made 17 saves for Montreal (14-10-5), which has lost six straight (0-5-1).
O’Reilly scored at 9:52 of the third to put the Lightning ahead 2-1. The 20-year-old forward drove into the left circle and scored to the far side after getting behind Slafkovsky to take a stretch pass from John Carlson at the blue line.
O’Reilly, who has three goals in 10 games with the Lightning, was checked after taking the shot by Canadiens defenseman Arber Xhekaj, who sent him flying into the end boards and was given a minor penalty for boarding. O’Reilly was helped off the ice and did not return.
Mercuri gave Tampa Bay a 1-0 lead at 15:15 of the second period. He got behind Lane Hutson in front of the net to deflect Scott Sabourin’s shot from the right point past Fowler for his first career point in his second game.
The 24-year-old forward, who was born in Montreal, made his NHL debut in a 2-1 win against the Florida Panthers on Saturday.
Slafkovsky tied it 1-1 at 1:34 of the third. He was set up to the right of the net to drive in a rebound of Hutson’s shot before Vasilevskiy could get across with his left pad.
Cole Caufield had a goal waved off with eight seconds remaining and Fowler pulled for the extra attacker when officials ruled Caufield batted the puck in with his glove.
Tampa Bay forward Anthony Cirelli was unable to play because of an undisclosed injury. The Lightning were already missing forwards Nikita Kucherov (undisclosed), Brandon Hagel (lower body), Conor Geekie (shoulder surgery) and Pontus Holmberg (lower body), and defensemen Victor Hedman (undisclosed) and Erik Cernak (illness).
Montreal forward Josh Anderson played 13:20 and had one shot on goal and five hits after missing the previous eight games with a lower-body injury.