electrical
Sunroof Switch
for 2024 Tesla Model X Plaid Tri Motor AWD · AWD
Difficulty
Easy
Time
30 min
Tools
5
Steps
8
Replacement of the overhead sunroof/console switch assembly on a 2024 Model X Plaid. The switch is integrated into the front overhead console; this is a low-voltage trim job but requires care around the falcon door headliner area.
Warnings
⚠Model X falcon doors are sensor-controlled. Do NOT open or close the rear falcon doors with the headliner partially detached or with 12V disconnected and reconnected mid-procedure — falcon door calibration can be affected.
⚠Headliner on Model X is a single large panel that wraps near the falcon door tracks. Do not flex or crease it; replacement is expensive and back-ordered.
⚠The overhead console contains the dome lights, microphones, and emergency call (eCall) module. Handle wiring gently and do not pull on harnesses.
ℹ️Even though this is a low-voltage job, ALWAYS disconnect the 12V battery before disturbing any interior electronics on a Tesla — surprise wake events from the gateway can damage modules during disconnection.
Tools required
Plastic trim removal tool set (non-marring)Essential
Small flat-blade screwdriver
Torx bit set
10mm socket and ratchet (for 12V disconnect)Essential
Nitrile gloves (to avoid skin oils on headliner)
Parts
- Overhead console sunroof switch assembly (Model X) × 1 — Manufacturer-specified Model X overhead switch module — match by VIN
Preparation
- Park on level ground, place in P, engage the parking brake.
- Exit ALL doors with the key fob away from the vehicle. Wait at least 2 minutes for HV systems to fully de-energize, even on this non-HV job.
- Open the frunk and disconnect the 12V low-voltage battery (negative terminal first). The 12V battery is located in the frunk on Model X, similar to Model S.
- DO NOT touch, cut, or pierce ANY orange cable — these are high-voltage and lethal.
- If at any point you encounter an orange cable, an HV component, or are unsure if a system is de-energized: STOP and consult a Tesla-certified technician.
- Confirm the falcon doors are fully closed and will remain closed for the duration of the job. Do not press any door buttons after the 12V is disconnected.
- Have the replacement switch assembly on hand and verify it matches the original by VIN before removing the old one.
Procedure
- 1Inspect the overhead consoleVisually identify the sunroof/roof switch location in the front overhead console between the dome light lenses. Note any visible seams, trim joints, or screw covers. Take a reference photo before disassembly.
- 2Release the overhead console trimUsing a non-marring plastic trim tool, gently release the overhead console bezel/trim around the switch. Work from the rear edge forward. The console is retained by hidden plastic clips and may have one or two fasteners hidden behind dome light lenses.⚠Pry only at clip locations — the headliner fabric will tear if pried against.
- 3Lower the console enough to access the switch harnessCarefully lower the console module just enough to expose the rear of the sunroof switch. Do not pull it free yet — multiple harnesses (dome lights, microphone, switch) remain attached.
- 4Disconnect the switch connectorLocate the connector on the back of the sunroof switch. Depress the locking tab and pull straight off the connector body. Do not pull on the wires.
- 5Remove the failed switch from the consoleRelease the switch retention tabs (typically integrated plastic clips on the switch housing) and push the switch out of the console carrier. If retained by small fasteners, remove them and retain hardware.
- 6Compare old and new switchesPlace the new switch next to the old one. Confirm connector pinout, button layout (panoramic glass vs. shade controls), and clip pattern match exactly. A wrong-variant switch will fit mechanically but not function correctly.ℹ️Model X overhead switch variants differ between facelift and pre-facelift cars and between glass roof and panoramic configurations. Verify by VIN.
- 7Install the new switchSeat the new switch into the console carrier until the retention clips snap fully home. The switch face should be flush with the surrounding trim — no proud edges or gaps.
- 8Reconnect the harnessPlug the connector back into the new switch until the locking tab clicks. Lightly tug to confirm it is fully seated.
Reassembly
- Verify all other connectors that were disturbed (dome light, microphone, eCall) are still seated.
- Lift the overhead console back into position and align with the headliner opening.
- Press the console bezel/trim home along its perimeter, listening for each clip to seat. There should be no fabric pinched between the trim and headliner.
- Reinstall any concealed fasteners and dome light lenses in reverse order of removal.
- Reconnect the 12V battery (positive terminal first, then negative). Torque the battery terminal bolts to specification — do not overtighten.
- Close the frunk.
Verification
- Wake the vehicle and allow the gateway to fully boot (touchscreen up, no warning indicators).
- From the driver's seat, operate the sunroof/glass roof switch through all positions (vent, open, close, and any tilt/slide functions applicable to this Model X). Confirm smooth motion and no error messages on the center display.
- Confirm dome lights, microphone (test via voice command or Bluetooth call), and any other overhead console functions disturbed during the repair still operate normally.
- Open and close each falcon door once with the vehicle stationary in a clear area to confirm no calibration faults were triggered by the 12V cycle.
- Inspect the overhead console seams for flush fit — no gaps, no proud trim edges.
- Note: while in the service menu, this is a good opportunity to check cabin air filter age (Tesla recommends every 2 years, or every 3 years if HEPA/Bioweapon Defense equipped) since you are already inside the cabin.