• Home
  • Guides
  • Tools
    • Tire Pressure Calculator
    • Check DTC Codes
    • Request a Guide
  • Blog
  • About
  • FAQ
  • Contact Us
  • Home
  • Guides
  • Tools
    • Tire Pressure Calculator
    • Check DTC Codes
    • Request a Guide
  • Blog
  • About
  • FAQ
  • Contact Us
Home/Hyundai/Santa Fe/Mk4 (TM) 2018-2023/Reinitialise the Sunroof

Reinitialise the Sunroof

Reviewed by the Service Reset editor · Updated August 18, 2026 · How we verify
Quick referenceToolsNoneTime~2 minMethodHold switch to re-initialise

These instructions apply to the Hyundai Santa Fe Mk4 (TM) 2018-2023.
For other models, please choose your vehicle here.

If the panoramic sunroof on your Hyundai Santa Fe Mk4 (TM, 2018–2023) stops auto-closing, won’t tilt properly, or behaves oddly after a flat or disconnected battery, it needs re-initialising. The roof motor has lost its learned positions; re-teaching them takes under a minute with the roof switch. This is a normal, built-in relearn function — not a fault and not something that needs a workshop — and on this Santa Fe it is done entirely from the overhead switch, by holding the close control while the roof cycles itself through its full range.

Why It Happens

The sunroof controller doesn’t just drive the glass panel back and forth — it constantly tracks exactly where the panel and the powered sunshade sit within their travel. It stores the fully open, tilted and fully closed limits so it can run the roof on a single touch, stop cleanly at the ends, and reverse automatically if it senses something in the way while closing. All of that depends on the motor’s position count staying in step with the physical roof.

When the 12 V battery goes flat, is disconnected for a battery change, or drops very low during jump-starting, the controller loses that stored reference. It no longer trusts where the roof is, so it disables the convenience features until it has been shown the limits again. That is why one-touch and auto-reverse stop working and the roof may only move in short, hesitant nudges — the relearn below restores the reference.

Before You Begin

  • Park up with the vehicle stationary so you can watch the roof through the whole cycle.
  • Switch the ignition on (or start the engine) so the sunroof motor has a steady supply.
  • Make sure the battery is healthy — a weak battery is the most common reason a relearn stalls part-way.
  • Check the roof track is clear of leaves, grit or ice so the panel can reach both end stops.
  • Keep hands, hair and objects clear of the opening; the roof moves on its own during the sequence.

How to Re-initialise the Sunroof

  1. Start the engine (or switch the ignition on).
  2. Make sure the sunroof and sunshade are closed.
  3. Press and hold the close switch. The roof will tilt and move slightly — keep holding.
  4. The roof then cycles automatically through its full sequence (tilt → slide open → slide closed, with the sunshade).
  5. Keep the switch held until the cycle finishes, then release — the system is reset.

If It Doesn’t Complete

  • Don’t release early. The single most common mistake is letting go the moment the roof starts to move — hold the switch through the entire automatic cycle, right until the panel settles closed.
  • Clear any obstruction in the roof track and around the seals; a panel that can’t reach its end stop can’t set that limit.
  • Check the battery. If the voltage sags while the motor runs, the controller may abandon the relearn — charge or replace a tired battery and try again.
  • Start over from fully closed. If the sequence gets interrupted, close everything and begin the hold again from the start rather than mid-way.
  • If the roof still won’t take the relearn after a good battery and a clear track, have the sunroof motor and switch checked, as a mechanical or electrical fault can prevent it.

After the Reset

Once the cycle finishes and you release the switch, one-touch open, one-touch close, tilt and auto-reverse should all behave normally again. Test it by tilting and fully opening the roof once, then closing it, and confirm it stops cleanly at each end without nudging. If everything runs smoothly the relearn has taken and no further action is needed.

Frequently Asked Questions

Why did my Santa Fe sunroof stop auto-closing?

A battery disconnect, a flat battery, or a deep voltage drop during jump-starting wiped the sunroof controller’s learned end positions. Without them it disables one-touch and auto-reverse as a safety measure. Re-initialising with the close switch teaches the limits back and restores full function.

How do I reset the Hyundai Santa Fe sunroof?

With the ignition on and both the roof and sunshade fully closed, press and hold the close switch. The roof tilts, then cycles through its full open and close sequence on its own. Keep holding until it settles closed, then release — the system is reset.

Is it safe to do myself?

Yes. It is a built-in owner function that uses only the sunroof switch, with no tools and no electrical work. The one precaution is that the glass moves on its own during the sequence, so keep hands, hair and any objects clear of the roof opening until it has finished.

Do I need a tool or a scan tool?

No. The relearn is done entirely with the overhead sunroof switch. You don’t need a diagnostic scanner, a dealer visit, or any special equipment — just an ignition-on supply and a healthy battery so the motor can complete the full cycle without stalling.

Do I need to re-initialise the windows too?

Often yes. The same battery event that clears the sunroof memory also wipes the power windows’ auto-up and anti-pinch learning, so it is worth re-teaching both at once. The window relearn is a separate short procedure done at each door switch.

The roof only moves a little and stops — is it broken?

Not necessarily. Short, hesitant movements are exactly how an un-initialised roof behaves. Make sure you hold the close switch continuously and don’t release when it first nudges. If it still won’t complete with a healthy battery and clear track, the motor or switch may need checking.

Re-initialised the sunroof after a battery change? Re-teach the windows too — see our Santa Fe window guide. For warning lights, look up the code on autodtcs.com.

Independent guide — not affiliated with Hyundai. Always follow your official service manual and safety precautions. Read our full disclaimer.

Related Articles
  • Put the Electronic Parking Brake into Service Mode
  • Start the Car With a Dead Key Fob Battery
  • Reset a Frozen Infotainment Screen
  • Use the DCT Emergency Park Release
  • Reinitialise the Electric Windows
  • Reset the Tyre Pressure Monitor (TPMS)

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.

POPULAR BRANDS
Toyota · Volkswagen · BMW · Ford · Audi · Mercedes · Nissan · Peugeot · Vauxhall · Kia
NAVIGATION
  • Home
  • Guides
  • Tools
  • Tire Pressure Calculator
  • Blog
  • About
  • FAQ
  • Request a Guide
  • Contact
LEGAL
  • Privacy Policy
  • Terms of Use
  • Disclaimer
SOCIAL
  • YouTube