These instructions apply to the Fiat 500X Mk1 (334) 2015-present.
For other models, please choose your vehicle here.
If the sunroof on your Fiat 500X (334, 2015–present) has stopped auto-closing, no longer responds to one-touch, or bounced back part-way after a battery disconnect, the panel has simply lost its learned end positions. This is a normal, expected consequence of cutting the power — not a fault with the motor or the switch. The roof just needs its limits taught again, and re-initialising it is a job you do at the switch in under a minute, with no tools and no trip to a garage.

What Goes Wrong
The roof module stores the exact closed and tilt limits of the glass panel so that features like one-touch open, auto-close and anti-trap (which reverses the panel if it meets an obstruction) know where the travel begins and ends. A flat or disconnected 12 V battery clears that stored memory, and so can an obstruction that stalls the panel mid-travel. With the limits gone, the roof falls back to a safe “hold-to-move” mode: it will still shift while you keep the switch pressed, but the automatic functions stay disabled until you teach the positions again.
Getting Ready
- Sit in the driver’s seat so you can reach the roof switch comfortably and watch the panel.
- Make sure the 12 V battery is in good health — a weak battery can interrupt the learn part-way.
- Clear the runners of leaves, grit or anything that could stall the glass.
- Keep the routine timed and uninterrupted — the steps run back-to-back within a few seconds.
- Be ready to hold the switch continuously; brief presses will not trigger the relearn.
Re-initialising the Sunroof
- Press the switch to close the sunroof.
- Turn the ignition key to ‘STOP’ (off) and wait at least 10 seconds.
- Turn the ignition to ‘MAR’ (on).
- Press and hold the close switch for 10 seconds — after 10 seconds you’ll hear a sound; release.
- Within 5 seconds, press and hold the open switch — the sunroof completes a full open/close cycle and relearns.
If It Won’t Complete
- Keep the timing tight — the open step must follow within 5 seconds of releasing the close switch, or the sequence lapses and you start again.
- Hold, don’t tap — the switch has to stay pressed for the full duration at each stage.
- Confirm a healthy 12 V battery — a voltage dip during the learn cycle stops it completing.
- Clear any debris from the runners so the panel can travel its full sweep without stalling.
- Let the cycle finish on its own — don’t release early during the automatic open/close, or the limits won’t be stored.
- Still nothing after two attempts: check the roof isn’t frozen or binding, and try again once any obstruction is removed.
What Happens Next
Once the panel has run its full open-and-close sweep, one-touch, auto-close and the anti-trap reversal should all work again. It is worth cycling the roof open and closed once more to confirm it stops cleanly at both ends and reverses if you gently block it. If everything behaves, the relearn has taken and no further action is needed.
Frequently Asked Questions
How do I reset the sunroof on a Fiat 500X?
Close it, turn the ignition off and wait at least 10 seconds, turn the ignition on, then hold the close switch for 10 seconds until you hear a sound and release. Within 5 seconds, hold the open switch and let the roof run a full open-and-close cycle to relearn its limits.
Why did it stop one-touch working?
A battery disconnect or a flat battery wiped the stored open and closed limits, and an obstruction that stalls the panel can do the same. Without those limits the roof drops to hold-to-move only, so one-touch and auto-close stay off until you re-teach the positions.
Do I need any tools?
No. The whole procedure is done at the roof switch using the ignition and the open/close controls. There is no diagnostic tool, fuse-pull or garage visit involved — just the timed sequence of holds described above.
It still won’t close fully — what now?
Check the runners for debris and confirm the 12 V battery is healthy, then repeat the timed routine, keeping the switch held for the full duration at each step. If the glass binds or feels stiff as it moves, clear whatever is stopping it before trying again.
Is the sound in step 4 normal?
Yes. The sound after holding the close switch for 10 seconds is the module confirming it has entered the learn mode. That is your cue to release and move on to the open step within 5 seconds, so the panel can run its relearn cycle.
Will I have to do this every time I disconnect the battery?
Potentially, yes. Any time the 12 V power is cut — a battery change, a flat battery, or disconnecting for other work — the roof can lose its limits and need re-initialising. It is a quick job, so it is worth knowing the sequence after any battery work.
If this followed a battery change, re-check our 500X battery guide, and for any stored code you can look up what it means on autodtcs.com.
Independent guide — not affiliated with Fiat. Always follow your official service manual and safety precautions. Read our full disclaimer.