p0791 code: Diagnose the Transmission Speed Sensor Fault
19 min read · by Nicole Bennett · Last updated: November 26, 2026
The p0791 code indicates an Intermediate Shaft Speed Sensor A Circuit problem in your vehicle’s automatic transmission, meaning the transmission control module has detected an electrical or signal fault involving the intermediate shaft speed sensor. This sensor supplies rotational speed information that helps the transmission computer determine gear ratios and control shifts. When the signal becomes unreliable, transmission operation can become unpredictable.
You might notice harsh shifting, delayed gear engagement, transmission warning lights, or reduced performance. Some vehicles may enter limp mode to protect the transmission. However, the warning does not automatically mean the transmission itself has failed. A damaged connector, wiring problem, defective speed sensor, or control module issue can produce similar results.
The best approach is to scan the transmission control module, examine freeze-frame information, compare live speed readings, and inspect the sensor circuit before replacing parts. This guide explains the meaning of P0791, common causes, diagnostic procedures, repair considerations, and driving safety.
What the P0791 Code Means
P0791 is a generic powertrain diagnostic trouble code associated with the intermediate shaft speed sensor A circuit. The transmission control module (TCM) monitors rotational speed information and checks whether the electrical signal is consistent with its expected operating conditions. A problem can interfere with the computer’s ability to calculate transmission speed and manage gear changes.
The intermediate shaft is part of the transmission’s internal gear arrangement. Depending on the transmission design, the associated sensor measures the rotational speed of an intermediate shaft, counter gear, or related rotating transmission component. The computer compares this information with other available speed signals to determine whether the transmission is operating correctly.
Understanding the P0791 code format
The five-character diagnostic code provides information about the affected vehicle system and the type of fault. P0791 belongs to the powertrain category, which includes engine and transmission control systems.
| Code character | Meaning |
|---|---|
| P | Powertrain system, including the engine and transmission. |
| 0 | Generic SAE diagnostic code. |
| 7 | Transmission-related code family. |
| 9 | Specific diagnostic identifier within the transmission code family. |
| 1 | Identifies the particular diagnostic fault within this code family. |
How the intermediate shaft speed sensor works
The sensor monitors the rotational movement of a transmission component and sends a corresponding electrical signal to the control module. Depending on the design, the sensor may use magnetic or Hall-effect technology. The signal frequency or other electrical characteristics provide information about rotational speed.
For example, Toyota’s U660E automatic transaxle diagnostic information describes comparing input turbine speed, identified as NT, with counter gear speed, identified as NC. The TCM uses those signals to calculate shift timing and coordinate engine torque and transmission hydraulic pressure.
A missing, abnormal, or electrically incorrect signal can prevent the computer from accurately determining transmission operation. Depending on the vehicle, the computer may adjust shifting behavior, illuminate a warning light, or activate a protective operating strategy.
It is important to distinguish P0791 from neighboring codes. P0792 refers to the Intermediate Shaft Speed Sensor A Circuit Range/Performance, while P0793 identifies the Intermediate Shaft Speed Sensor A Circuit No Signal condition. P0791 should not automatically be interpreted as a range/performance code simply because the three faults involve the same sensor family.

Common Symptoms of a P0791 Fault
The symptoms of P0791 depend on the transmission design and how the control module responds to the missing or abnormal speed information. Some vehicles continue driving with noticeable shifting problems, while others activate a protective mode that limits available gears or vehicle speed.
The check engine light may be the first visible warning. However, a transmission warning message or gear indicator problem can also appear. Drivers should pay attention to changes in transmission behavior, especially when the vehicle begins shifting differently from normal.
1. Harsh or delayed gear changes
The transmission may shift with a noticeable jolt instead of changing gears smoothly. You might also experience delayed engagement when selecting Drive or Reverse. These symptoms occur because the TCM uses speed information to coordinate gear changes and determine whether the requested ratio has been achieved.
A faulty sensor signal can interfere with this process. However, harsh shifting is not exclusive to P0791. Low transmission fluid, hydraulic pressure problems, worn clutch components, and solenoid faults can produce similar behavior.
2. Limp mode or limited transmission operation
Some vehicles enter limp mode when the transmission computer cannot trust an important speed signal. This protective strategy may restrict gear selection, hold a particular gear, or reduce available performance.
The purpose is to reduce the possibility of additional transmission damage. The exact operating restrictions vary by manufacturer and transmission. A vehicle that refuses to shift normally should not be forced to continue operating under heavy load.
3. Check engine or transmission warning light
The malfunction indicator lamp may illuminate when the powertrain computer detects the fault and satisfies its monitoring requirements. Some vehicles also display a transmission warning message or activate a separate transmission warning lamp.
A warning light alone cannot confirm that the speed sensor has failed. Scan the engine and transmission modules to identify stored, pending, and manufacturer-specific diagnostic information.
4. Unusual engine RPM and vehicle response
You may notice engine RPM increasing without the expected acceleration, inconsistent shifting, or a mismatch between vehicle speed and engine speed. These symptoms can indicate that the transmission is not calculating or controlling gear ratios correctly.
Not every vehicle with P0791 experiences all these symptoms. A developing electrical problem may initially produce intermittent warnings before more noticeable shifting problems occur.
Tip: Record the exact symptoms, driving conditions, and transmission temperature when the warning appears. A fault that occurs only after the transmission warms up or during a particular gear change can provide useful diagnostic information.
Common Causes of the P0791 Code
P0791 can result from an electrical fault, a defective speed sensor, or a problem involving the transmission control system. The most effective repair begins by identifying which part of the signal circuit has failed rather than assuming that the sensor itself needs replacement.
The following causes are common diagnostic possibilities. Their likelihood depends on the vehicle, transmission model, mileage, service history, and operating conditions.
1. Defective intermediate shaft speed sensor
The sensor may develop an internal electrical fault that prevents it from generating an accurate speed signal. Internal component wear, heat exposure, vibration, or contamination can affect sensor performance.
A sensor can also fail intermittently. It might produce a normal reading when cold but become unreliable as transmission temperature increases. Comparing its signal under different operating conditions can help identify this type of failure.
2. Damaged wiring or an open circuit
The wiring between the speed sensor and TCM can become damaged through heat, vibration, abrasion, or previous transmission repairs. A broken conductor may interrupt the signal entirely or create an intermittent connection.
An open circuit means the electrical path is interrupted. Depending on the sensor design, the problem may affect its power supply, ground, or signal wire. A wiring diagram is necessary to identify the correct circuits before testing.
3. Short circuit or poor electrical connection
A wire that contacts ground or another electrical circuit can produce an abnormal signal. Damaged insulation, pinched wiring, and corrosion are possible causes.
Connector problems deserve particular attention. Loose terminals, moisture intrusion, corrosion, and pushed-back pins can interrupt the electrical connection even when the wiring appears undamaged from the outside.
4. Damaged reluctor or tone wheel
Some transmission speed sensors detect teeth or magnetic features on a rotating component. Damage, contamination, or incorrect sensor positioning can interfere with the signal generated by that component.
Metal debris may also affect certain magnetic sensor arrangements. If the electrical circuit checks correctly but the speed signal remains abnormal, the sensor’s mechanical installation and the rotating target may require inspection.
5. Transmission control module malfunction
The TCM processes the speed sensor signal and uses it to control transmission operation. A damaged connector, power supply problem, ground fault, or internal electronic failure can interfere with signal processing.
Module replacement should be considered only after the sensor, wiring, connectors, power supply, grounds, and relevant mechanical components have been checked. Some vehicles may also require module programming or calibration after replacement.
6. Transmission-related mechanical problems
Internal transmission damage can affect the rotating component monitored by the sensor. Damaged gear teeth, bearing problems, excessive debris, or an abnormal sensor mounting position may produce an unexpected reading.
However, P0791 alone does not prove that internal transmission components are damaged. Mechanical inspection should follow the electrical and sensor checks unless other symptoms or diagnostic codes indicate an immediate internal problem.

How to Diagnose P0791 With an OBD2 Scanner
A proper P0791 diagnosis combines a capable scanner, transmission live data, electrical testing, and vehicle-specific service information. A basic code reader may identify the fault but cannot necessarily display the transmission speed parameters needed to locate the problem.
OBD-II has been required on cars and light trucks sold in the United States from model year 1996. The standard 16-pin J1962 diagnostic connector is usually located beneath the driver’s dashboard, near the steering column. However, transmission-specific information may require enhanced manufacturer-level scanner coverage.
Step 1: Scan all available control modules
Connect the scanner and perform a complete vehicle scan. Do not limit the inspection to the engine control module because P0791 may be stored in the transmission control module.
Record the exact code description, reporting module, and any additional transmission faults. Related speed sensor codes, gear-ratio codes, communication faults, and voltage-related codes may provide clues about the original problem.
Also determine whether P0791 is pending, stored, or permanent. A pending code indicates that the fault has been detected but has not yet satisfied all confirmation requirements. A stored or confirmed code indicates that the diagnostic criteria have been met. Permanent codes require the relevant monitor to pass after the underlying fault has been corrected.
Step 2: Examine freeze-frame information
Freeze-frame data records operating conditions associated with a detected fault when the vehicle’s diagnostic system supports that information. It can help establish whether P0791 occurred during acceleration, steady driving, a gear change, or another operating condition.
Review available engine RPM, vehicle speed, transmission temperature, throttle position, battery voltage, and selected gear information. Compare these values with the driver’s description of when the warning appeared.
Do not assume that every vehicle stores identical freeze-frame parameters. Some transmission controllers maintain additional diagnostic records that are available only through enhanced scanning equipment.
Step 3: Compare transmission speed sensor live data
Select the transmission data list and locate the intermediate shaft speed sensor A parameter. Depending on the vehicle, the scanner may identify it as ISS, ISSA, counter gear speed, or another manufacturer-specific description.
Compare the reading with available input shaft, turbine shaft, output shaft, and vehicle speed information. The signals should show a plausible relationship under the operating conditions specified by the manufacturer.
A reading that remains at zero while the vehicle is moving may indicate an interrupted signal or sensor circuit problem. A reading that changes erratically or disagrees with other speed measurements can indicate a defective sensor, wiring fault, installation issue, or mechanical problem.
Toyota’s Venza diagnostic procedure provides a useful vehicle-specific example. It identifies an NC counter gear speed reading that remains at zero while driving as a possible open or short circuit. It also describes a reading below 300 rpm under certain driving conditions as a reason to investigate the sensor, installation, and electrical connection. These values must not be treated as universal specifications for every transmission. The Toyota Venza intermediate shaft speed sensor diagnostic procedure provides the corresponding live-data checks and circuit inspection details.
Step 4: Inspect the sensor and wiring
After identifying the correct sensor from the vehicle’s service information, inspect its accessible connector and wiring. Look for damaged insulation, corrosion, moisture, loose terminals, oil contamination, and evidence of harness contact with hot or moving components.
Check whether the connector is fully seated and whether its terminals show signs of spreading or damage. If the sensor is mounted inside the transmission or requires removal of major components, follow the manufacturer’s service procedure rather than attempting an improvised inspection.
Step 5: Test electrical circuits
Use the correct wiring diagram to identify sensor power, ground, and signal connections. Depending on the sensor design, testing may involve checking supply voltage, ground quality, signal output, circuit continuity, and unwanted shorts.
Toyota’s documented procedure provides an example of how vehicle-specific electrical testing works. It specifies less than 1 ohm for particular transmission wire continuity checks and at least 10 kilohms between specified disconnected circuits and body ground.
These are Toyota-specific test values for the identified circuits, not universal resistance specifications for every P0791 application. Always use the correct wiring diagram and resistance or voltage specifications for the vehicle being diagnosed.
Step 6: Check Mode $06 when applicable
Mode $06 provides access to onboard monitor test results on supported vehicles. Some enhanced diagnostic systems also display manufacturer-specific transmission monitoring information that can help technicians evaluate a fault.
However, Mode $06 does not guarantee that a useful P0791 test result will be available. Transmission monitor information depends on the vehicle’s implementation and the scanner’s capabilities. A missing test entry is not proof that the sensor is defective.
Fuel trims are generally not the primary diagnostic measurement for P0791 because this is a transmission speed sensor circuit fault. Short-term and long-term fuel trims can still be reviewed if additional engine-related codes are present, but they cannot establish whether the intermediate shaft sensor is working correctly.
Step 7: Verify the repair
Once the identified problem has been corrected, clear the codes using the appropriate diagnostic procedure. Follow the manufacturer’s prescribed drive cycle or transmission monitor test conditions.
Rescan the vehicle and check whether P0791 returns. Confirm that the intermediate shaft speed reading is plausible and that shifting behavior has returned to normal. A code disappearing immediately after clearing does not establish that the repair is successful. Seeing P0790 Code alongside this one? That guide explains what it means.
Tip: Do not replace the sensor based solely on a P0791 code. Check related codes, freeze-frame information, connector condition, circuit continuity, and live speed readings first. Internal transmission access and electrical testing should be handled by someone with the correct service information and equipment. To repeat this test at home, the tools in Best Diagnostic Tools for Can-Am are worth a look.
P0791 Repair Options, Costs, and Driving Safety
The correct repair depends on the cause of the abnormal sensor signal. A simple connector problem may require much less work than replacing an internally mounted sensor or repairing transmission wiring. Internal mechanical damage and TCM problems require more extensive diagnosis.
There is no reliable universal repair price for P0791 because vehicle design, transmission construction, labor requirements, and regional shop rates differ. Obtain a diagnosis and written estimate before authorizing component replacement.
Common repair options
- Connector repair: Corroded, loose, or damaged terminals may require connector cleaning, terminal replacement, or harness repair using approved procedures.
- Wiring repair: Broken, shorted, or damaged wires may need to be repaired or replaced. The entire affected circuit should be tested after the repair.
- Speed sensor replacement: A confirmed defective sensor may need replacement. Labor depends on whether the sensor is externally accessible or requires internal transmission access.
- Sensor installation correction: Incorrect mounting, an unsuitable air gap, or damaged mounting hardware may need correction according to the transmission manufacturer’s specifications.
- Internal transmission inspection: If the signal problem originates from a damaged rotating component, further transmission disassembly and mechanical repair may be necessary.
- TCM repair or replacement: A confirmed module failure may require electronic repair, replacement, programming, or calibration.
What affects the repair cost?
The first major cost factor is the location of the sensor. An externally mounted sensor may be relatively accessible, while an internally mounted sensor can require substantial transmission labor. Some designs require removal of internal components or access through the valve body area.
The second factor is the actual cause of the fault. Connector repair and wiring work generally involve different parts and labor requirements from sensor replacement, module programming, or internal transmission repairs.
The third factor is diagnostic time. Intermittent faults may require additional testing under specific temperature, speed, or gear conditions. A shop may need enhanced scanning equipment, wiring diagrams, electrical meters, and manufacturer-specific diagnostic procedures.
DIY repairs may reduce labor expenses when the faulty connector or externally accessible sensor is clearly identified. However, transmission electrical diagnosis is not always straightforward. Incorrect wiring repairs, improper sensor installation, or unnecessary component replacement can create additional problems.
Is it safe to drive with P0791?
Driving safety depends on the severity of the transmission symptoms. A vehicle with a stored P0791 code and no noticeable shifting problems may remain operational temporarily, but the fault should be diagnosed promptly. Continued operation without understanding the cause can allow an electrical or mechanical problem to worsen.
Do not continue driving if the transmission slips, shifts violently, loses drive, unexpectedly changes gears, or enters a condition that makes acceleration unpredictable. These symptoms can create dangerous situations in traffic and may indicate a more serious transmission problem.
If the vehicle has severe shifting problems or cannot maintain normal operation, stop in a safe location and arrange professional assistance. A flatbed tow may be appropriate, depending on the vehicle’s drivetrain and manufacturer’s towing instructions.
Avoid heavy acceleration, towing, steep climbs, and long trips until the problem has been diagnosed. Do not assume that clearing the code makes the vehicle safe to drive.
Also remember that a flashing check engine light generally indicates an active engine misfire that can damage the catalytic converter. If that warning appears alongside P0791, reduce engine load and arrange prompt diagnosis rather than treating the situation as an isolated transmission issue.
Safety: Never work beneath a vehicle supported only by a jack. Transmission components and fluid may become extremely hot, and some electrical circuits can remain energized after the ignition is switched off. Follow the manufacturer’s isolation and lifting procedures. Internal transmission work, module testing, and complicated electrical repairs should be performed by qualified technicians.
P0791, P0792, and P0793: Understanding the Differences
The P0791, P0792, and P0793 codes all involve Intermediate Shaft Speed Sensor A, but they identify different diagnostic conditions. Understanding the distinctions helps prevent unnecessary sensor replacement and keeps the diagnosis focused on the actual fault reported by the transmission computer.
The three codes should be interpreted using their exact SAE descriptions and the vehicle manufacturer’s diagnostic information. A scanner may also provide additional subcodes or manufacturer-specific descriptions that narrow the fault further.
| Code | Generic description | Diagnostic focus |
|---|---|---|
| P0791 | Intermediate Shaft Speed Sensor A Circuit | Sensor circuit fault. |
| P0792 | Intermediate Shaft Speed Sensor A Circuit Range/Performance | Signal range or performance problem. |
| P0793 | Intermediate Shaft Speed Sensor A Circuit No Signal | Missing speed signal. |
Why the distinction matters
A circuit fault can involve the sensor, its wiring, electrical supply, connector, or control module. A range/performance fault suggests that the signal is present but does not meet the expected operating criteria. A no-signal fault focuses attention on an absent or interrupted speed signal.
For example, Toyota documents P0791 when its specified sensor input voltage falls below 0.1 volts or exceeds 1.9 volts for at least 2 seconds. Its separate P0793 criteria involve a counter gear speed below 300 rpm for at least 2 seconds under specified vehicle operating conditions. These thresholds apply to the documented Toyota system, not every vehicle using these generic codes.
If multiple related codes appear together, examine whether they share a power supply, ground, connector, or wiring harness. Several speed sensor faults occurring simultaneously may point toward a common electrical issue rather than multiple independent sensor failures.
Why vehicle-specific information is important
Different manufacturers use different transmission layouts, sensor technologies, wiring arrangements, and diagnostic thresholds. Even vehicles from the same manufacturer can use different sensor locations and testing procedures depending on the transmission model.
Before purchasing a replacement sensor, identify the exact transmission and confirm the applicable service procedure. The engine size and model year alone may not provide enough information to select the correct diagnostic instructions.
Ford’s published OBD system operation information also documents P0791 as an intermediate shaft speed sensor circuit fault. Its example monitor runs continuously for a typical 30-second monitoring duration and uses specific operating conditions, including Drive selection and vehicle speed. These Ford-specific details illustrate why diagnostic thresholds should not be transferred between transmission designs. See the Ford OBD system operation and intermediate shaft speed sensor monitoring information for its documented test conditions.
Frequently Asked Questions
These additional questions address details that can affect diagnosis and repair decisions. Always check the service information for the specific vehicle because transmission monitoring strategies are not identical across manufacturers.
Can a weak battery cause a P0791 code?
Low system voltage can interfere with electronic control modules and sensor circuits, although it is not automatically the cause of P0791. Check battery condition and charging voltage if additional low-voltage or communication codes are present. A healthy battery typically measures about 12.6 volts at rest, while a functioning charging system commonly produces approximately 13.5 to 14.7 volts with the engine running.
Will disconnecting the battery permanently remove P0791?
No. Disconnecting the battery does not repair the underlying fault. It may erase some stored diagnostic information or reset learned settings, depending on the vehicle. Permanent diagnostic trouble codes cannot simply be erased through battery disconnection; the fault must be corrected and the required monitor must pass.
Does P0791 always turn on the check engine light immediately?
Not necessarily. Warning lamp behavior depends on the manufacturer’s monitoring strategy and detection conditions. Some systems monitor continuously, while others require specific transmission operating conditions before confirming the fault. A scan tool may identify pending or stored transmission information even when the dashboard warning behavior differs.
Can an ordinary OBD2 code reader diagnose P0791 completely?
Not always. A basic reader may retrieve the generic code but lack access to enhanced TCM information, manufacturer-specific live data, or transmission freeze-frame records. A scanner with appropriate transmission coverage is often necessary to compare intermediate shaft, turbine, input, and output speed readings.
Can P0791 appear after a transmission replacement?
Yes. A damaged connector, incorrectly routed harness, incomplete electrical connection, unsuitable sensor installation, or incompatible transmission configuration can produce a speed sensor fault after transmission work. The replacement assembly’s compatibility and required programming or calibration should also be verified.
The P0791 code identifies an intermediate shaft speed sensor A circuit problem, but it does not automatically mean your transmission needs replacement. Start with a complete scan, freeze-frame information, live transmission speed readings, and careful electrical testing. Identifying whether the fault comes from the sensor, wiring, connector, or control module is the key to avoiding unnecessary repairs and restoring reliable transmission operation.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0700 Acura: Find the Transmission Problem and Fix It
LearnP0706 VW: Diagnose Transmission Range Sensor Problems
LearnP0715 Honda Civic: Diagnose Input Shaft Speed Sensor Problems
LearnP0017 Hyundai: What the Code Means and What to Check
LearnP0841 Dodge Grand Caravan: Diagnose the Transmission Pressure Fault
LearnP0325 Honda Code: What It Means and How to Fix It