electrical
Sunroof Motor
for 2023 Rivian EDV 500 Dual Motor AWD (EDV) · FWD
Difficulty
Moderate
Time
2.0 h
Tools
10
Steps
12
✓Fact-checked. Built from OLP's spec database, then independently fact-checked line by line with every correction applied. Master-tech sign-off by Chris Hackleman is queued. Cross-check torque values against the factory manual, and stop if anything looks unsafe. How our data is made.
This procedure covers the removal and replacement of the panoramic sunroof motor assembly on the 2023 Rivian EDV 500 electric delivery van.
Warnings
⚠️Disconnect 12V auxiliary battery before beginning work to prevent electrical shorts and unintended sunroof operation
⚠The high-voltage system does not need to be disabled for this procedure, but avoid contact with orange high-voltage cables in the roof area
⚠Sunroof glass must be in fully closed position before beginning motor removal
ℹ️This procedure requires removal of overhead headliner sections - a second person is helpful to support panels
Tools required
Trim panel removal tool setEssential
T20 Torx driverEssential
T30 Torx driverEssential
8mm socketEssential
10mm socketEssential
Socket wrench with extensionEssential
Cable tie cutterEssential
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 motor assembly × 1 — Use OEM specification
- Headliner trim clips (replacement set) × 1 — Use OEM specification
- Cable ties (assorted) × 1 — UV-resistant automotive grade
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 apply parking brake
- Ensure sunroof is in fully closed and tilted-down position
- Disconnect 12V auxiliary battery negative terminal and wait 2 minutes
- Protect seats and interior surfaces with clean drop cloths
- Label or photograph all electrical connectors before disconnection
Procedure
- 1Remove overhead console assemblyUsing trim removal tools, carefully pry down the overhead console starting from the rear edge. Release the retention clips on both sides. Disconnect the electrical connectors for dome lights, sunroof switch, and any auxiliary systems. Support the console and set aside on a protected surface.
- 2Remove front headliner trim panelsRemove the A-pillar trim covers on both sides by pulling firmly from bottom to top. Remove sun visor mounting screws (T30 Torx) on both sides and detach visors. Carefully release the front section of headliner by disengaging clips along the windshield header and sides. Pull headliner down approximately 6-8 inches to access sunroof mechanism area.
- 3Access sunroof motor mounting areaLocate the sunroof motor assembly mounted on the driver side track rail assembly near the front of the sunroof opening. Cut any cable ties securing the motor wiring harness to the roof structure using cable tie cutters. Trace the motor harness to its connector location approximately 12 inches rearward of the motor.
- 4Disconnect sunroof motor electrical connectorPress the locking tab on the sunroof motor electrical connector and carefully separate the connector halves. If equipped with a secondary ground wire, remove the 8mm bolt securing the ground terminal to the roof structure. Verify no voltage is present using a multimeter if available.
- 5Release motor drive cableLocate the drive cable connection point where the motor output shaft engages with the sunroof track cable. Use a T20 Torx driver to loosen the cable clamp set screw. Carefully slide the cable end fitting out of the motor drive gear housing, taking note of cable routing and tension spring position if present.
- 6Remove sunroof motor mounting fastenersRemove the three T30 Torx mounting bolts securing the sunroof motor bracket to the track rail assembly. Support the motor assembly with one hand while removing the final bolt to prevent it from dropping.
- 7Remove motor assembly from vehicleCarefully maneuver the motor assembly out from between the headliner and roof structure. Route the wiring harness out and inspect the motor mounting bracket and drive gear for wear or damage. Inspect the track cable end for fraying or damage.
- 8Install new sunroof motor assemblyPosition the new motor assembly into the mounting location on the driver side track rail. Align the mounting holes with the track rail bracket. Thread in the three T30 Torx mounting bolts finger-tight, then tighten in a star pattern to ensure even pressure and proper alignment.
- 9Reconnect drive cable to motorAlign the track cable end fitting with the motor drive gear housing. Slide the cable fitting fully into engagement with the drive gear, ensuring proper seating. Insert and tighten the cable clamp set screw using T20 Torx driver. Verify the cable moves smoothly without binding.
- 10Reconnect electrical connectionsRoute the motor wiring harness along the original path. Reconnect the main electrical connector until the locking tab clicks into place. If equipped, reattach the ground wire terminal to the roof structure using the 8mm bolt. Secure the wiring harness to the roof structure using new cable ties at original locations.
- 11Reinstall headliner and trim componentsCarefully push the front headliner section back into position, engaging all retention clips along the windshield header and A-pillars. Reinstall A-pillar trim covers by pressing firmly from top to bottom until clips engage. Reinstall sun visors with T30 Torx screws. Reconnect all overhead console electrical connectors and press the console into place until retention clips engage.
- 12Reconnect battery and initialize sunroof systemReconnect the 12V auxiliary battery negative terminal. Turn vehicle to accessory mode. The sunroof system may require initialization: press and hold the sunroof close button for 10 seconds until the panel fully closes and you hear a confirmation click. This resets the motor position sensors.
Reassembly
- Ensure all trim clips are fully seated and panels are flush with surrounding surfaces
- Verify all electrical connectors are fully engaged with locking tabs secured
- Check that headliner has no sagging or misalignment around sunroof opening
- Confirm all sun visor mounting screws are tight and visors operate correctly
Verification
- With vehicle in accessory mode, test sunroof open function - panel should move smoothly without hesitation or unusual noise
- Test sunroof close function - panel should seal completely against weatherstripping
- Test sunroof tilt function in both up and down positions
- Verify sunroof auto-close function operates correctly (if equipped)
- Check for proper operation of overhead console lights and switches
- Inspect sunroof seal alignment and ensure no gaps are present when closed
- Test sunroof operation through several full cycles to confirm proper motor function and no binding
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 →