Blog · 2026-11-10

Sunroof motor working, but will not retract

Stefan Bogdanescu

Founder & Senior Architect

Diagnosing a Sunroof Motor That Won't Retract: The Limiter Switch Mystery

When a sunroof tilts up and down perfectly but refuses to retract fully, the culprit is rarely the motor itself. In the case of a 2006 Infiniti G35 Sedan where the glass hits the physical limiter switch almost immediately after opening, the issue points directly to the mechanical linkage or the logic controlling that limit. The fact that the clutch engages and the motor runs fine confirms power delivery isn't the failure point; the system is simply unable to register that it has reached its closed position.

The core symptom described—where the mechanism hits a hard stop because the "open" button triggers the limiter switch prematurely—is often a misinterpretation of how the sunroof's end-of-travel logic works. Most automotive sunroofs use a microswitch or potentiometer to detect the fully open and fully closed positions. If the glass is obstructing the return path, or if a specific mechanical component fails to reset the switch, the ECU (Engine Control Unit) for the sunroof thinks it's already at the limit before it has actually traveled there.

A critical observation from the troubleshooting process involves the inability to turn the motor using an Allen/hex key, even after removing the motor from the assembly. This is a definitive diagnostic clue. In many Infiniti/Nissan architectures of this era, the sunroof mechanism relies on a specific cable or linkage to pull the internal limit switch back into its "open" position upon command. The user noted a theory about a cable pulling the switch but couldn't find it in standard diagrams.

The attached GIF illustrates a likely failure mode: if the cable that actuates the limit switch is snapped, stretched beyond its travel, or simply disconnected from the actuator arm, the switch never returns to its "closed" state. Without this reset, the ECU assumes the roof is fully open and cuts power immediately, preventing further retraction attempts. This explains why prying a piece of the switch out of a groove allows movement by hand; you are mechanically bypassing the electrical signal that tells the system it's safe to move.

Another potential cause is the "comfort stop" feature mentioned in later diagnostic edits. Some sunroof systems implement a soft limit before hitting the hard mechanical stop. If this logic is triggered erroneously due to a faulty switch reading, the motor will run briefly then halt. The inability to find the specific fuse for this function across all three fuse boxes suggests that the sunroof control module might be integrated into a larger body control module (BCM) or dedicated powertrain module rather than having a standalone fuse labeled "Sunroof." This is common in luxury sedans where space constraints and wiring harness complexity lead to consolidated fusing.

When replacing the motor with a unit from a junkyard yields identical results, you can safely discard the electric motor as the primary suspect. The problem lies upstream of the motor's rotation—specifically in the mechanical return path or the switch assembly itself. The solution often involves inspecting the rear of the sunroof mechanism where the track rails end. There may be a tension spring or a secondary cable that needs adjustment or replacement to ensure the limit switch resets correctly every cycle.

If you are comfortable working on automotive electronics, verifying the continuity of the switch and checking for corrosion in the actuator groove is the next logical step. If the mechanical linkage is intact but the issue persists, the control module itself might be misinterpreting the switch state due to a grounding issue or internal logic fault. However, given the physical nature of the "prying" required to move the mechanism, a broken cable or dislocated link remains the highest probability for failure.