Nikolay Goldobin and Alex Biega scored, and Elias Pettersson had two assists for the Canucks (27-28-8), who ended a three-game losing streak and won in regulation for the first time in 11 games dating to Feb. 2. Vancouver was 2-6-2 between regulation victories.
"It means we won the game," Markstrom said of his first shutout since Feb. 11, 2018. "It's nice to get one, for sure, but that mirrors how we played defense and played the game."
WATCH: [All Ducks vs. Canucks highlights]
The Canucks are four points behind the Minnesota Wild for the second wild card into the Stanley Cup Playoffs from the Western Conference and five points ahead of the Ducks.
"That was definitely a huge confidence-booster for us," Horvat said. "We were playing really well last game and not getting any, and then finally get rewarded with four tonight. Definitely feels great."
Kevin Boyle, who shut out Vancouver on Feb. 13 in his first NHL start, made 25 saves for Anaheim (24-30-9), which has lost three games in a row and is 3-11-0 in the past 14.
"As a group, we are not going to feel sorry for ourselves or make excuses, or let people make excuses for us," forward Devin Shore said. "It's tough sledding, but we've all been through situations where things don't go your way, and you can't hope your way out of it; you have to work your way out of it."