These instructions apply to the Hyundai Tucson Mk3 (TL) 2015-2020.
For other models, please choose your vehicle here.
If the panoramic sunroof on your Hyundai Tucson Mk3 (TL, 2015–2020) has stopped opening or closing properly, stops part-way, or lost its one-touch function, the roof controller needs re-initialising. It usually happens after the battery is disconnected or goes flat, after a fuse is pulled, or if the roof was forced. The fix is a quick relearn you can do yourself with the roof switch, no tools.

Why the Sunroof Loses Its Calibration
The roof module stores the fully-open and fully-closed positions so it can run automatically and stop if it meets resistance (anti-trap). A power loss clears those references, so until you re-teach them the roof only moves while you hold the switch. This is one of the follow-up steps listed in the Tucson battery procedure.
Getting Ready
- Make sure the battery is well charged — the relearn won’t complete on a weak battery.
- Clear the roof and tracks of debris so the glass can reach its end stops.
- Keep hands and objects clear of the opening — the anti-trap protection is off during the relearn.
How to Re-initialise the Tucson Sunroof
- Turn the ignition on or start the engine.
- Press the switch to close the roof and hold until it is fully closed, then release.
- Press and hold the close switch for about 10 seconds. The sunroof tilts and moves slightly to begin the relearn.
- Within 3 seconds, press and hold the close switch again. The roof runs a full automatic cycle: sunshade open → tilt open → slide open → slide closed → sunshade close.
- When the cycle finishes the procedure is complete. Check the one-touch open and close.
Do not release the switch during the automatic cycle — if you let go early, start again from the closed position.
If the Sunroof Still Won’t Auto-Operate
- You released the switch during the cycle: repeat and hold throughout the full sequence.
- Weak battery: charge it and try again.
- Dirty or dry tracks: clean the channels and apply silicone lubricant.
- Just did a battery job: expected — see our Tucson battery disconnect/reconnect guide.
- Roof leaking or slow: clear the sunroof drain channels before relying on the relearn.
Frequently Asked Questions
Do I need a diagnostic tool to reset the Tucson sunroof?
No — the relearn is done entirely with the roof switch as described.
Why does the roof run a full cycle by itself?
That auto-cycle is how the Tucson re-learns each end stop. Hold the switch and let it complete the whole sequence.
Why did the sunroof stop working after I changed the battery?
The roof module loses its references during a power loss. Run the relearn and full function returns.
Is the anti-trap working during the relearn?
No — keep hands and objects clear of the opening while teaching the end stops.
If you also lost the windows after a power cut, see our Tucson electric window guide, or clear a reminder with the Tucson service indicator reset guide.
Independent guide — not affiliated with Hyundai. Always follow your official service manual and safety precautions. Read our full disclaimer.