Create your free account and get 10 bonus questions when you confirm your email. No card needed. Create free account

Try it free

P0321: Ignition RPM circuit

Ignition/Distributor Engine Speed (RPM) Input Circuit Malfunction

Severity: medium

Updated: 30 Nov 2026 · Generic OBD-II code (SAE J2012 / ISO 15031-6). Written with AI and reviewed; translated automatically from the Spanish original.

What it means

Code P0321 is generic according to SAE J2012 and ISO 15031-6 and refers to a fault in the input circuit for the engine rotational speed (RPM) signal used in the ignition or distributor system. The ECU (ECM/PCM) receives this signal from a crankshaft position sensor or an ignition sensor and, when it detects a signal that is missing, inconsistent or out of range, it records the fault. The exact form of the signal and the system architecture vary according to the manufacturer: consult the workshop manual for your engine.

Can I keep driving?

Yes, but have it checked soon.

The car can normally be driven, but the fault can get worse or damage other parts over time (the catalytic converter or the particulate filter, for example). Book a diagnosis in the next few days.

If in doubt, put safety first: a red or flashing warning light, smoke, a burning smell or any change in the brakes or steering are reasons to stop.

Got P0321? Ask about your car

Tell us your car and what you notice: we answer right here, no account needed.

How the ECU detects it

The ECU evaluates the RPM signal during starting and during normal operation. The fault is recorded when the signal is missing or out of range for a set period of time, and then the warning lamp comes on. The exact criteria (time, threshold and whether the code is pending before it is activated) depend on the manufacturer.

Symptoms

  • Malfunction indicator lamp (MIL) on constantly or flashing.
  • Difficulty starting, or the engine fails to fully start.
  • Rough or unstable idle.
  • Loss of power or poor response when accelerating.
  • Sudden engine stalling in some cases, which can happen without warning.

Common causes

  • Faulty crankshaft position sensor or ignition sensor.
  • Damaged, corroded or short-circuited wiring or connectors to earth.
  • Incorrect gap between sensor and reluctor ring, or a damaged reluctor ring.
  • ECU fault, less common after the above have been ruled out.
  • The relative importance of each cause depends on the make and the engine.

What to check

  • Read the code with a scan tool and review the live RPM data and the position sensor data if the equipment allows it.
  • Visually inspect the wiring and connectors of the crankshaft or ignition sensor.
  • Check the sensor signal with an oscilloscope or multimeter according to the manufacturer's specifications (resistance, voltage and waveform values: these depend on the make, so check them in the workshop manual).
  • Verify the sensor gap and the condition of the reluctor ring, with the tolerance stated by the manufacturer.
  • If all of the above is correct, consider the ECU or an intermittent fault.

Common diagnostic mistakes

  • Replacing parts without first checking the wiring and connectors.
  • Confusing P0321 with crankshaft or camshaft sensor codes (P0335, P0340) and replacing the wrong part without diagnosis.
  • Clearing the code without looking for the cause, so it is likely to come back.

Typical repairs

From the simplest and cheapest to the most expensive. Which one applies depends on the diagnosis.

  • Clean and retighten connectors, checking the circuit earth.
  • Adjust the sensor gap according to the manufacturer's specifications.
  • Replace the crankshaft or ignition sensor if it is faulty.
  • Repair or replace damaged wiring.
  • Replace the reluctor ring if it is damaged.
  • Replace the ECU only after ruling out the other components.
  • For any work on the ignition system, on the high-tension circuit or with the engine running, go to a professional.

Frequently asked questions

Can I keep driving with code P0321 showing?

Prolonged driving is not recommended. If the RPM signal fails, the engine may stall, and in some cases it may not restart until the signal returns to normal. This is a risk on the road, especially on motorways or at junctions. It is advisable to have it checked as soon as possible, particularly if there are hard starts or stalling. If the engine stops while you are driving, pull over carefully and contact a garage or a recovery service rather than repeatedly trying to restart it.

Can I just clear it? Clearing the code does not fix the fault: if the cause is still there, it comes back, and with the engine warning light on the car will fail its roadworthiness test (MOT in the UK).

General information about a generic code. The exact causes depend on the make and engine: confirm them with a diagnosis before replacing parts.

Related codes

  • P0335 Crankshaft position sensor (CKP) circuit malfunction, not the correlation with the camshaft.
  • P0340 Camshaft position sensor circuit malfunction, an electrical fault, without the need for comparison with the crankshaft.
  • P0016 Correlation between crankshaft and camshaft position, which points more towards the timing.
  • P0341 Range or performance of the camshaft position sensor, very similar, but referring to the camshaft sensor.

More codes: ignition system and misfires

All OBD codes in English