The Ducks announced the deal with LaBarbera on Tuesday.
LaBarbera, who joins his sixth NHL organization, played seven games with the Edmonton Oilers last season, spending most of the year in the AHL.
LaBarbera also has played for the New York Rangers, Los Angeles, Vancouver and Phoenix. He won a career-best 15 games for the Kings during the 2007-08 season.
The 34-year-old goalie will provide competition for youngsters Frederik Andersen and John Gibson in training camp in Anaheim.
The Pacific Division champion Ducks allowed longtime starter Jonas Hiller to leave as a free agent this summer. Hiller signed with Calgary on Tuesday.