Ozil had sparked controversy on the eve of the tournament by posing for photographs with Turkey President Recep Tayyip Erdogan, and the Arsenal midfielder missed Germany's final warm-up with a knee injury.
Marvin Plattenhardt was handed a start at left-back in place of an ill Jonas Hector, while Manuel Neuer made his long-awaited competitive return after eight months on the sidelines with a broken foot.
Mexico coach Juan Carlos Osorio named an attacking trio of the highly-rated Hirving Lozano, Javier Hernandez and Carlos Vela. Rafael Marquez was named on the bench as the 39-year-old looks to become just the third player to appear at five editions of the World Cup.
Germany are bidding to win their opening group game at the World Cup for an eighth successive finals, while Mexico's only victory over their Group F opponents came back in 1985.
Manuel Neuer (capt); Joshua Kimmich, Mats Hummels, Jerome Boateng, Marvin Plattenhardt; Sami Khedira, Toni Kroos; Mesut Ozil, Thomas Mueller, Julian Draxler; Timo Werner
Coach: Joachim Loew (GER)
Guillermo Ochoa; Hugo Ayala, Carlos Salcedo, Hector Moreno, Jesus Gallardo; Hector Herrera, Andres Guardado (capt), Miguel Layun; Hirving Lozano, Javier Hernandez, Carlos Vela
Coach: Juan Carlos Osorio (COL)
Referee: Alireza Faghani (IRI)