LONDON — Maggie Gyllenhaal has joined the cast of Lenny Abrahamson’s “Frank,” an Irish-U.K. comedy, which starts lensing this month in New Mexico and Ireland.

Gyllenhaal joins Domhnall Gleeson, Michael Fassbender and Scoot McNairy in the cast, which also features musician Carla Azar, and French actor and musician Francois Civil.

“Frank,” scripted by Jon Ronson and Peter Straughan, follows a young musician (Gleeson) who finds himself out of his depth when he joins a band of eccentric musicians headed by the enigmatic Frank (Fassbender) and his terrifying sidekick Clara (Gyllenhaal).

The film is produced by Ed Guiney, David Barron and Stevie Lee for Element Pictures and Runaway Fridge, with backing from Film4. Protagonist Pictures handles international sales.