Zach Galifianakis is in talks to voice Batman’s enemy the Joker in Warner Bros.’ “Lego Batman.”

Galifianakis joins Will Arnett, who’s returning as the gruff voice of Batman from “The Lego Movie” and Michael Cera, who was recently cast as Robin.

“Lego Batman” will open on Feb. 10, 2017 — three years after the original. Chris McKay, the animation supervisor on “The Lego Movie,” is directing from a script by Seth Grahame-Smith. Dan Lin, Roy Lee, Phil Lord and Christopher Miller are producing.

Galifianakis starred in the “Hangover” trilogy, “The Campaign,” “Birdman” and the upcoming “Masterminds,” which has been delayed due to Relativity’s bankruptcy filing. He also did voice work on “Puss in Boots.”

He’s repped by UTA, Brillstein Entertainment and Morris Yorn.