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 →
🛍️ Shop This Part

Pontiac G5 2007-2010 Engine Camshaft Position Sensor Replacement Guide

Fix your G5's stalling, rough idle, or starting problems by understanding its camshaft position sensors.

4 minutes to read 2007-2010 Pontiac G5
Difficulty
1/5
Est. Time
0.5 hrs
DIY Doable?
✅ Yes
Shop Labor
$60-$90
⚠️ Drivable, but... — Driving is possible, but not recommended, as the vehicle could stall at any time, increasing the risk of a crash.
Key Takeaways
  • Your 2007-2010 Pontiac G5 has two camshaft position sensors (intake and exhaust) that often fail, causing stalling and rough idling.
  • Replacement is very easy for a DIYer, requiring only a 10mm socket and about 30 minutes.
  • While codes P0340/P0341 usually mean a bad sensor, you should also check the wiring and connector.
  • For best results, use a premium aftermarket brand like ACDelco, Delphi, or Standard Ignition and consider replacing both sensors at once.
Your Pontiac G5's engine has two camshaft position sensors, one for the intake camshaft and one for the exhaust. These sensors read the position of each camshaft and send that information to the engine's main computer, the ECM. The computer uses this data, along with information from the crankshaft sensor, to control engine timing for fuel injection and spark. This ensures your engine runs efficiently and makes proper power. When a sensor fails, the computer gets incorrect data, leading to engine problems.

Is Your Pontiac G5 Stalling or Running Rough?

A failing camshaft position sensor is a common issue on the 2007-2010 Pontiac G5. These sensors tell your engine's computer when to fire the spark plugs and inject fuel. When one goes bad, your car might have trouble starting, stall unexpectedly, or run poorly. This guide will help you choose the right aftermarket replacement for your G5.

Symptoms of a Failing Camshaft Position Sensor

The signs of a bad camshaft sensor can range from annoying to serious. The most common symptom is the Check Engine Light coming on. You might also experience:

  • Engine Stalling: The engine may shut off while idling or driving.
  • Hard Starting: The car may take longer than usual to start, or it might not start at all.
  • Rough Idle: The engine may shake or 'chug' when the car is stopped.
  • Poor Acceleration: You might notice a loss of power when you press the gas pedal.
  • Reduced Fuel Economy: A bad sensor can cause the engine to use more gas than normal.
Check Engine Light Codes: P0340 & P0341
A check engine light with codes P0340 or P0341 often points to a problem with the camshaft position sensor circuit. However, these codes don't automatically mean the sensor is bad. The problem could also be damaged wiring, a bad connection, or even a stretched timing chain. Always inspect the wiring and connector before replacing the part.

Choosing the Right Aftermarket Sensor

Not all aftermarket sensors are created equal. For a critical part like this, quality matters. Here’s a breakdown of the brands available, grouped into tiers based on reputation for GM vehicles.

Tier 1: OEM & Premium Aftermarket

These brands are either the original equipment manufacturer (OEM) or have a long-standing reputation for quality that meets or exceeds OEM standards. They are the most reliable choice.

  • ACDelco: As GM's own parts brand, this is often the exact same part that your car was built with. It's the benchmark for quality and fit.
  • Delphi: Delphi was originally a part of GM and a major OEM supplier. Their sensors are widely considered to be of the same quality as ACDelco.
  • Standard Ignition (SMP): A highly respected aftermarket brand known for producing reliable electronic parts and sensors for over 100 years.

Tier 2: Quality Aftermarket

These brands offer a good balance of price and quality. They are a solid choice for most repairs.

  • Dorman: Dorman is known for making a huge variety of aftermarket parts. While some products get mixed reviews, their sensors are generally a reliable and cost-effective solution.
  • Hitachi: A well-known manufacturer of electronic components, Hitachi sensors are a dependable option.
  • NGK: While famous for spark plugs, NGK also produces a line of high-quality sensors.
  • Walker Products: A long-time manufacturer of fuel and engine management components with a solid reputation.

Tier 3: Value Brands

These brands focus on providing the most affordable options. They can be a good choice for budget-conscious repairs, but may not have the same longevity as premium brands.

  • Global Parts
  • Holstein
  • Prenco
  • Spectra
  • True Tech
  • URO Parts
Pro Tip: Replace in Pairs
Your Pontiac G5 has two camshaft position sensors (intake and exhaust). If one has failed due to age and mileage, the other is likely not far behind. To save yourself from doing the job twice, it's a good practice to replace both sensors at the same time.

Cost of Replacing Pontiac G5 Camshaft Position Sensors

The replacement cost depends on whether you do it yourself or go to a repair shop. The job is very easy and accessible, making it a great DIY task.

Part / ServiceEstimated Cost
New OEM Sensor (Each)$40 - $95
New Aftermarket Sensor (Each)$24 - $68
Shop Labor$60 - $90
Total DIY Cost (2 Aftermarket Sensors)$48 - $136
Total Shop Cost (2 Aftermarket Sensors)$108 - $226

Frequently Asked Questions

How many camshaft sensors does my 2007-2010 G5 have?

Your Pontiac G5 has two camshaft position sensors. One is for the intake camshaft and the other is for the exhaust camshaft. They are separate parts.

Where are the camshaft sensors located?

Both sensors are located on the passenger side of the engine, on the end of the cylinder head. You can access them by removing the plastic engine cover. Each sensor is held in by a single 10mm bolt.

Is this a difficult job to do myself?

No, this is considered a very easy repair. Basic hand tools (a ratchet and 10mm socket) are all that's needed. The entire job for both sensors can be done in under 30 minutes.

What happens if I don't replace a bad sensor?

You should not ignore a failing camshaft position sensor. The problem will likely get worse, leading to more frequent stalling, which can be dangerous while driving. It can also cause damage to other components, like the catalytic converter, over time.

Do I need to reset the computer after replacing the sensor?

After replacing the sensor(s), the check engine light should turn off on its own after a few drive cycles. You can also clear the code immediately with a basic OBD-II scan tool or by disconnecting the battery for about 15 minutes.

Technical Specifications

OEM Part Numbers: 12577245 12674704

The 2.2L and 2.4L Ecotec engines in the 2007-2010 Pontiac G5 use two separate 3-pin camshaft position sensors, one for the intake cam and one for the exhaust cam.

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 Apr 19, 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 Engine Camshaft Position Sensor for:
  • Pontiac G5: 2007200820092010
In this article
🛍️ Shop This Part
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