Backup goalie Dustin Tokarski became expendable when the Canadiens acquired Ben Scrivens, so he was dealt for Ducks depth forward Max Friberg.
The clubs announced the swap on Thursday.
Tokarski is 10-12-5 in 33 career NHL appearances with Montreal and Tampa Bay. He has also played in five Stanley Cup playoff games, as well six as a backup to MVP Carey Price in Montreal this season, but he became expendable after the club acquired Ben Scrivens from Edmonton.
All-Star Ducks goalie John Gibson left Wednesday’s game with a lower-body injury, but the trade doesn't appear to be related. Gibson practiced with Anaheim on Thursday.
Friberg has played six NHL games over two seasons with the Ducks, who drafted him in the fifth round in 2011. He spent most of this season with Anaheim's AHL affiliate in San Diego.