electrical
Sunroof Switch
for 2023 Rivian EDV 500 Dual Motor AWD (EDV) · FWD
Editorial review:Chris Hackleman — Master Technician · 20+ years · Jeff Moore — Master Mechanic · 20+ years
Difficulty
Moderate
Time
2.0 h
Tools
6
Steps
13
✓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 2023 Rivian EDV 500 electric delivery van.
Warnings
⚠Disconnect 12V battery before beginning work to prevent electrical shorts or airbag deployment
⚠Do not force trim panels as they may crack or break; use proper trim removal tools
ℹ️The high voltage system does not need to be isolated for this procedure as only 12V circuits are involved
Tools required
Plastic trim removal tool setEssential
Torx screwdriver set (T10, T20, T25)Essential
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 Rivian specification
- Headliner trim clips (if broken) × 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 vehicle on level surface and ensure gear selector is in Park
- Turn off all vehicle systems and remove key fob from cabin
- Disconnect 12V auxiliary battery negative terminal and wait 2 minutes for system capacitor discharge
- Ensure sunroof is fully closed before beginning work
- Document or photograph switch connector orientation before removal
Procedure
- 1Access overhead console areaPosition yourself comfortably in the driver or front passenger seat. Identify the overhead console housing that contains the sunroof switch. Note the location of all trim panel seams and potential clip locations around the perimeter.
- 2Remove overhead console trim bezelUsing plastic trim removal tools, carefully pry at the rear edge of the overhead console trim bezel near the headliner. Work around the perimeter, releasing the retaining clips (typically 4-6 clips). Pull the bezel down gently once all clips are released. The bezel may contain dome lights or other modules, so do not pull it completely away yet.
- 3Disconnect auxiliary electrical connectorsIdentify all electrical connectors attached to the overhead console bezel (dome lights, ambient lighting, microphone if equipped). Press the connector lock tabs and carefully disconnect each connector. Support the bezel weight to avoid stress on remaining connectors. Set the bezel aside in a safe location.
- 4Locate and access sunroof switch mountingWith the overhead console bezel removed, locate the sunroof switch assembly. It will be mounted to a bracket or directly to the console housing. Identify the mounting screws (typically T20 Torx) and the main electrical connector feeding the switch.
- 5Disconnect sunroof switch electrical connectorLocate the wiring harness connector on the back of the sunroof switch assembly. Press the connector locking tab (usually red or gray) while pulling the connector straight back from the switch. If resistance is encountered, verify the lock tab is fully depressed. Avoid pulling on wires directly.
- 6Remove sunroof switch mounting fastenersRemove the mounting screws securing the sunroof switch to the console housing or bracket using the appropriate Torx driver (typically T20). There are usually 2-3 screws. Keep fasteners organized for reinstallation. Note the orientation and position of the switch for proper replacement alignment.
- 7Remove defective sunroof switchOnce fasteners are removed, carefully extract the sunroof switch assembly from the console housing. Note any alignment tabs or guides that must match during installation of the new switch. Inspect the connector terminals for corrosion or damage.
- 8Test new sunroof switch (optional)Before installation, you may optionally connect the new sunroof switch to the vehicle harness connector and temporarily reconnect the 12V battery to verify switch function. Test all sunroof positions (tilt, slide open/close, vent). If testing, disconnect battery again before proceeding with installation.
- 9Install new sunroof switch assemblyPosition the new sunroof switch in the console housing, aligning any guide tabs or locating features. Ensure the switch sits flush and properly oriented. Install the mounting screws and tighten evenly by hand until snug. Do not overtighten plastic-threaded fasteners.
- 10Reconnect sunroof switch electrical connectorAlign the electrical connector with the switch terminals and push firmly until the locking tab clicks into place. Verify the connection is secure by gently tugging on the connector body (not wires). Ensure no wires are pinched or stressed.
- 11Reconnect overhead console auxiliary connectorsReconnect all electrical connectors to the overhead console bezel in reverse order of removal (dome lights, ambient lighting, microphone). Verify each connector locks securely. Route wiring to avoid pinch points when reinstalling the bezel.
- 12Reinstall overhead console trim bezelPosition the overhead console bezel near the housing and ensure all wiring is properly routed. Align the bezel with the console opening and the retaining clip locations. Press firmly around the perimeter until all clips engage with audible clicks. Verify the bezel is flush and secure.
- 13Reconnect 12V battery and initialize systemsReconnect the 12V auxiliary battery negative terminal. The vehicle may require a few minutes to initialize all systems. You may need to cycle the vehicle power on using the key fob or start button.
Reassembly
- Ensure all trim clips are fully seated and overhead console bezel is flush with no gaps
- Verify all electrical connections are secure and properly locked
- Confirm no wiring is pinched between trim panels or console components
Verification
- Power on the vehicle systems and verify overhead console dome lights function properly
- Test all sunroof switch functions: tilt up, tilt down, slide open, slide close, and vent positions
- Verify sunroof responds smoothly to all switch inputs without hesitation or abnormal sounds
- Confirm sunroof auto-open and auto-close functions work properly (if equipped)
- Test sunroof express open/close by briefly pressing switch to ensure one-touch operation functions
- If sunroof does not respond properly, perform sunroof initialization procedure per Rivian service information
- Check for proper switch illumination and verify no warning messages appear on instrument cluster
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 →