Ogier wins Safari Rally as Toyota sweep top four places for the second year running
The eight-times world champion, now racing part-time, beat championship leader Kalle Rovanpera of Finland by 6.7 seconds with Welshman Elfyn Evans a distant third and Japan's Takamoto Katsuta fourth.
The win was Ogier's third from five starts so far this season but he had to fight hard for it after his overnight lead of 16.7 seconds was halved by reigning champion Rovanpera on the final day's opening stage.
Ogier then hit a tree in the next stage, with the impact ripping off the rear wing and tailgate of his Toyota Yaris, but still went fastest and kept the dust out with a bin bag until reaching the service area.
He then cracked his windscreen on the final stage after a dust-choked penultimate run left him 9.2 seconds clear of Rovanpera.
"Unbelievable...even on the Power Stage I got a stone on the windscreen," he said.
"We had a lot of issues to face but it could have been a more comfortable rally for us in terms of pace. A lot of misfortune but we brought it home."
Rovanpera extended his championship lead over Hyundai's Thierry Neuville to 37 points after seven of 13 rounds, with the Belgian finishing eighth but bagging some precious bonus points with the fastest time in the final Power Stage.
"You always want to fight for the win but we did our best starting first car on the road," he said. "Good points for the season anyway."
Spaniard Dani Sordo finished fifth as the best of the rest for Hyundai, now 42 points behind Toyota in the manufacturers' standings.
"We didn't have the speed that we wanted. It was a really bad weekend for us and it's clear we need to work on this type of surface," he said.
The next round of the world championship is in Estonia on July 20-23.