The pair will team up on the score for No Time To Die, Marr said.
He told NME: "Part of the legacy of the Bond films is iconic music, so I'm very happy to be bringing my guitar to No Time To Die."
Marr, 56, previously worked with Zimmer, one of Hollywood's most renowned composers, on films including Inception and The Amazing Spider-Man 2.
Zimmer is hard at work on the score ahead of No Time To Die's April release and said his close friendship with Bond producer Barbara Broccoli led to his involvement with the film.
Speaking in Pasadena, California, earlier this week, he told the PA news agency: "I never thought I would do this. I honestly never thought about it other than that Barbara Broccoli is a really dear friend, I just love her as a human being, very much."
Zimmer was confirmed as composer of the score earlier this month following the departure of Dan Romer, who reportedly left over creative differences.
At 18, she is the youngest artist to record the title song for a 007 film.
No Time To Die, starring Daniel Craig as James Bond for the fifth time, will be released on April 2.