Mercedes Benz Camshaft Magnet Sensor Replacement: Steps
6 min read · by Nicole Bennett · Last updated: November 14, 2026
A mercedes benz camshaft magnet sensor replacement usually means the camshaft adjuster magnet, which is a solenoid, not the position sensor. Read the exact code before you order anything.
This is a longer job than most engine repairs. Expect power steering fluid to be drained, tight bolt access, and new O-rings on both camshafts.
Camshaft magnet versus camshaft position sensor
The camshaft adjuster magnet is a solenoid that controls cam timing, while the camshaft position sensor only reports where the cam is. For a position sensor job on another brand, see Kia camshaft position sensor replacement.
The engine computer signals the magnet, which changes oil flow to the cam adjuster. The position sensor sits separately and sends its reading back to the computer. To find the engine code on your car, see Mercedes Benz engine code location.
The M272 was the first Mercedes engine with continuous variable valve timing on both camshafts, with each able to vary through 40 degrees. Wikipedia’s M272 engine article describes that system in detail.
Symptoms of a failing cam adjuster magnet
A failing cam adjuster magnet often sets P0015 or related cam correlation codes, along with rough idle or weak power.
Repair guides for these engines list these common signs:

- The check engine light is on, often with P0015 for bank 1.
- For M272 and M273 engines, codes P0011, P0012, P0014, and P0015 may appear.
- The idle is rough, the engine stalls, or power drops off.
- The car stumbles, accelerates slowly, or will not start.
- Fuel economy is poor.
Sludge from long oil intervals, short trips, or the wrong oil is a common cause of these failures. Check the oil history before you blame the magnet alone.
Confirm the code and check for sludge first
Confirm the exact code and clean the magnet before you replace it, since sludge and oil quality are common causes. For reading the codes, see Mercedes Benz trouble codes guide.
On M272 and M273 engines, balance shaft or timing gear wear can produce similar cam correlation codes. The M272 article describes balance shaft gear wear on engines sold around 2004 to 2007, so the code matters more than the symptom.
Try cleaning the magnet and checking its connector for oil before you buy a part. Changing the oil and filter during the repair is the advised step.
A scan with live cam position data for both banks shows which side is out of range, so you can confirm the bank before opening the engine.
A common mistake is replacing the magnet without fixing the oil. A new magnet can fail for the same reason the old one did.
Replacement steps for the cam adjuster magnets
Replacing the magnets takes E-8 wrench tools, a quarter-inch wrench, flat-head screwdrivers, and new O-rings for each side. Work on a cool engine with the hood open.
The driver side is harder to reach than the passenger side, so give yourself extra time on that bank.
Keep the bolts sorted by side and by position as you remove them. Mixed bolts can seat unevenly, and the guide warns that aluminum housings strip easily.

- Drain the power steering fluid and remove the reservoir.
- Remove the exhaust cam magnet bolts, disconnect its connector, and pry out the unit.
- Replace the O-ring, lubricate the new magnet, and install it with the bolts fitted evenly.
- Reconnect the exhaust cam magnet connector.
- Remove the exhaust cam position sensor, held by two bolts, to reach the intake side.
- Disconnect and move the intake cam position sensor, then remove its bolt.
- Remove the two exposed intake magnet bolts and the hidden bolt behind the oil cooler.
- Pry out the intake magnet and its O-ring, then fit the new magnet and O-ring.
- Start all retaining bolts, tighten the accessible ones, and set the last one by hand before using the wrench.
- Reinstall the exhaust and intake cam position sensors and their connectors.
Each O-ring is single use. A reused seal can leak oil onto the exhaust and cause smoke, and an old O-ring stuck in the bore can leave a magnet that sits flush and leaks.
The YOUCANIC Mercedes magnet guide lists 8 Nm for the solenoid bolts but calls that figure unusually low. Check the official service data before torquing, and never tighten the aluminum housing by feel.
Models and years that use this part
The application list in the repair guide covers roughly 2005 to 2015 Mercedes models, including C, E, CLK, CLS, S, SL, ML, and GL classes.
The M272 article lists 3.0 and 3.5 liter applications across several models from about 2005 to 2013, so the engine code matters as much as the model name. Check the full list for your exact trim and year.
When to see a shop instead
Call a shop if the code points to timing gears or balance shaft wear, if you find metal debris in the oil, or if a bolt will not turn without damage.
The check engine light may return after a magnet swap if the oil or the timing components are at fault. Read the codes again after a short drive before you assume the repair is finished.
A shop with Mercedes specialty tools can confirm torque and bolt access quickly, which matters on this job. That cost can be worth it if the engine has a timing or oil fault.
Frequently Asked Questions
Can I drive with a camshaft magnet code?
Short trips may be possible, but rough idle, power loss, and a no-start can occur. Get the code read soon, and avoid hard acceleration until the cam timing is checked.
Is camshaft magnet replacement a DIY job?
It is demanding for a home garage. It needs specialty E-8 tools, careful torque, and patience with tight bolt access, so many owners choose a shop.
Is the magnet or the position sensor the failed part?
The magnet is the adjuster solenoid, while the position sensor only reports cam position. Read the exact code and check the oil before choosing which part to replace.
Will clearing the code fix the light?
No. Clearing the code removes only the stored fault. If the magnet, oil, or timing parts are still faulty, the check engine light returns after the next drive cycle.
-
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
LearnMercedes Benz Parking Brake Pad Replacement: Service Mode Steps
LearnMercedes Check Engine Oil Message: What It Means and What to Do
LearnMercedes M278 Engine Oil Change: Oil, Filter and Reset
LearnMercedes Benz 20T Ignition Coil Replacement for M274 and M270
LearnMercedes Benz Steering Angle Sensor Calibration: Routine and Scan Steps
LearnP0153 Toyota: Diagnose Bank 2 Sensor 1 and Avoid Unnecessary Repairs