1. Remove the screws and fastner.
2. Remove the front flap.

3. Install in the reverse order of removal.
Cowl grille removal/installation
Rear flap removal/installationMazda 6 Service Manual: Discharge headlight service warnings
Discharge headlight bulb service warnings
To prevent electrical shock when replacing the discharge headlight bulb,
dry hands thoroughly, and carry out work in an area out of rain.
When the light switch is on, approx. 25,000 V of high voltage passes
through the discharge headlight bulb so ...
Mazda 6 Service Manual: Headlights
Turn the headlight switch to turn the headlights and other exterior lights on
or off. When the lights are turned on, the lights-on indicator light in the instrument
cluster turns on.
NOTE
If the light switch is left on, the lights will automatically switch
off approximately 30 seconds ...