Anthony Hopkins is joining the cast of Paramount and Hasbro’s next “Transformers” film with Mark Wahlberg starring and Michael Bay returning to direct.

Lorenzo di Bonaventura is producing the movie.

Details behind the next pic are under wraps, and sources say that Wahlberg is the only cast member from “Age of Extinction” who’s expected to reprise his role.

This past spring, Paramount announced it would be assembling a writers’ room to build its new “Transformers” universe that would include spinoffs, along with new installments in the franchise. The room was overseen by Akiva Goldsman with the studio recently tapping Art Marcum and Matt Holloway (“Iron Man”) along with Ken Nolan (“Black Hawk Down”) to write the script.

Hopkins was last seen in “Collide.” He is repped by UTA and Independent Talent Group.