P0821 — Gear Lever X Position Circuit.
Context
| Field | Value |
|---|---|
| Code | P0821 |
| Code type | Generic OBD-II (SAE J2012 / ISO 15031-6) |
| System | Powertrain: Transmission |
| Severity | Not rated: depends on the vehicle and conditions |
What P0821 means
P0821 is a generic OBD-II diagnostic trouble code defined as Gear Lever X Position Circuit. It is stored by the powertrain control module when it detects the condition named in the code title.
The control module detected a fault in this electrical circuit. The code does not say whether the signal was high, low or open, so the circuit is tested end to end.
How to read the code
- P: powertrain (engine, transmission and emission controls).
- 0: 0 means the code is a generic (SAE-defined) code with the same title on every OBD-II vehicle.
- 8: subsystem group, here transmission.
- 21: the specific fault within that group.
The code tells you which condition the control module saw. It does not by itself identify a failed part, and manufacturers can add their own sub-codes or enhanced definitions.
Where this code applies
Generic OBD-II definition. The exact meaning, thresholds and likely causes can differ by manufacturer, engine and software version.
Safe checks you can do
- Read and save every stored and pending code, together with the freeze-frame data, before clearing anything.
- Note whether the engine warning light is steady or flashing. A flashing light usually means a severe misfire: reduce load and have the vehicle checked promptly.
- With the ignition off, look over the wiring and connector of the component named in the code for damage, corrosion, chafing or a loose connector.
- If the code comes back after clearing, have the vehicle diagnosed with the manufacturer's test procedure before buying parts.
For qualified technicians
- Confirm the definition and the enabling conditions for this exact vehicle in the manufacturer's service information.
- Measure supply, ground and signal at the component and at the control module connector, and compare with the specified values.
- Check for technical service bulletins and control module software updates that cover this code.
Information to have ready for a workshop: the full code list with freeze-frame data, mileage, when the light came on and under what driving conditions.
Is it safe to keep driving?
A code alone does not answer this. What the car is doing does:
- Stop when safe and do not continue if the check-engine light is flashing, a red warning light is on (oil pressure, temperature, brakes, charging), the brakes or steering feel different, or you notice smoke, a fuel smell or overheating.
- Drive gently and get the car checked soon if the light is steady and the car drives normally. Avoid long trips and heavy loads until the cause is found.
- Your owner's manual explains each warning light for your car and takes priority over this general advice.
Related codes in the same group
- P0820: Gear Lever X-Y Position Sensor Circuit
- P0822: Gear Lever Y Position Circuit
- P0823: Gear Lever X Position Circuit Intermittent
- P0824: Gear Lever Y Position Circuit Intermittent
- P0825: Gear Lever Push-Pull Switch (Shift Anticipate)
- P0826: Up and Down Shift Switch Circuit
- P0827: Up and Down Shift Switch Circuit Low
- P0828: Up and Down Shift Switch Circuit High
- P0829: 5-6 Shift
Data sources: SAE J2012 generic DTC titles, as listed in the python-OBD code table (GPL-2.0) (python-OBD master, retrieved 2026-12-06)
Spotted an error? Report a correction.
Spotted an error? Report a correction.
