The film will follow the singer and the guitarist through the volatile period in which they made 1972 double album, 'Exile on Main Street', in France.
The movie will be made by Sir Richard Branson's Virgin Produced, and be based on Robert Greenfield's 2008 book 'Exile on Main Street: A Season in Hell'.
Speaking previously about making the record, Keith said: ''It wasn't a great environment for, like, breathing. It was very Hitleresque - the last days of Berlin sort of thing.''
It has previously been revealed The Rolling Stones will celebrate their 50th anniversary with an authorised documentary which will trace their history from their formation in 1962 to the current day.
Director Brett Morgen said in a statement: ''For anyone who wants to experience the band, this is the film that will defy convention and create a sonic tapestry to transport viewers into the world of the Rolling Stones.
''The film will deliver the original, bold, sexy and Dangerous flavour of the iconic rock band.''