• Home
  • Tire Pressure Calculator
  • Check DTC Codes
  • Blog
  • About
  • FAQ
  • Request a Guide
  • Contact Us
  • Tools
  • Home
  • Tire Pressure Calculator
  • Check DTC Codes
  • Blog
  • About
  • FAQ
  • Request a Guide
  • Contact Us
  • Tools
Home/Mazda/6/Mk3 (GJ/GL) 2012-Present/Re-initialise the Sunroof

Re-initialise the Sunroof

These instructions apply to the Mazda 6 Mk3 (GJ/GL) 2012-Present. For other models, please choose your vehicle here.

Last updated: June 5, 2026

If your Mazda 6 Mk3 (GJ/GL, 2012–present) has the electric glass sunroof and its one-touch open/tilt has stopped working — typically after a battery disconnection, a flat battery or a fuse change — the roof needs re-initialising so it relearns its end positions. It is a quick no-tools job from the cabin. This guide shows how.

Why the Sunroof Needs Re-initialising

The sunroof motor stores its fully-closed, fully-tilted and fully-open positions so the one-touch and anti-trap (pinch protection) functions work. Losing power clears that memory — the roof will still move while you hold the switch, but the automatic operation stops until it is re-taught.

How to Re-initialise the Mazda 6 Sunroof

Do this with the ignition on (engine can be off):

  1. Turn the ignition on — do not start the engine.
  2. Operate the overhead sunroof switch to tilt the roof up to its maximum tilt position.
  3. Press and hold the switch in the tilt-up direction at that maximum position for a few seconds — you may hear or feel the roof confirm the relearn.
  4. Release the switch, then cycle the roof fully open and fully closed once using the switch to confirm normal operation.
  5. Test the one-touch function — a single press should now tilt/open the roof automatically.

If It Still Won’t Operate Automatically

  • Repeat the procedure — the hold at the maximum tilt position must be long enough to register.
  • Check the roof reaches its true end positions — debris in the channel can stop it short and block the relearn.
  • This roof initialisation is exactly the step Mazda lists after reconnecting the battery, so if you have just done battery work, run it alongside the window initialise and TPMS reset.

Frequently Asked Questions

Why did my sunroof stop auto-opening after a battery change?

Disconnecting the battery wipes the roof’s stored end positions, so one-touch and anti-trap switch off until you re-teach it the routine above.

Do I need any tools?

No — just the overhead switch and the ignition on. No diagnostic equipment is required.

The roof reverses when closing — what’s wrong?

That is the anti-trap protection reacting because the limits aren’t learned. Re-run the initialisation and make sure nothing is obstructing the channel.

My Mazda 6 doesn’t have a sunroof — does this matter?

No — only cars optioned with the electric glass sunroof need this step. If yours has none, skip it.

To clear a service reminder after maintenance, see our Mazda 6 service indicator reset guide. For warning lights, look up the code on autodtcs.com.

Disclaimer: The information on this page is provided for general guidance only. Always follow your official service manual and safety precautions when working on your vehicle. We are not responsible for errors, omissions, or any damage resulting from the use of this information.

This website is an independent resource and is not affiliated with, endorsed by, or sponsored by Mazda. All trademarks and brand names belong to their respective owners.

Was this helpful?

Yes  No
Related Articles
  • Replace the Key Fob Battery
  • Release the Gear Selector from Park in an Emergency
  • Re-initialise the Electric Windows
  • Reset the Tyre Pressure Warning Light
  • Turn the i-stop Start-Stop System On or Off
  • Disconnect and Reconnect the Battery

Didn't find your answer? Contact Us

Mk3 (GJ/GL) 2012-Present
  • Re-initialise the Sunroof
  • Reset the Service Indicator
  • Disconnect and Reconnect the Battery
  • Turn the i-stop Start-Stop System On or Off
  • Reset the Tyre Pressure Warning Light
  • Re-initialise the Electric Windows
  • Release the Gear Selector from Park in an Emergency
  • Replace the Key Fob Battery

Service Reset

Step-by-step reset and maintenance guides for all major car brands. Independent resource – not affiliated with any car manufacturer. All trademarks and logos are the property of their respective owners and are used for identification purposes only.

© 2026 ServiceReset.net. All rights reserved.

NAVIGATION
  • Home
  • About
  • Tire Pressure Calculator
  • Blog
  • FAQ
  • Request a Guide
  • Contact
LEGAL
  • Privacy Policy
  • Terms of Use
  • Disclaimer
SOCIAL
  • YouTube