mypros+
Error code reference

Samsung Range Error Code C-d5

Door lock is mispositioned or door locking error.

Door lock is mispositioned or door locking error.

First step from the service manual

Disconnect power and check whether harness has been connected with door lock switch and motor.

The complete diagnostic procedure includes additional test steps, resistance specifications, wiring diagram references, and component test points.

MyPros+ Max

Get the full diagnostic procedure for C-d5.

  • Step-by-step tests with expected resistance, voltage, and continuity values
  • Wiring diagram references and connector pinouts from the OEM service manual
  • Verified part numbers when replacement is required
Get the full procedure

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

What C-d5 means on a Samsung range

The C-d5 error code on a Samsung range indicates a door lock fault, specifically that the door locking mechanism is either mispositioned or has failed to complete its lock or unlock cycle. This code is most commonly triggered during or after a self-clean cycle, when the oven door lock engages automatically to secure the door at high temperatures. The control board monitors the position of the door lock through a switch and motor assembly, and if the expected feedback signal is not received within a set time window, the board throws this fault to prevent unsafe operation.

The door lock system consists of a lock motor that drives a latch mechanism, and a door lock switch that signals the control board when the latch has fully engaged or disengaged. If the harness connecting these components is loose, damaged, or disconnected, the control board receives no confirmation signal and registers the C-d5 error. Mechanical binding in the latch assembly, a burned-out lock motor, or a faulty switch can all produce the same result.

Diagnosis begins with disconnecting power to the range and physically inspecting the wiring harness connections at both the door lock switch and the lock motor. Corroded pins, pulled terminals, or chafed wiring are common culprits. If the harness checks out, the next step is testing the switch for continuity and the motor for proper resistance values. A motor that does not move the latch to its full travel position will prevent the switch from actuating, keeping the error active.

Source: manufacturer service documentation.

Common causes of C-d5

  1. 01

    Loose or disconnected wiring harness

    Wiring / connection

    The harness connecting the door lock switch and motor may have come loose or become unplugged, preventing the control board from receiving any position feedback. Inspecting and reseating the connectors is the first recommended step after disconnecting power.

  2. 02

    Mechanically jammed or stuck door latch

    Part replacement

    The physical latch mechanism can become stuck in a midpoint position if debris is present or if the latch has bent or worn over time. A latch that cannot reach full travel will not actuate the position switch, keeping the error active.

  3. 03

    Failed door lock motor

    Part replacement

    The lock motor drives the latch between its locked and unlocked positions. If the motor has burned out or seized, it will not move the latch regardless of the control board's commands, triggering C-d5.

  4. 04

    Faulty door lock switch

    Part replacement

    The switch that signals the board when the latch is fully engaged can fail open, meaning it never sends a confirmation signal even if the motor is working correctly. Testing the switch for continuity will confirm whether it is functioning.

  5. 05

    Damaged wiring or corroded connector pins

    Wiring / connection

    Heat exposure over time can degrade the insulation on wires near the lock assembly or corrode the connector pins, causing intermittent or absent signals. Visually inspect wiring for chafing, melting, or discoloration at connector points.

See the test procedure for each cause

Frequently asked questions about C-d5

What does C-d5 mean on a Samsung range?
C-d5 indicates a door lock mispositioning or locking error on a Samsung range. The control board has detected that the door lock mechanism did not complete its travel to the expected locked or unlocked position. This most often surfaces during or after a self-clean cycle. The fault points to a problem with the lock motor, door lock switch, or the wiring connecting them.
Can I fix the C-d5 error myself?
Some causes of C-d5 are DIY-friendly. Disconnecting power and checking that all wiring harness connectors at the door lock switch and motor are fully seated can resolve the error if a loose connection is the cause. If the harness is intact, diagnosing the motor or switch requires a multimeter and some disassembly, which is within reach of experienced DIYers. A seized latch or failed motor will require part replacement.
Is it safe to use my Samsung range while C-d5 is displayed?
You should not attempt to run a self-clean cycle while C-d5 is active, as the door lock must function correctly to keep the oven safely sealed at cleaning temperatures. Normal cooking use may still be possible if the door closes properly, but the underlying fault should be addressed promptly to avoid the door locking unexpectedly or failing to unlock after a cycle.
Will resetting my Samsung range clear the C-d5 error?
Disconnecting power for a few minutes and restoring it may temporarily clear the code if it was triggered by a one-time glitch. However, if the root cause is a loose harness, a faulty switch, or a failed lock motor, the error will return the next time the door lock cycle is triggered. A reset alone is not a repair.
How much does it cost to repair a C-d5 error on a Samsung range?
Repair costs vary depending on the faulty component. A door lock assembly, which typically includes the motor and switch together, generally costs in the range of $30 to $100 for the part. Adding professional labor, total repair costs commonly fall between $100 and $250. If only a wiring connector needs to be reseated, the cost can be minimal if done without a service call.

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

Get Started

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