The Bundesliga giants published an image of the 27-year-old signing his new contract through their official Twitter account on Wednesday evening. Benatia has already described joining Bayern as a dream come true and emphasised his excitement at working under coach Pep Guardiola.
"I'm delighted that my transfer to Bayern has finally come off," he told Sport1 television. "It dragged out a bit and there were times when I thought it might fall through.
Benatia is also looking forward to working with a host of star names at the Allianz Arena. "Bayern have so many great players," he said. "They have such a strong squad and it's a dream to be part of it."
Bayern moved for Benatia after Javi Martinez tore his cruciate knee ligaments during the German Super Cup defeat to Borussia Dortmund, leaving them short on numbers at the back. He joins the fit-again Holger Badstuber, Jerome Boateng and Dante as one of four centre-backs at the club.