What a solenoid does and why it fails

A solenoid is an electromagnet that switches electrical current on and off to control mechanical movement. In a washing machine, it opens and closes water inlet valves. In a car starter, it engages the starter motor. In a dishwasher, it controls the detergent dispenser. When a solenoid fails, the part it controls stops working—your washer won't fill, your car won't start, or your dishwasher won't dispense soap.

Solenoids fail because the coil inside burns out from repeated electrical cycling, the plunger gets stuck from mineral buildup or corrosion, or the internal spring breaks. Most last five to ten years depending on how often the appliance runs. Replacement is usually cheaper than repair, and the part itself costs between $15 and $150 depending on the appliance.

Key Takeaways

  • Unplug the appliance or disconnect the negative battery terminal before you start, because solenoids carry electrical current and touching live wires can cause injury.
  • Take a photo of the wire connections before you remove the old solenoid so you can reconnect the new one in the same way.
  • Most solenoids bolt or clip into place and take between 10 and 30 minutes to swap out once you reach them.
  • Buy the exact replacement part for your model number rather than a generic solenoid, because voltage and connector type vary widely.
  • Test the appliance or vehicle after installation to confirm the solenoid is working before you reassemble any panels or covers.

Finding the solenoid and getting to it

The location depends on what you are repairing. In a washing machine, solenoids sit behind the front or back panel near the water inlet valves. In a dishwasher, they are usually under the tub near the detergent dispenser or water inlet. In a car, the starter solenoid is bolted to the starter motor itself, mounted on the engine block near the battery. In a dryer, the solenoid controls the gas valve and sits inside the burner assembly.

Start by consulting the manual for your specific model—it will show you exactly where the solenoid is and which panels you need to remove. If you do not have the manual, search online for "[brand] [model number] solenoid location" or "[brand] [model number] parts diagram." Take photos as you remove each panel so you can put them back in the right order.

Before you touch anything, unplug the appliance from the wall outlet or disconnect the negative battery terminal on a vehicle. Wait five minutes to let any stored electrical charge drain. This step is not optional—solenoids hold electrical current and can shock you or cause a short circuit if you work on them while power is connected.

Removing the old solenoid

Once you can see the solenoid, take a clear photo of how the wires connect to it. Most solenoids have two or three wire terminals, and putting them back in the wrong order will prevent the part from working. If the wires are held on with small metal clips, gently pry them off with a flat screwdriver. If they are soldered on, you will need a soldering iron to heat the joint and pull the wire free—if you do not have one, a repair shop can do this step for you.

Next, locate the bolts or clips holding the solenoid in place. Most are secured with one or two bolts that you can remove with a socket wrench or screwdriver. Some solenoids slide into a clip or bracket and straightforward pull straight out. Once the fasteners are loose, gently wiggle the solenoid side to side as you pull it away from its mounting point. If it is stuck, spray a small amount of penetrating oil around the edges and wait ten minutes before trying again.

Set the old solenoid aside. Do not throw it away yet—you may need to reference it if the new one does not fit or if you forget which wire goes where.

Installing the new solenoid

Before you install the replacement, check that the part number on the box matches your appliance or vehicle model number. A solenoid designed for a different voltage or connector type will not work and may damage the electrical system. If the numbers do not match, contact the seller or manufacturer to confirm you have the right part.

Slide the new solenoid into the same mounting position as the old one. Align the bolt holes or clip slots and hand-tighten the fasteners first—do not use full force yet. This lets you adjust the solenoid slightly if the wire terminals do not line up with the connector points. Once everything is aligned, tighten the bolts firmly with your wrench or screwdriver. The solenoid should not move or rattle when you try to wiggle it.

Now reconnect the wires. Use your photo as a guide and attach each wire to the same terminal it came from on the old solenoid. If the wires have crimp connectors, slide them onto the terminals and push until they click. If you need to solder them, heat the terminal with your soldering iron for two to three seconds, touch the solder to the joint until it melts and flows, then remove the iron and let the joint cool for five seconds before moving the wire. A good solder joint looks shiny and smooth, not dull or lumpy.

Testing before you close it up

Before you reassemble any panels or covers, restore power to the appliance or vehicle. Plug it back in or reconnect the battery terminal. Do not run a full cycle yet—just test the solenoid in isolation to make sure it responds.

For a washing machine, turn the dial to the fill cycle and listen for a clicking sound from the solenoid as water begins to flow. For a dishwasher, press the start button and watch the detergent dispenser to see if it opens during the wash cycle. For a car, turn the key to the start position and listen for the starter motor to engage. For a dryer, turn it on and feel for heat after 30 seconds. If the solenoid clicks or the part it controls moves, the installation is successful. If nothing happens, turn off the power, check that all wire connections are tight, and verify the part number one more time.

Once you confirm the solenoid is working, you can reassemble the panels and covers in reverse order. Tighten all fasteners and test the appliance or vehicle through a full cycle to make sure everything works as expected.

Common mistakes that prevent solenoids from working

The most frequent error is reversing the wire connections. Unlike some electrical components, solenoids are polarity-sensitive—connecting positive and negative backwards will prevent them from functioning. This is why taking a photo before removal is so important. If you have already reversed the wires, straightforward swap them back and test again.

The second mistake is installing a solenoid with the wrong voltage. A 120-volt solenoid will not work on a 24-volt circuit, and trying to force it can burn out the coil when ready. Always check the voltage rating printed on the solenoid body and compare it to the voltage of your appliance or vehicle system.

The third is leaving air trapped in a water valve solenoid. If you are replacing a solenoid that controls water flow, turn on the water supply and let it run for 10 to 15 seconds after installation to push out any air bubbles. Air pockets can prevent the valve from opening fully.

When to call a professional instead

If the solenoid is soldered in place and you do not have a soldering iron, a repair shop can remove and install it for you in under an hour. If the solenoid is buried deep inside the appliance and requires removing multiple panels, the labor cost may exceed the cost of the part itself—in that case, a technician's time might be worth it.

If you test the new solenoid and it still does not work, the problem may not be the solenoid itself. A burned-out control board, a broken wire in the circuit, or a failed switch can all prevent a solenoid from receiving power. A technician can use a multimeter to test the electrical circuit and identify the real cause.

Frequently Asked Questions

Can I replace a solenoid without unplugging the appliance?

No. Solenoids carry electrical current and can shock you or cause a short circuit if you work on them while power is connected. Always unplug the appliance or disconnect the battery before you start. Wait five minutes to let any stored charge drain.

What if I cannot remember which wire goes where?

This is why taking a photo before removal is essential. If you forgot to take one, look at the old solenoid and see if the wire terminals are labeled with + and − symbols or numbers. If they are, match those labels on the new solenoid. If not, contact the manufacturer with your model number and ask for a wiring diagram.

How do I know if I bought the right solenoid?

Check that the part number on the box matches your appliance or vehicle model number. The voltage rating printed on the solenoid body should also match the voltage of your system—usually 12 volts for cars, 24 volts for some appliances, and 120 volts for household machines. If the numbers do not match, you have the wrong part.

Why is my new solenoid clicking but not working?

A clicking sound means the solenoid is receiving power and the coil is energizing, but the plunger or valve may be stuck. Try tapping the solenoid gently with a rubber mallet to free up the plunger. If that does not work, the replacement part may be defective and should be exchanged.

How long does a solenoid replacement usually take?

Once you reach the solenoid, the swap usually takes 10 to 30 minutes depending on how many wires are connected and whether they are bolted or soldered. The hardest part is often getting to the solenoid in the first place, which can take an hour or more if you have to remove multiple panels.