Go-Parts
Cart 0
Your cart is empty
Add an item to see it appear here.
Wrenchy
Go-Parts Garage
Expert guides for diagnosing, troubleshooting, and replacing auto parts Expert guides for diagnosing and replacing auto parts
Browse All Articles →
🧭 Diagnostic Flowchart 🎬 Helpful Videos 🛍️ Shop This Part

P0013 on 2012-2016 Mercedes-Benz E-Class: Exhaust Camshaft Actuator Circuit Faults and Fixes

On the M276 engine, code P0013 almost always points to a faulty exhaust camshaft adjuster magnet (solenoid) on Bank 1 (passenger side). It's an affordable part, around $40-$80, and is a straightforward DIY replacement for most owners. Oil leaking into the wiring harness from the magnets or sensors is a very common related issue that can also cause this code.

21 minutes to read 2012-2016 Mercedes-Benz E-Class
Most Likely Cause
Faulty Exhaust Camshaft Adjuster Magnet (Solenoid)
Difficulty
2/5
Est. Time
1 hrs
DIY Doable?
✅ Yes
Shop Labor
$120 – $300
Parts Price
$40 – $80
⚠️ Drivable, but... — Yes, but you should get it fixed soon. Driving with this code can lead to rough idling, poor acceleration, reduced fuel economy, and in some cases, can cause long-term engine damage if ignored.
Key Takeaways
  • P0013 on this Mercedes points to an electrical fault with the passenger-side exhaust camshaft solenoid.
  • The most likely cause is a failed camshaft adjuster magnet (solenoid), which is a common and relatively inexpensive part to replace.
  • Before replacing parts, check your oil level and condition, as low or dirty oil can cause this code.
  • While you have the engine cover off, inspect the connectors for all four camshaft magnets and sensors for signs of oil, which indicates a leak that needs to be fixed.
  • A simple diagnostic is to swap the suspect magnet with another one on the engine; if the code follows the part, you've found the problem.
The trouble code P0013 stands for "Exhaust 'B' Camshaft Position Actuator Circuit / Open (Bank 1)". This means the Engine Control Module (ECM) has detected an electrical problem, like an open or short circuit, with the solenoid that controls the exhaust camshaft on Bank 1. For the M276 V6 engine, Bank 1 is the passenger side (right side) of the engine, and 'B' refers to the exhaust camshaft. This solenoid, often called a camshaft magnet by Mercedes, is a key part of the Variable Valve Timing (VVT) system, which adjusts engine timing for optimal power and efficiency.

What's Unique About the 2012-2016 Mercedes-Benz E-Class

The M276 engine is well-known for issues with its VVT components, specifically the camshaft adjuster magnets (solenoids) and the camshaft position sensors. These parts are considered common failure points. A frequent and well-documented related problem is oil leaking from the sensors or magnets and wicking down the wiring harness via capillary action. This oil contamination can cause this circuit fault and potentially damage other components, including the main engine computer if not addressed. Mercedes-Benz released a service campaign and specific pigtail harnesses to mitigate this issue.

Symptoms You May Notice

  • Check Engine Light is on
  • Rough or uneven idle
  • Reduced engine power and sluggish acceleration
  • Decreased fuel economy
  • Engine may be difficult to start or have long crank times
  • Rattling or metallic noises from the engine, especially on startup
⚠️ Don't Waste Money on the Wrong Fix
  • Replacing the camshaft position sensor instead of the camshaft adjuster magnet (solenoid). While the sensor can also fail and is the source of oil leaks, P0013 specifically points to the actuator (magnet) circuit, making the magnet the primary suspect.
  • Replacing the wrong magnet (e.g., the intake magnet or the one on the driver's side/Bank 2). Bank 1 is the passenger side; 'B' is the exhaust camshaft.
  • Ignoring oil in the harness. Simply replacing the magnet without addressing the oil contamination and its source will likely lead to a quick return of the fault code.

Most Likely Causes

  1. Faulty Exhaust Camshaft Adjuster Magnet (Solenoid) 🔴 High Probability → Shop Engine Camshaft These solenoids are a known common failure point on the M276 engine. They can fail electrically (open/short circuit) or become clogged with oil sludge over time. The internal seals can also fail, causing oil to leak into the electrical connector.
    How to confirm: Swap the Bank 1 exhaust magnet with the Bank 1 intake magnet. Clear the codes. If the code changes to P0010 ('A' Camshaft Position Actuator Circuit), the magnet is confirmed bad. You can also test its resistance with a multimeter; a good solenoid should read between 8-15 ohms.
    Typical fix: Replace the Bank 1 exhaust camshaft adjuster magnet. It is held on by three E8 external Torx bolts and is accessible on the front of the passenger-side cylinder head. It is highly recommended to replace all four magnets at the same time as a preventative measure.
    Est. part cost: $40-$80
  2. Wiring or Connector Issue (Oil Contamination) 🔴 High Probability Oil can leak from the camshaft position sensors or the adjuster magnets themselves, seeping into the electrical connector and down the wiring harness. This oil contamination disrupts the electrical signal, causing circuit codes like P0013. This is a very common and well-documented issue on the M276.
    How to confirm: Unplug the connector for the Bank 1 exhaust camshaft magnet. Inspect for any signs of engine oil, corrosion, or bent/damaged pins. Trace the harness as far as possible to check for oil saturation.
    Typical fix: Clean the connector and magnet pins with electrical contact cleaner. If oil is present, the source of the leak (the magnet itself or a nearby camshaft position sensor) must be replaced. To prevent future contamination of the main engine harness, install a short sacrificial pigtail harness (Part No. A2711500156 or 2711502733) between the magnet and the main harness.
    Est. part cost: $15-$50 for pigtail harness, plus cost of leaking component.
  3. Low or Dirty Engine Oil 🟡 Medium Probability The VVT system is hydraulic and relies on clean oil of the correct viscosity and pressure to function. If oil changes are neglected, sludge can build up and clog the small passages in the camshaft adjuster magnets, causing them to stick or respond slowly.
    How to confirm: Check the engine oil level and condition via the dipstick or electronic sensor. If the oil is low, dark, or sludgy, it is suspect.
    Typical fix: Perform an engine oil and filter change using a Mercedes-Benz approved oil (e.g., MB 229.5 spec). Clear the codes and see if the fault returns.
    Est. part cost: $70-$150

Rare But Worth Checking

  • Failed Engine Control Module (ECM): This is very rare. Before condemning the ECM, all other possibilities (solenoid, wiring, oil level) must be exhaustively ruled out. A faulty driver circuit within the ECM can mimic a solenoid or wiring fault. Severe oil contamination from the engine harness wicking all the way to the ECM connector is a known, albeit uncommon, cause of ECM failure.
  • Stretched Timing Chain or Faulty Camshaft Adjuster (Phaser): → Shop Engine Timing Chain While more likely to cause correlation codes (like P0016/P0017) or rattling noises, severe timing chain stretch or a failed phaser could potentially contribute to this circuit code under specific conditions. This is a much more involved and expensive repair.
  • Failed High Pressure Fuel Pump (HPFP): The HPFP on the M276 is driven by a camshaft lobe. While rare, a failing HPFP can cause drivability issues like long cranks and misfires. In some forum-documented cases, issues with the HPFP and its related components have occurred alongside various camshaft-related codes.

Diagnosis Steps

  1. Check Engine Oil: Verify the engine oil level is correct and the oil is in good condition. If low or dirty, perform an oil change with MB 229.5 spec oil first.
  2. Inspect the Connector: Unplug the electrical connector for the Bank 1 (passenger side) exhaust camshaft adjuster magnet. Look for engine oil inside the connector and on the magnet's pins. This is a very common finding.
  3. Swap Test (Recommended): The easiest way to confirm a bad magnet is to swap it. The M276 has four identical magnets. Swap the suspected bad one (Bank 1 exhaust) with a known good one (e.g., Bank 1 intake). Clear the codes and drive. If the code changes to P0010 (for the intake circuit), the magnet is faulty and needs to be replaced.
  4. Test Resistance (Optional): Using a multimeter, check the resistance across the two pins of the solenoid. A good solenoid should typically read between 6-12 ohms. An open circuit (infinite resistance) or a short (zero resistance) indicates a failed solenoid.
  5. Check for Voltage: With the key on and engine off, use a multimeter to check for voltage at the solenoid's electrical connector. You should have battery voltage on one of the pins. Note that the ECM uses a Pulse Width Modulated (PWM) signal, so a simple multimeter may show a very low voltage reading when the engine is running, while an oscilloscope would show the true system voltage.
  6. Inspect Wiring: If the solenoid and connector are good, trace the wiring harness back toward the ECM, looking for any signs of damage, chafing, or oil saturation. If oil is found, installing preventative pigtail harnesses is highly recommended.
  7. Professional Diagnosis: If the steps above do not identify the fault, the issue may be with the timing components or the ECM itself, which requires advanced diagnostics.

Parts You'll Likely Need

  • Camshaft Adjuster Magnet (Solenoid) (OEM #A2761560790 (supersedes A2761560490)) — This is the most common failure part for code P0013 on the M276 engine.
    Trusted brands: Mercedes-Benz (OEM), Bosch, Pierburg
    OEM price range: $60-$80
    Aftermarket price range: $40-$60
  • Sacrificial Wiring Harness (Pigtail) (OEM #A2711500156 or 2711502733) — A critical preventative part. This short harness is installed between the magnet and the main engine harness to 'catch' any future oil leaks, protecting the expensive main harness and ECM. It's recommended to install four, one for each magnet.
    Trusted brands: Mercedes-Benz (OEM)
    OEM price range: $15-$25 each
    Aftermarket price range: $10-$20 each
  • Camshaft Position Sensor (OEM #A2769051000) — Often replaced preventatively or if it is found to be the source of an oil leak into the wiring harness. A leaking sensor can cause the P0013 code by contaminating the magnet's connector.
    Trusted brands: Mercedes-Benz (OEM), Bosch, Continental
    OEM price range: $50-$70
    Aftermarket price range: $30-$50

Related Codes That Often Appear With This One

  • P0010 — This is the equivalent code for the Intake ('A') camshaft actuator circuit on Bank 1. If oil has wicked into the harness, it can affect both solenoids on the same bank.
  • P0023 — This is the equivalent code for the Exhaust ('B') camshaft actuator on Bank 2 (driver's side). Finding codes for multiple magnets can point to a systemic issue like dirty oil or widespread oil contamination in the harness.
  • P0348 / P0349 / P0368 / P0369 — These codes relate to the camshaft position sensor circuits. A common cause for both sets of codes is oil contamination in the engine wiring harness originating from a leaking sensor or magnet.

Technical Service Bulletins (TSBs) & Recalls

  • TSB LI05.10-P-056435: Addresses a rattling noise from the engine on startup, which is related to the VVT system. The fix involves replacing secondary chain tensioners and installing check valves to maintain oil pressure. While not directly for P0013, it highlights the sensitivity and known issues within the M276 timing system.

Platform-Specific Known Issues

  • Oil Contamination of Wiring Harness: The camshaft position sensors and adjuster magnets on the M276 are notorious for developing internal leaks, allowing engine oil to travel through the wiring harness via capillary action. This can cause faults in various sensors and, if left unchecked, can travel to and damage the Engine Control Module (ECM). Mercedes acknowledged this with Service Campaign 2012070002 and the release of sacrificial pigtail harnesses (p/n A2711500156) as a fix.

Mechanic-Grade Diagnostic Values

  • Camshaft Adjuster Magnet (Solenoid) Resistance — expected: 6.9 to 12 ohms. One source specifies 6.9-7.9 ohms.. Failure: A reading of infinite resistance (open circuit) or near-zero resistance (short circuit) indicates a failed magnet.
  • Camshaft Adjuster Magnet Connector Voltage (Engine Running) — expected: Variable voltage based on a Pulse Width Modulated (PWM) signal. An oscilloscope should show pulses at full system voltage (e.g., ~13.9V).. Failure: A standard multimeter may show a very low, fluctuating DC voltage (e.g., 0.3V at low duty cycle), which is normal. The absence of any voltage or a constant, unchanging voltage could indicate a wiring or ECM driver issue. A scope is required for accurate diagnosis.

Hidden / Shadow Codes Worth Checking

  • Stored Fault (Soft Code): On the M276, camshaft adjuster mechanical issues can cause a brief startup rattle and store a fault code in the ECM without illuminating the Check Engine Light. The fault may only become 'current' and trigger the light after the condition persists. (see via A professional Mercedes-Benz scanner like XENTRY or a high-end aftermarket scanner capable of reading manufacturer-specific codes is needed to see these stored faults.)

Scan Tool Commands That Help

  • XENTRY / DAS (Mercedes Dealer Tool): Camshaft Position Actuation Test — This function allows a technician to command the camshaft adjuster magnets to advance or retard the timing while monitoring the actual position reported by the camshaft position sensors. This directly tests the functionality of the magnet, oil passages, and the mechanical adjuster (phaser).
  • XENTRY / DAS (Mercedes Dealer Tool): View Camshaft Position Commanded vs. Actual — This live data parameter is crucial. While driving or at idle, the technician can compare the ECM's target camshaft angle to the actual angle. A significant deviation or a slow response from the actual value after the commanded value changes points to a problem with the magnet, oil pressure, or the adjuster itself.

Wiring & Ground Locations

  • Engine-to-Chassis Ground Strap — Typically a braided cable running from the engine block or bell housing to the vehicle's chassis/frame. On the W212, one has been identified on the driver's side bellhousing connecting to the body.. A poor engine ground can cause floating voltages and erratic behavior in sensors and actuators controlled by the ECM, potentially leading to false circuit codes.
  • W16/5 - Left Major Assembly Compartments Electronics Ground Point — This is a critical ground point for the engine computer (ECM), but its exact location is notoriously difficult to find, even in Mercedes' official service information (WIS). It is believed to be in the engine bay on the left (driver's) side of the vehicle.. Since the ECM is the source of the command signal and the component that detects the fault for P0013, a compromised ground at this specific point can directly cause this code.

Real Owner Repair Stories

  • Synthesized from multiple forum and video reports (Various 2012-2016 Mercedes models with M276 engine) — Check Engine Light with P0013, sometimes accompanied by P0010. Rough idle and hesitation.
    ❌ Tried (didn't work) Replacing only the camshaft position sensor without checking the magnet., Clearing the code without fixing the underlying issue., Replacing the magnet but not cleaning the oil out of the harness connector.
    ✅ What actually fixed it In the vast majority of cases, the fix was a combination of two actions: 1) Replacing the faulty Bank 1 exhaust camshaft adjuster magnet and 2) Installing the short sacrificial pigtail harness (A2711502733) to prevent oil from the new magnet (or a leaking sensor) from contaminating the main engine harness in the future.

OEM Part Supersession History

  • A2761560490A2761560790 — Likely an internal revision to improve reliability or address the oil leaking issue.
    Heads up: The new part number (A2761560790) is a direct replacement for the old one and should be used for all repairs.

Model Year Variations Within This Range

  • 2012-2013: Anecdotal evidence suggests the earliest M276 engines may have had a higher incidence of timing chain tensioner issues. While not directly causing P0013, a failing tensioner can accelerate wear on the entire timing system, including the adjusters that are linked to this code.

Diagnostic Flowchart

The P0013 code on the M276 engine specifically targets the Bank 1 Exhaust Camshaft Adjuster Magnet. Start by checking for oil contamination, a notorious issue for this platform.
Has the oil reached the main engine wiring harness or the ECM?
→ Clean the connector with electrical contact cleaner. Replace the leaking magnet and install sacrificial pigtail harnesses (Part No. A2711500156) to prevent future capillary action damage to the ECM.
→ This is a severe M276 issue. You must replace the magnet, the pigtail, and potentially the entire engine harness or ECM if pins are fouled. Refer to Service Campaign 2012070002.
Check the engine oil level and condition. Is the oil low, dirty, or is the service overdue?
→ The M276 VVT system is highly sensitive to oil pressure. Perform an oil and filter change using MB 229.5 spec oil. Clear codes and test drive to see if the hydraulic lag was the cause.
Perform a swap test: Move the Bank 1 Exhaust magnet to the Bank 1 Intake position. Clear codes and restart. Which code returns?
→ The fault followed the component. Replace the faulty camshaft adjuster magnet (held by three E8 Torx bolts). It is recommended to replace all four magnets as a preventative measure on the M276.
Using a multimeter, test the resistance across the two pins of the Bank 1 Exhaust solenoid. What is the reading?
Does the engine produce a metallic rattling noise for 2-5 seconds during a cold start?
→ This indicates a mechanical VVT or timing chain issue. Refer to TSB LI05.10-P-056435; you likely need updated secondary chain tensioners and check valves to maintain oil pressure.
→ The issue may be a wiring break between the magnet and the ECM or a software fault. Inspect the harness for chafing or consult a professional to test the PWM signal from the ECM.
→ The solenoid has an internal electrical failure. Replace the Bank 1 Exhaust magnet.

Other Known Issues on This Vehicle

Issues unrelated to this code that are worth knowing about as an owner of this generation:

  • Timing Chain Tensioner Rattle on Startup 🟠 Medium → Shop Engine Timing Chain — Common on earlier M276 engines (pre-2014). A rattling noise for 2-5 seconds after a cold start is the primary symptom. (Ref: TSB LI05.10-P-056435 details the fix, which involves installing updated secondary chain tensioners and retrofitting check valves to hold oil pressure.)
  • High Pressure Fuel Pump (HPFP) Failure 🟠 Medium — Can occur as early as 30,000 miles but more common at higher mileage. Symptoms include long crank times, stuttering, hesitation, and eventual power loss.
  • Oil Leaks from Front Upper Timing Covers 🟡 Low — Common issue where the sealant for the front timing covers degrades, causing oil to leak down the front of the engine, often onto the alternator ('alternator killer').
  • PCV Valve / Oil Separator Failure 🟡 Low — Can cause increased oil consumption, rough idle, and a whistling noise. A sign of early failure is oil pooling in the bottom of the air filter housing.
  • Direct Injection Carbon Buildup 🟡 Low — As with many direct injection engines, carbon can build up on intake valves over time, leading to rough idle and reduced performance. Typically becomes noticeable after 60,000+ miles.
  • Plastic Cooling System Components Leak 🟡 Low — Plastic components like the thermostat housing and various coolant flanges can become brittle and leak at higher mileage.

Used vs. New Parts: Buying Guide for This Vehicle

When a used part is the smart pick: For this specific repair, using used parts is generally not recommended. The primary failure components (magnets, sensors) are known wear items and are relatively inexpensive to buy new.

Donor-vehicle mileage cap: roughly under 70000 miles for the part to have meaningful remaining life.

What to inspect on the donor part:

  • If considering a used camshaft adjuster (phaser), verify the donor vehicle had no startup rattle.
  • For any used electronic part, inspect the connector pins for any sign of oil contamination, corrosion, or damage.

OEM-only on this vehicle (don't cheap out):

  • Sacrificial Wiring Harness (Pigtail): These are inexpensive and critical for protection; always buy OEM new.
  • Camshaft Adjuster (Phaser): Due to the high labor cost to replace, using a new OEM phaser is the safest investment to avoid repeat repairs.

Aftermarket brands forum-validated for this vehicle:

  • Camshaft Adjuster Magnet: Bosch, Pierburg (often the original OEM supplier).

Brands owners have reported issues with on this vehicle:

  • Unbranded, no-name camshaft magnets from online marketplaces are a significant risk. Failure can lead to poor performance and require the job to be done again.

Real Owner Stories

Aggregated from forums and TSBs cited above. Mileages and costs reflect what owners reported in those sources.

2012-2016 Mercedes-Benz E-Class W212 M276

Symptoms: Owner confirmed the Check Engine Light was on and sought a simple way to address camshaft-related codes.

What fixed it: Replacing all four cam adjuster magnets by removing the three E-Torx screws on each, disconnecting the connectors, and wiggling the old magnets out.

Source hint: MBWorld.org Forums: Cam magnets replacement made easy

2012-2016 Mercedes-Benz E-Class W212 M276

Symptoms: Owner was proactively checking for oil leaking into the connectors for the cam phasers (magnets) and sensors to prevent harness damage.

What fixed it: Inspection of the cam phaser/magnet and sensor connectors for oil contamination.

Source hint: MBWorld.org Forums: Checking Cam Phaser/Sensor Connectors

Frequently Asked Questions

Does TSB LI05.10-P-056435 apply to the rattling noise I hear on startup in my E-Class?
Yes, this TSB addresses rattling noises on startup for the M276 engine. It involves replacing secondary chain tensioners and installing check valves to maintain oil pressure, which is a known issue within the timing system of this vehicle.
Is there a specific part I should install to prevent oil from ruining my engine wiring harness?
Yes, Mercedes-Benz released sacrificial pigtail harnesses (Part No. A2711500156 or 2711502733) to prevent oil from traveling through the harness via capillary action. These should be installed between the magnet and the main harness.
Can I test the camshaft adjuster magnet myself before buying a new one?
Yes. You can swap the Bank 1 exhaust magnet with the Bank 1 intake magnet. If the code changes from P0013 to P0010, the magnet is faulty. You can also use a multimeter to check for a resistance reading between 8-15 ohms (or 6-12 ohms depending on the specific solenoid).
What specific oil should I use for my 2012-2016 E-Class to avoid VVT issues?
You should use Mercedes-Benz approved oil meeting the MB 229.5 specification. Using the correct viscosity and keeping the oil clean is critical because the VVT system is hydraulic and sensitive to sludge.
Is the P0013 code related to the High Pressure Fuel Pump on my M276 engine?
While P0013 specifically refers to the exhaust camshaft actuator circuit, technical discussions for the M276 note that the camshaft lobes interact with the High Pressure Fuel Pump, and specific engine positioning (40 degrees after TDC) is required during pump service to avoid pressure on the cam lobe.
Did Mercedes-Benz acknowledge the oil-in-harness issue for this engine family?
Yes, Mercedes-Benz acknowledged this issue through Service Campaign 2012070002, which addressed internal leaks in camshaft components that allowed oil to damage the electrical system.
How to Fix P0013 Code: Step-by-Step Guide
How to Fix P0013 Code: Step-by-Step Guide
How to Fix P0013 Engine Code in 4 Minutes [2 DIY Methods / Only $6.63]
How to Fix P0013 Engine Code in 4 Minutes [2 DIY Methods / Only $6.63]
Common Problems with Mercedes-Benz M276 V6 | 603 MTech Autowerks®
Common Problems with Mercedes-Benz M276 V6 | 603 MTech Autowerks®
Mercedes-Benz P0013 & P0010 - Actuator Exhaust & Intake Camshaft Bank 1 Open Circuit
Mercedes-Benz P0013 & P0010 - Actuator Exhaust & Intake Camshaft Bank 1 Open Circuit
Wrenchy
Article researched & written by
Go-Parts' AI research assistant. Every article is backed by live web research, verified OEM data, and real technician knowledge — so you get accurate, up-to-date information you can trust.
Meet Wrenchy → Updated Jun 8, 2026

The information in this article is provided for general reference and educational purposes only. Vehicle specifications, procedures, and part compatibility can vary by production date, trim level, and region. Always consult your vehicle's factory service manual and verify part numbers before purchasing or performing repairs. Safety-critical components such as airbags, seat belts, and braking systems should be installed by a qualified professional.

Year Coverage
This article covers the OBD-II Code P0013 (Deep Dive) for:
  • Mercedes-Benz E-Class: 20122013201420152016
In this article
🧭 Diagnostic Flowchart
Jump to ▴

Email This Guide

We'll send you a link to this article so you can read it later or share it.

Added to cart · Part