electrical
Sunroof Switch
for 2017 Ford F-150 5.0L V8 Coyote · RWD
Editorial review:Chris Hackleman — Master Technician · 20+ years · Jeff Moore — Master Mechanic · 20+ years
Difficulty
Easy
Time
42 min
Tools
6
Steps
9
✓Expert-verified. Personally reviewed and approved by OLP's master technicians (Chris Hackleman & Jeff Moore — 20+ years each). Always follow the vehicle's factory service information and torque specs.
This procedure covers the removal and replacement of the sunroof switch assembly on a 2015-2020 Ford F-150, typically mounted in the overhead console.
Warnings
⚠Disconnecting the battery will erase radio presets and require window one-touch auto settings to be relearned
ℹ️The overhead console trim is fragile; use plastic tools only to avoid cracking
⚠Do not force trim clips; inspect for hidden fasteners if resistance is encountered
Tools required
Plastic trim removal tool setEssential
Phillips head screwdriverEssential
As an Amazon Associate and Autel/ANCEL partner, OLP earns from qualifying purchases — how we link. This never changes the specs we publish.
Parts
- Sunroof switch assembly × 1 — Use OEM Ford specification or verified aftermarket
- Overhead console trim clips (if damaged) × 4 — Ford W710759-S300
As an Amazon Associate and Autel/ANCEL partner, OLP earns from qualifying purchases — how we link. This never changes the specs we publish.
Preparation
- Park vehicle on level surface and ensure sunroof is fully closed
- Turn ignition off and remove key
- Allow at least 2 minutes after ignition off for airbag system capacitor discharge
- Disconnect negative battery terminal to prevent electrical short circuits
- Ensure adequate overhead lighting to see into console cavity
Procedure
- 1Disconnect battery negative terminalUsing a 10mm socket or battery terminal wrench, loosen the negative battery terminal bolt. Remove the negative cable from the battery post and secure it away from the terminal to prevent accidental reconnection during the repair.Torque specBattery Terminal Bolts6 Nm (4 lb-ft)
- 2Remove overhead console lens coverStarting at the rear edge of the overhead console lens (near the rear of the vehicle), carefully insert a plastic trim removal tool between the lens and the headliner. Gently pry downward to release the retaining clips. Work your way forward, releasing each clip until the lens cover can be lowered. On models with integrated reading lights, the lens may hinge forward from the front edge.
- 3Disconnect overhead console wiringWith the lens cover lowered, locate the electrical connectors for the reading lights, HomeLink module (if equipped), and sunroof switch. Press the locking tabs on each connector and carefully pull to disconnect. Note the routing and orientation of each connector for reassembly.
- 4Remove overhead console assemblyLocate the two Phillips head screws or T20 Torx screws at the front corners of the overhead console base (near the windshield). Remove these screws completely. Gently pull the entire console assembly downward and away from the headliner, watching for any remaining wire harness connections. Set the console aside on a clean work surface.
- 5Remove sunroof switch from consoleWith the console removed from the vehicle, locate the sunroof switch module on the rear portion of the console assembly. The switch is typically held by two small Phillips screws or plastic retaining tabs. If screw-retained, remove the screws. If tab-retained, depress the tabs on each side while pushing the switch out from the front of the console. Disconnect the electrical connector from the back of the switch by pressing the locking tab and pulling.
- 6Install new sunroof switchConnect the electrical connector to the new sunroof switch until you hear or feel a positive click, indicating proper locking. Position the switch into the console housing, ensuring proper alignment with the mounting holes or tab slots. If screw-retained, install the retaining screws and tighten to a snug fit (do not overtighten plastic housings). If tab-retained, press firmly until tabs click into place.Torque specConnector Screws5 Nm (4 lb-ft)
- 7Reinstall overhead console assemblyRoute the wire harnesses back through the headliner opening, ensuring no wires are pinched or twisted. Align the console mounting holes with the threaded inserts in the headliner structure. Install the two mounting screws at the front corners and tighten securely but do not overtighten into the plastic headliner backing. Reconnect all electrical connectors for reading lights, HomeLink, and sunroof switch, ensuring each locks with an audible click.
- 8Reinstall console lens coverAlign the front edge of the lens cover with the console housing. If the lens hinges from the front, insert the hinge tabs first. Press firmly around the perimeter of the lens, starting at the front and working rearward, until all retaining clips snap into place. Verify the lens sits flush with the headliner and does not rattle.
- 9Reconnect batteryClean both the battery terminal and cable end with a wire brush if any corrosion is present. Place the negative cable back onto the negative battery post and tighten the terminal bolt to specification. Ensure the connection is secure but do not overtighten, as this can damage the battery post.Torque specBattery Terminal Bolts6 Nm (4 lb-ft)
Reassembly
- Verify all trim clips are properly seated and the overhead console is flush with the headliner
- Test all overhead console functions including reading lights and HomeLink (if equipped) before testing sunroof
- Reset power window one-touch auto function if needed: roll window fully down, then fully up and hold switch for 2 seconds
Verification
- Turn ignition to ON position (engine does not need to run)
- Press the sunroof switch rearward to VENT position and verify sunroof tilts up at rear edge
- Press switch forward to CLOSE and verify sunroof returns to fully closed position
- Press and hold switch rearward to SLIDE OPEN and verify sunroof opens smoothly without binding
- Press switch forward to CLOSE and verify complete closure with no gaps
- Test the one-touch express open and close functions by briefly tapping the switch in each direction
- Verify no warning lights or messages appear on the instrument cluster related to sunroof operation
- Check that overhead console lens and all trim pieces are secure with no rattles
Related trouble codes on this vehicle
Codes that commonly send this job to the bay — tap one for symptoms, causes, and diagnostic steps.
B0240Sunroof Motor CircuitB0241Sunroof Position Sensor CircuitU0160Lost Communication with Sunroof Control ModuleU0260Lost Communication With Sunroof Control Module
Chasing one of these codes and not sure which part is guilty? Ask a master mechanic about YOUR car →