Michael Keaton is in early talks to return to portray Batman alongside Ezra Miller in Warner Bros.’ “The Flash.”

Keaton first played the Caped Crusader in Tim Burton’s 1989 “Batman” and returned to collaborate with Burton in 1992’s “Batman Returns.” He left the role during the development of the third film, “Batman Forever,” with Val Kilmer taking over the Batman role and Joel Schumacher directing.

Andy Muschietti is on board to direct “The Flash,” which has been dated for a June 3, 2022, release. “Birds of Prey” writer Christina Hodson is writing the script. It’s uncertain how big a role Keaton will play in “The Flash,” which has not yet gone into production.

Miller remains attached to play Barry Allen, also known as The Flash in the DC Extended Universe movie. Miller has portrayed The Flash in “Batman v Superman: Dawn of Justice,” “Suicide Squad” and “Justice League.” The character originated in the 1950s, when police scientist Barry Allen gained super-speed when bathed by chemicals that had been struck by lightning. Barbara Muschietti and Michael Disco are producing.

Should Keaton’s deal go through, it’s not expected to affect Warner Bros.’ upcoming “The Batman,” starring Robert Pattinson with Matt Reeves directing. “The Batman” is scheduled to open on Oct. 1, 2021.

The versatile Keaton has remained active in recent years and earned his first Academy Award nomination in 2015 for best actor in “Birdman,” in which his character had to deal with having portrayed a movie superhero. He starred in Best Picture winner “Spotlight,” portrayed Ray Kroc in “The Founder” and Vulture in “Spiderman: Homecoming,” and will be seen as Ramsey Clark in “The Trial of the Chicago 7.”

Keaton is repped by ICM Partners and Ziffren. The news was first reported by The Wrap.