Robert Downey Jr. will appear in Sony’s “Spider-Man: Homecoming” as Tony Stark.

Following the great chemistry Downey and “Spider-Man” star Tom Holland had in “Captain America: Civil War”, Sony and Marvel knew they had to work hard to get these two back together for the “Spider-Man” reboot. Sources say the size of the role is unknown at this time.

Sony and Marvel had no comment.

Jon Watts is directing “Homecoming” from a script by John Francis Daley and Jonathan Goldstein. Kevin Feige and former Sony exec Amy Pascal are producing the movie, which focuses on a teenage Peter Parker’s high school days.

Plot details are still being heavily guarded.

Holland’s Spider-Man will first make an appearance in the upcoming “Captain America: Civil War” before his standalone pic. Production on “Homecoming” is expected to start this summer.

The pic opens on July 7, 2017 with Tony Revolori and Laura Harrier also on board. Michael Keaton had been tapped as the villains but sources now say his deal may not work and the search may be on yet again for a new antagonist.

Downey is repped by CAA and “Captain America: Civil War” opens on May 6.