electrical
Sunroof Motor
for 2022 Rivian EDV 500 Dual Motor AWD (EDV) · AWD
Difficulty
Moderate
Time
2.0 h
Tools
9
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 sunroof motor assembly on a 2022 Rivian EDV 500 electric delivery van.
Warnings
⚠️Disconnect the 12V battery before starting work to prevent electrical short circuits and inadvertent sunroof operation
⚠The headliner is fragile and can tear easily. Support it properly when lowered to avoid permanent damage
⚠Do not operate the sunroof manually without disconnecting the motor, as this can damage the drive mechanism
ℹ️Mark all wire connector orientations before disconnection to ensure correct reassembly
Tools required
Trim panel removal tool setEssential
T20 Torx driverEssential
T30 Torx driverEssential
10mm socketEssential
Ratchet and extension setEssential
Wire release tool kitEssential
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
- Motor mounting grommets × 4 — Use OEM specification
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 the vehicle on a level surface and engage the parking brake
- Disconnect the 12V battery negative terminal and wait 3 minutes for system capacitors to discharge
- Close the sunroof completely if operational before beginning work
- Remove all items from the cabin that could be damaged by falling debris
- Cover the front seats with protective material to prevent damage during overhead work
Procedure
- 1Remove overhead console assemblyUsing the trim panel removal tool, carefully pry down the overhead console starting at the rear edge. Release the retaining clips along both sides. Disconnect the wire harness connectors for interior lighting and any other integrated functions. Lower the console and set aside in a safe location.
- 2Lower headliner sectionsRemove the front sun visor mounting screws using the T30 Torx driver. Remove the A-pillar trim covers on both sides using the trim removal tool. Carefully pull down the headliner forward section approximately 6-8 inches to access the sunroof motor area. Use headliner support stands or have an assistant support the headliner to prevent stress on the material.
- 3Access sunroof motor compartmentLocate the sunroof motor access panel near the front of the sunroof opening. Remove the T20 Torx screws securing the protective cover (typically 4-6 screws). Carefully remove the cover and set aside with hardware. The sunroof motor assembly will now be visible mounted to the sunroof track mechanism.
- 4Disconnect motor electrical connectorLocate the wire harness connector on the sunroof motor. Use masking tape to mark the connector orientation. Press the release tab on the connector and carefully disconnect it from the motor. If equipped with a secondary ground wire, remove the 10mm nut securing the ground connection.
- 5Release motor drive cableIdentify the drive cable connection point on the motor output shaft. The cable typically has a quick-release clip mechanism. Compress or release the retaining clip and slide the drive cable off the motor output gear. Note the cable routing for reinstallation.⚠Do not force the cable release. Inspect for a secondary locking mechanism if it does not release easily
- 6Remove motor mounting fastenersUsing the T30 Torx driver or 10mm socket as applicable, remove the mounting bolts securing the sunroof motor to the track assembly (typically 3-4 bolts). Support the motor with one hand while removing the final fastener to prevent it from falling.
- 7Extract sunroof motorCarefully maneuver the motor assembly out of the mounting bracket, taking care not to damage surrounding components or wiring. Inspect the mounting location for debris, damaged grommets, or wear on the track mechanism. Clean the mounting surface if necessary.
- 8Install new motor mounting grommetsIf the motor mounting grommets are worn or damaged, replace them with new ones. Press the new grommets firmly into the mounting holes on the track assembly until fully seated.
- 9Position and mount new motorPosition the new sunroof motor into the mounting bracket, aligning the mounting holes. Install the mounting bolts hand-tight initially, ensuring proper alignment. Tighten the mounting bolts in a cross pattern to ensure even seating. Since no torque specifications are provided, tighten securely but do not over-torque the fasteners.
- 10Connect drive cableAlign the drive cable with the motor output gear following the routing noted during disassembly. Push the cable onto the gear until the retaining clip engages with an audible click. Verify the connection is secure by gently pulling on the cable.
- 11Reconnect electrical connectionsReconnect the wire harness connector to the sunroof motor, ensuring proper orientation based on the marks made during removal. The connector should click into place. If equipped, reinstall the ground wire and secure with the 10mm nut, tightening securely.
- 12Reinstall motor access coverPosition the protective access cover over the motor assembly and secure with the T20 Torx screws. Ensure all screws are properly started before final tightening to avoid cross-threading.
Reassembly
- Carefully raise the headliner back into position, ensuring no wiring is pinched
- Reinstall the A-pillar trim covers by pressing firmly until all clips engage
- Reinstall the sun visors and tighten mounting screws securely
- Reconnect all wire harness connectors to the overhead console
- Install the overhead console by aligning the clips and pressing upward until all clips engage
- Reconnect the 12V battery negative terminal
Verification
- Turn the ignition to ON position and verify the sunroof control panel illuminates properly
- Test sunroof operation through its full range of motion: tilt open, fully open, and fully closed
- Verify sunroof stops correctly at all preset positions and end-of-travel points
- Listen for unusual noises during operation that might indicate improper drive cable connection
- Test the sunroof motor from both the driver's control and any secondary control locations
- Perform a sunroof initialization/calibration procedure if required per Rivian service information
- Verify no error codes are present in the vehicle's system using the dashboard display
- Check that all interior trim pieces are properly secured and aligned
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 →