mypros+
Error code reference

Samsung Air Conditioner Error Code G4

Breakaway of oil temperature sensor (detected once or more times during first 30 minutes of compressor operation).

Avg. service call
$285
National average. Trip fee plus diagnostic plus labor. Before parts.
MyPros+ 3-day pass
$9.95
Same diagnostic steps, on your phone. Start now.
You keep in your pocket
~$275
Even before you buy the part.
Skip the service call. Fix it yourself.
Full procedure unlocks instantly.
Get Started

What the G4 error code actually means

Your Samsung air conditioner detected that a small temperature sensor has come loose from the compressor, which is the heart of the cooling system. This sensor needs to stay attached so the unit can monitor heat levels and protect the compressor from damage. A technician will need to reseat or reconnect the sensor to clear the issue.

Diagnostic procedure

The full G4 procedure

Step 1 is visible so you can confirm you are on the right page. The remaining steps, the ones that tell you whether to actually replace a part, unlock with any pass.

MyPros+ · DiagnosticsStep 1 preview
1
First diagnostic step
Check if oil temperature sensor is separated from compressor; reassemble.
More steps, wiring diagram references, and verified part numbers
Includes expected resistance and voltage values, connector pinouts, and supersession notes for replacement parts.
Unlock G4 procedure $9.95

Or subscribe: $29/month for unlimited access to all codes plus Max AI diagnostics.

Most common causes of G4

Ranked by how often they cause this code
  1. 1Sensor physically separated from compressor
  2. 2Loose or disconnected wiring harness connector
  3. 3Damaged sensor mounting clip or bracket
  4. 4Damaged sensor lead wiring
  5. 5Faulty oil temperature sensor

Most DIYers save hundreds by diagnosing before ordering parts.

Get Started

$29/month · Cancel anytime · Or $9.95 3-day pass

Questions people ask about G4

What does G4 mean on a Samsung air conditioner?
The G4 code indicates that the oil temperature sensor has broken away or disconnected from the compressor, and this was detected at least once during the first 30 minutes of compressor operation. The sensor monitors compressor oil temperature to protect the unit from thermal damage. Without a secure sensor connection, the system cannot safely verify compressor conditions and will flag this fault.
Is it safe to run my Samsung air conditioner while the G4 code is active?
Running the unit with an active G4 fault is not recommended. The oil temperature sensor exists specifically to protect the compressor from overheating, and without a reliable sensor reading, the control board cannot detect unsafe temperature conditions. Continued operation under this fault risks undetected thermal stress and potential compressor damage.
How much does it cost to repair a G4 error on a Samsung air conditioner?
If the sensor only needs to be reseated and no parts are required, repair costs may be limited to a service call fee, typically in the range of $75 to $150 depending on your area. If the sensor, mounting hardware, or wiring harness needs replacement, total repair costs could range from $150 to $400 or more, depending on parts availability and labor rates. Getting a diagnosis before authorizing repairs is the best way to understand the full scope of cost.
Can I fix the G4 error myself, or do I need a technician?
The first step is to check whether the oil temperature sensor has physically separated from the compressor and to reseat it if so. This is a mechanical inspection that a knowledgeable DIYer may be able to perform if they can safely access the outdoor unit and compressor. However, if the wiring is damaged or the sensor itself has failed, a technician with proper tools and replacement parts will be needed to complete the repair.
Will resetting the air conditioner clear the G4 error code?
A simple power reset is unlikely to permanently clear the G4 code because the fault is caused by a physical sensor disconnection, not a software glitch. The code will likely return once the compressor starts and the control board again detects a missing or invalid sensor signal. The underlying sensor connection issue must be resolved before the error will stay cleared.

78,000+ service manuals · 160,000+ error codes · 55+ brands

Get Started

$29/month · Cancel anytime · Or $9.95 3-day pass