electrical
Sunroof Switch
for 2021 Ford F-150 3.5L V6 EcoBoost · 4WD
Difficulty
Easy
Time
36 min
Tools
6
Steps
14
🤖AI-generated, not yet human-verified. This walkthrough was produced by AI and may contain errors. Treat it as a guide, cross-check every step and torque value against the manufacturer's service manual, and stop if anything looks unsafe. This is a moderate-risk job — take extra care.
This procedure covers the removal and replacement of the sunroof switch on a 2021-2024 Ford F-150 with 3.5L EcoBoost engine.
Warnings
⚠Disconnect the battery negative terminal and wait at least 2 minutes before working on any electrical components to allow the SRS system to discharge
ℹ️The sunroof switch is integrated into the overhead console and contains lighting elements that must be handled carefully
⚠Do not force trim clips as they can break easily; use proper trim removal tools to avoid damage
Tools required
Trim panel removal tool setEssential
T20 Torx driverEssential
Small flathead screwdriver
Plastic pry toolEssential
10mm socket with ratchetEssential
Torque wrench (5-20 Nm range)Essential
Parts
- Sunroof switch assembly × 1 — Use OEM Ford replacement part
Preparation
- Park vehicle on level surface and engage parking brake
- Turn ignition to OFF position and remove key
- Disconnect negative battery terminal and wait 2 minutes for SRS system discharge
- Ensure sunroof is in fully closed position if functional
- Gather all tools and new sunroof switch assembly
Procedure
- 1Disconnect BatteryDisconnect the negative battery terminal by loosening the terminal bolt with a 10mm socket. Move the cable away from the battery post to prevent accidental reconnection. Wait a minimum of 2 minutes before proceeding.Torque specBattery Terminal Bolts6 Nm (4 lb-ft)
- 2Access Overhead ConsolePosition yourself in the front seat area with clear access to the overhead console. Identify the overhead console trim that houses the sunroof switch, dome lights, and other controls.
- 3Remove Overhead Console Front TrimUsing a trim panel removal tool, carefully insert it between the overhead console lens and headliner at the front edge near the windshield. Gently pry downward to release the retaining clips. Work from front to rear, releasing each clip sequentially. The console is held by approximately 4-6 push-pin style retaining clips.
- 4Lower Overhead ConsoleOnce all clips are released, carefully lower the overhead console assembly approximately 3-4 inches. Do not pull it completely free yet as electrical connectors are still attached to the rear of the assembly. Support the console with one hand to prevent strain on the wiring harness.
- 5Disconnect Electrical ConnectorsLocate all electrical connectors on the back of the overhead console assembly. There will be connectors for the sunroof switch, dome lights, and possibly homelink or other features. Press the locking tab on each connector and pull straight out to disconnect. Note the position and routing of each connector for reinstallation.
- 6Remove Overhead ConsoleWith all electrical connectors disconnected, carefully remove the overhead console assembly from the vehicle and place it on a clean, padded work surface with the back side facing up.
- 7Remove Sunroof Switch Retaining ScrewsUsing a T20 Torx driver, remove the screws securing the sunroof switch to the overhead console housing. There are typically 2-4 screws holding the switch assembly in place. Keep these screws organized as they will be reused during installation.Torque specCover Screws12 Nm (9 lb-ft)
- 8Disconnect Sunroof Switch ConnectorIf not already disconnected, locate the dedicated electrical connector for the sunroof switch on the back of the switch assembly. Press the locking tab and disconnect the connector from the switch. Note the orientation of the connector.
- 9Remove Old Sunroof SwitchCarefully remove the old sunroof switch assembly from the overhead console housing. Inspect the mounting area for any damage or debris and clean if necessary. Compare the old switch with the new replacement to ensure proper fitment.
- 10Install New Sunroof SwitchPosition the new sunroof switch assembly into the overhead console housing, ensuring proper alignment with the mounting holes. Connect the electrical connector to the back of the new switch, ensuring it clicks securely into place and the locking tab engages.
- 11Secure Sunroof SwitchInstall the retaining screws through the switch assembly into the overhead console housing. Using a torque wrench with T20 Torx bit, tighten the screws to 12.0 Nm (9.0 lb-ft) in a cross pattern to ensure even seating of the switch assembly.Torque specCover Screws12 Nm (9 lb-ft)
- 12Reinstall Overhead ConsolePosition the overhead console assembly back up into the headliner opening. Reconnect all electrical connectors to their respective locations on the back of the console, ensuring each connector locks securely with an audible click. Route wiring to avoid pinching.
- 13Secure Overhead ConsolePush the overhead console assembly upward into the headliner until all retaining clips engage. Start at the rear and work toward the front, pressing firmly on each clip location until you hear or feel it snap into place. Ensure the console sits flush with the headliner around all edges.
- 14Reconnect BatteryReconnect the negative battery terminal to the battery post. Using a 10mm socket and torque wrench, tighten the terminal bolt to 6.0 Nm (4.0 lb-ft). Do not overtighten as this can damage the terminal or battery post.Torque specBattery Terminal Bolts6 Nm (4 lb-ft)
Reassembly
- Ensure all trim panels and console pieces are fully seated and aligned properly
- Verify no gaps exist between the overhead console and headliner
- Check that all electrical connectors are fully seated with locking tabs engaged
- Confirm battery terminal is tight and secure at 6.0 Nm
Verification
- Turn ignition to ON position without starting engine
- Test sunroof switch in all positions: tilt up, tilt down, slide open, slide close
- Verify sunroof operates smoothly in both directions and stops at proper positions
- Check that sunroof switch illumination functions properly when headlights are on
- Test the one-touch open and one-touch close functions if equipped
- Verify sunroof express open and close functions work correctly
- Ensure all dome lights and other overhead console functions still operate properly
- Check for any warning lights on the instrument cluster related to sunroof operation
- Perform a full sunroof cycle (open and close) to confirm proper installation