P0645 Mercedes: Diagnose the A/C Relay Circuit Without Guessing
18 min read · by Nicole Bennett · Last updated: November 25, 2026
P0645 Mercedes indicates a fault in the air-conditioning compressor clutch relay control circuit, which can prevent the compressor from engaging and leave the cabin without cold air. This generic OBD2 powertrain code points toward an electrical control problem involving the A/C relay, wiring, connectors, or the powertrain control module (PCM). It does not automatically mean the compressor itself has failed.
On Mercedes-Benz vehicles, the exact circuit arrangement and diagnostic procedure depend on the model, engine, and production year. A 2013 Mercedes-Benz ML 4.6L turbocharged V8 reference associates P0645 with the A/C clutch relay control circuit, but its information should not be treated as a universal repair procedure for every Mercedes model. For other vehicles, causes vary by model year and engine.
The best approach is to retrieve the stored codes, save freeze-frame information, check the A/C request and compressor operation, and test the relevant electrical circuits before replacing parts. A basic OBD2 scanner can identify the fault, while a Mercedes-capable diagnostic tool may provide additional HVAC and control-module information.
What P0645 Means on a Mercedes-Benz
P0645 is the generic SAE definition for an A/C clutch relay control circuit malfunction. The code indicates that the engine control module has detected an electrical condition that does not match its expected behavior for the air-conditioning relay circuit. The problem may involve an open circuit, short circuit, defective relay, or control-side electrical fault.
The second character in the code is important. P0645 begins with P, identifying a powertrain-related diagnostic code. Its second character is 0, meaning it belongs to the generic SAE code category rather than being a manufacturer-specific P1xxx code. This makes the basic definition applicable across supported OBD2 vehicles, although the actual diagnostic procedure remains vehicle-dependent.
How the A/C clutch relay circuit works
The air-conditioning system uses electrical controls to coordinate the compressor with the engine and HVAC system. When the driver requests cooling, the climate control system communicates the request to the appropriate control modules. If the operating conditions allow compressor operation, the engine control system can activate the relevant relay circuit.
The relay acts as an electrical switch. Its control circuit allows a relatively low-current control signal to operate a higher-current electrical load. Depending on the vehicle’s design, the control module may switch the relay by controlling its ground or power supply. When the relay operates correctly, its contacts allow the compressor clutch circuit to receive the required electrical supply.
The control module monitors electrical feedback to determine whether the circuit responds as expected. If the circuit is open, shorted, or otherwise outside its acceptable operating range, it may store P0645. The precise monitoring conditions differ among manufacturers and Mercedes model generations.
What the code does not prove
P0645 does not prove that the compressor is mechanically damaged, that refrigerant is low, or that the entire climate control system needs replacement. It identifies a fault associated with the relay control circuit. A compressor that does not engage may simply be receiving no electrical command or power because of a relay or wiring problem.
The distinction matters because replacing an expensive compressor will not correct an open wire, corroded connector, failed fuse, or defective control output. Confirm the electrical fault before choosing a repair.

Symptoms of P0645 on Mercedes Vehicles
The most noticeable symptom is usually an air-conditioning system that does not cool properly. However, the exact behavior depends on whether the electrical fault prevents compressor engagement, creates an intermittent connection, or affects the control circuit in another way.
The following symptoms are useful clues, but none confirms a defective relay by itself. Check the stored codes and actual A/C operating conditions before deciding which component needs attention.
Air conditioner blows warm air
The cabin vents may produce warm or uncooled air even when the climate control temperature is set to its lowest setting. If the compressor clutch cannot engage because the relay circuit is faulty, the system may be unable to provide normal cooling.
However, warm air has several possible causes. Low refrigerant, a pressure sensor problem, compressor failure, a faulty expansion valve, or a separate HVAC control issue can also prevent normal cooling. P0645 makes the electrical control circuit an important inspection point, not the only possible explanation.
Compressor does not engage
A compressor with an electromagnetic clutch may fail to engage when the relay does not supply the necessary electrical connection. The usual clue is that the cooling request is active but the clutch does not respond.
Do not assume that a missing compressor click proves relay failure. The control module may intentionally prevent engagement because of an unacceptable refrigerant pressure reading, engine operating condition, or another HVAC fault. A scanner that can display A/C request and compressor activation status can help separate these situations.
Intermittent cooling and warning lights
A damaged wire or loose connector can produce intermittent cooling. The compressor may work normally at one moment and stop operating after vibration, heat, or movement affects an electrical connection.
Some Mercedes vehicles may also display an illuminated check engine light when the fault is stored. Other vehicles may retain the code without immediately producing an obvious warning. A warning light alone does not establish that P0645 is the only problem. Seeing the code on another make? Start with P0645 Vw.
| Symptom | Possible electrical explanation | What to check |
|---|---|---|
| Warm cabin air | Relay does not activate | A/C request and relay operation |
| Compressor does not engage | Open control circuit or failed relay | Relay power and control signal |
| Intermittent cooling | Loose or corroded connection | Connectors and wiring condition |
| Check engine light | Stored control-circuit fault | Stored, pending, and related codes |
Common Causes of the Mercedes P0645 Code
P0645 can result from several electrical failures. Start with the accessible relay, fuse supply, connectors, and wiring before considering an expensive control-module problem. The Mercedes-Benz ML reference identifies the relay, damaged wiring, corroded contacts, and PCM driver circuit as possible causes.
1. Defective A/C clutch relay
A worn or internally damaged relay may fail to switch consistently. Its internal coil can develop an open circuit or an electrical resistance outside the expected range. Relay contacts may also become damaged or resistive after repeated operation.
A relay can sometimes click without providing a reliable electrical connection through its contacts. Therefore, hearing a click does not establish that the relay is functioning correctly. Its control and output circuits must be evaluated according to the vehicle’s wiring diagram.
2. Blown fuse or missing power supply
A fuse protects the relevant electrical circuit from excessive current. If the fuse opens, the relay or compressor clutch may lose its required power supply. A poor connection at a fuse or power distribution point can create a similar problem.
Do not install a higher-rated fuse to prevent repeated failures. A fuse that opens again may indicate a short circuit or excessive electrical current. The underlying cause must be identified before the circuit is returned to service.
3. Damaged wiring or corroded connectors
Wiring between the power supply, relay, and control module can become damaged through vibration, heat, moisture, or previous repair work. A partially broken conductor may work intermittently. Corrosion can also increase electrical resistance or interrupt the circuit completely.
Inspect accessible connectors for moisture, corrosion, loose terminals, damaged locking tabs, and signs of overheating. Pay attention to previous wiring repairs and areas where a harness may rub against nearby components. Use the correct Mercedes wiring diagram to identify the circuit rather than guessing from connector appearance.
4. Failed compressor clutch or related electrical load
On vehicles equipped with an electromagnetic compressor clutch, an internally damaged clutch coil may affect the electrical load. Depending on the system design and monitoring strategy, the control module may detect an abnormal circuit condition.
This does not mean every Mercedes with P0645 needs a compressor. Confirm whether the vehicle actually uses the relevant clutch arrangement. Some Mercedes models use variable-displacement or electronically controlled compressor designs that do not follow the same traditional clutch-relay layout.
5. PCM or engine control module fault
A control module can develop an internal driver failure that prevents proper relay operation. This is less appropriate as an initial assumption because power-supply problems, damaged wiring, connector faults, and defective relays can produce similar symptoms.
Before considering module replacement, verify its power and ground circuits, inspect connector terminals, and test the control output using the manufacturer’s diagnostic procedure. Module replacement may also require programming, coding, or vehicle-specific configuration.

How to Diagnose P0645 With an OBD2 Scanner
A proper diagnosis combines scan-tool information with electrical testing. The scanner identifies stored faults and helps establish when the problem occurred, while a multimeter and the correct wiring diagram help determine whether the relay, power supply, wiring, or control module is responsible.
Step 1: Read all stored trouble codes
Connect an OBD2 scanner to the 16-pin J1962 diagnostic port, usually located underneath the driver’s side dashboard. Cars and light trucks sold in the United States from model year 1996 generally support OBD-II diagnostics.
Read the powertrain codes before clearing anything. If the scanner supports Mercedes enhanced diagnostics, scan the HVAC and other relevant modules as well. A generic code reader may only access emissions-related powertrain information and may not display the full manufacturer-specific fault history.
Record P0645 and every related code. Pay particular attention to electrical supply faults, communication problems, and additional A/C system codes. Multiple faults may share a common power or ground problem.
Step 2: Save freeze-frame information
Freeze-frame data records selected vehicle operating conditions when a diagnostic fault is detected. Depending on the vehicle and scanner, available information may include engine speed, coolant temperature, system voltage, vehicle speed, and engine load.
This information helps establish whether the fault occurred while the engine was running, shortly after startup, or under another operating condition. It can be particularly useful when P0645 appears intermittently and the A/C works normally during inspection.
Do not erase the code before saving the available information. Once the evidence is recorded, the technician can compare the original conditions with the conditions under which the fault returns. A factory P0645 diagnostic procedure for another manufacturer also illustrates the importance of recording freeze-frame information and checking whether the fault returns during commanded A/C operation. Its specific test values and connector instructions are not Mercedes specifications.
Step 3: Check battery and charging voltage
Electrical diagnosis should begin with a reasonably stable vehicle power supply. A healthy, fully charged battery measures approximately 12.6 volts at rest. With the engine running, a typical charging-system reading is approximately 13.5 to 14.7 volts, although charging strategies can vary.
If system voltage is significantly outside the expected range, investigate the battery, charging system, connections, and relevant grounds before interpreting relay-control measurements. An unstable electrical supply can create misleading diagnostic results.
Step 4: Inspect the relay and fuse circuits
Use the correct Mercedes wiring diagram to identify the A/C relay, its fuse protection, and the associated control-module connections. Relay locations differ between vehicles, so do not assume that every Mercedes model uses the same fuse-box position or relay arrangement.
Check the fuse condition and verify the specified power supply using the manufacturer’s test procedure. Inspect the relay socket for corrosion, loose contacts, discoloration, or heat damage. If a relay is removable, its coil and contact operation should be tested against the correct vehicle specification.
Step 5: Compare A/C request and relay operation
A Mercedes-capable scanner may provide live data showing the A/C request, compressor activation command, refrigerant pressure information, and related control status. The exact available parameters depend on the model and control-module software.
If the A/C request is absent, investigate the HVAC controls and the conditions that permit compressor operation. If the request is present but the relay does not respond, investigate its power supply, control signal, wiring, and electrical load.
A bidirectional scan tool may also allow a technician to command the relay on and off. This can help establish whether the control module can operate the circuit independently of a normal dashboard cooling request. Only use active tests supported by the specific vehicle and follow the service instructions.
Step 6: Check wiring continuity and shorts
If the relay and power supply appear correct, the next step is to investigate the control wiring. A qualified technician can use the wiring diagram to check for an open conductor, excessive resistance, or an unwanted connection to ground or power.
Continuity and resistance tests must be performed with the circuit isolated as specified by the manufacturer. Disconnecting the wrong module or testing an energized circuit with an ohmmeter can damage components or produce incorrect results.
Do not apply resistance specifications from another manufacturer to a Mercedes vehicle. For example, a Chrysler diagnostic manual uses a below-5.0-ohm threshold for a particular relay-control wire test. That figure is not a universal Mercedes specification.
Step 7: Evaluate the control module
Only consider an internal control-module problem after confirming that the module receives proper power and ground, the wiring is intact, and the relay and connected components meet their specifications.
If the control module fails to provide the expected output despite correct input conditions, follow the Mercedes diagnostic procedure for that particular model. A replacement module may need vehicle-specific programming and configuration.
Tip: Save freeze-frame information and all related codes before clearing P0645. Never probe unknown module terminals or bridge relay connections based on assumptions. Mercedes electrical systems can use different control strategies, and incorrect testing can damage electronic components. If a test requires energized circuits, module disconnection, or access to compressor wiring, use the factory procedure and suitable equipment. P0645 GMC walks through the same code on another vehicle, which helps if the usual fix does not work.
How to Fix P0645 and What Repairs May Cost
The correct repair depends on the electrical failure identified during diagnosis. A defective relay may require replacement, while a damaged harness may need a wiring repair. Control-module replacement should be considered only after the related circuits have been verified.
Replace a confirmed faulty relay
If testing confirms that the A/C relay has an open coil, damaged contacts, or another internal defect, replace it with the correct specified component. Confirm that the replacement matches the vehicle’s electrical rating and relay configuration.
Inspect the socket before installation. A new relay will not correct a loose terminal, corroded contact, or overheated fuse-box connection. If the socket is damaged, it may need separate repair.
Repair wiring and connector problems
Damaged wiring should be repaired using an appropriate automotive electrical repair method. The technician should restore the conductor, insulation, terminal retention, and environmental protection required for that location.
Corroded terminals may require connector or terminal replacement rather than surface cleaning alone. If moisture has entered a connector, the source of the moisture should also be addressed to prevent another electrical failure.
Address compressor or control-module faults
If testing confirms a defective compressor clutch coil or another electrical component in the load circuit, repair or replacement should follow the vehicle-specific service instructions. A compressor that has an internal mechanical failure requires a different repair from one that simply lacks relay power.
If the engine control module is confirmed defective, replacement may involve programming, coding, immobilizer-related procedures, and system verification. This is generally a specialist repair rather than a simple component swap.
Factors that affect repair costs
There is no single reliable repair price for P0645 across the Mercedes-Benz range. The final expense depends on the failed component, vehicle configuration, labor requirements, and whether specialist diagnostic equipment is needed.
- Relay replacement: Depends on the specified relay, accessibility, and whether the fuse-box socket is also damaged.
- Fuse and power-supply repair: Depends on the cause of the electrical interruption and whether additional wiring damage exists.
- Wiring repairs: Labor depends on harness accessibility, connector condition, and the length of damaged wiring.
- Compressor-related repairs: Costs depend on whether the problem involves a clutch component, electrical connection, or complete compressor assembly.
- Control-module replacement: May involve additional diagnostic time, programming, coding, and configuration.
- Professional diagnosis: Mercedes-specific scanning and electrical testing can add labor but help prevent unnecessary parts replacement.
DIY repair may be reasonable for an owner who can identify the correct relay and safely follow the vehicle’s service information. However, diagnosing module outputs, repairing complex harnesses, and servicing compressor components may require professional tools and training.
After the repair, clear the relevant codes using a suitable scanner and repeat the operating conditions that originally produced the fault. Confirm that the A/C request is recognized, the compressor operates as intended, and P0645 does not return. Check the vehicle’s readiness and fault status again after the appropriate monitoring conditions have been met.
Is It Safe to Drive With P0645?
In many cases, P0645 is a low-severity drivability issue because the primary affected system is the air conditioner. If the engine runs normally, there are no additional warning signs, and the vehicle has no other safety-related faults, a short trip to a repair facility is generally reasonable.
The main immediate concern is usually loss of cabin cooling rather than direct engine damage. However, the underlying electrical fault still deserves attention. A damaged harness or electrical connection should not be ignored simply because the vehicle continues to drive normally.
When continued driving may be reasonable
If the only symptom is that the A/C blows warm air, the engine operates normally, and no other warning lights or unusual behavior are present, the vehicle may be driven cautiously to a repair facility. Avoid unnecessary use of the air-conditioning system until the fault has been diagnosed.
Remember that a malfunctioning climate control system can also affect windshield defogging and cabin comfort. In humid or wet conditions, reduced demisting performance can become a visibility concern. Do not continue driving if the windshield cannot be kept clear.
When to stop driving and investigate
Stop in a safe location if you notice smoke, a burning electrical smell, repeated fuse failures, overheating, or other signs of an electrical problem. These symptoms may indicate a fault beyond the A/C relay control circuit.
If the check engine light flashes, reduce engine load and have the vehicle checked promptly. A flashing light commonly indicates an active misfire that can damage the catalytic converter. This is a separate concern from the usual P0645 symptoms and should not be dismissed as an air-conditioning issue.
Owners of hybrid or electric Mercedes vehicles should also avoid attempting to inspect high-voltage wiring or compressor components without the appropriate training. Electrically driven A/C compressors can involve high-voltage systems that require specialist handling. A basic code reader will show the code, but Best Mercedes OBD2 Scanners covers tools that read live data too.
Frequently Asked Questions
Does P0645 always turn on the Mercedes check engine light?
No. Whether the malfunction indicator light illuminates depends on the vehicle’s monitoring strategy and fault conditions. A stored diagnostic code can exist without an immediately visible warning light, so scan the relevant modules even when the dashboard appears normal.
Can P0645 appear as a pending code?
Yes. A pending code indicates that the control module detected a fault but has not yet met all the conditions needed to confirm it. Compare pending and confirmed code status before deciding whether the problem is intermittent or consistently present.
Will disconnecting the battery permanently remove P0645?
No. Disconnecting the battery does not repair the electrical fault. It can also erase useful diagnostic information and reset certain learned values or readiness monitors. Permanent OBD2 codes cannot be erased simply by disconnecting the battery; the underlying fault must be corrected and the relevant monitor must pass.
Can a generic OBD2 scanner diagnose every Mercedes module?
No. A generic scanner can usually retrieve supported emissions-related powertrain codes, but it may not access all Mercedes HVAC, body, and manufacturer-specific control modules. A compatible enhanced diagnostic tool is needed for deeper module access and some active tests.
Does a permanent P0645 code mean the repair failed?
Not necessarily. A permanent code remains in memory until the vehicle completes the required self-test and confirms that the fault is no longer present. Its continued presence immediately after a successful repair does not automatically mean another component has failed.
P0645 on a Mercedes-Benz identifies an A/C clutch relay control circuit problem, not automatic compressor failure. Check the relay, fuse supply, wiring, connectors, and control-module output before replacing expensive components. Save scanner information, follow the correct model-specific diagnostic procedure, and verify that the A/C system operates normally after the repair.
-
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
LearnP0645 Code: Meaning, Causes and Next Steps
LearnP0606 Mercedes: Diagnose the ECM Fault Before Replacing It
LearnP0600 Mercedes Code: CAN Bus Communication Meaning and Fixes
LearnP1101 Mercedes: Diagnose MAF Sensor and Air Intake Problems
LearnP1000 Mercedes: Identify the Gear Selector Module Fault
LearnP0328 BMW: Diagnose a High Knock Sensor Signal