A thermocouple is a safety device that shuts off gas if the pilot light goes out

A thermocouple is a thin metal rod that sits in the pilot flame of your boiler. When the pilot light is burning, the thermocouple heats up and sends a signal to the gas valve that says "it's safe to keep the gas flowing." If the pilot light blows out, the thermocouple cools down, the signal stops, and the gas valve closes automatically. This prevents unburned gas from filling your home.

When a thermocouple fails, the pilot light will light but then go out within seconds, or won't stay lit at all. You may see the pilot flame but hear a clicking sound as the boiler tries to reignite it repeatedly. A failed thermocouple is one of the most common boiler pilot light problems, and it is one of the few repairs a homeowner can do without calling a technician—though you will need to be comfortable working with a wrench and following safety steps carefully.

Key Takeaways

  • A thermocouple is a metal rod in the pilot flame that signals the gas valve to stay open; when it fails, the pilot light won't stay lit.
  • You will need to turn off the gas at the control knob, wait for the boiler to cool, and remove the old thermocouple with a wrench before installing the new one.
  • Thermocouples are inexpensive (typically $15 to $40) and come in standard sizes; order one that matches your boiler model or take the old one to a supplier to match it.
  • If the pilot light still won't stay lit after you replace the thermocouple, the problem is likely the gas valve itself, and you should call a technician.
  • This repair takes 20 to 45 minutes and requires only basic tools: an adjustable wrench, a flashlight, and possibly a small screwdriver.

Turn off the gas and let the boiler cool completely

Before you touch anything inside the boiler, turn the gas control knob to the OFF position. This knob is usually on the front of the boiler, near the bottom, and is labeled with OFF, PILOT, and ON. Turn it all the way to OFF and wait at least 10 minutes for the boiler to cool. The thermocouple and the area around it will be hot if the pilot light has been burning.

While you wait, gather your tools: an adjustable wrench (usually 7/16 inch or 1/2 inch), a flashlight, and a new thermocouple that matches your boiler model. You can find the model number on a label on the side of the boiler. Take a photo of that label and bring it to a heating supply shop, or search online for your boiler model plus "thermocouple" to find the right part.

Locate and remove the old thermocouple

Once the boiler is cool, look inside the combustion chamber where the pilot light burns. You will see a thin metal rod (usually copper or steel) running from the pilot burner assembly up toward the gas control valve. This is the thermocouple. At the top end, it connects to the gas valve with a small nut, typically 7/16 inch or 1/2 inch. At the bottom, it sits in a small bracket or holder near the pilot flame.

Use your flashlight to see clearly. Place your wrench on the nut at the top of the thermocouple—the end connected to the gas valve—and turn it counterclockwise to loosen it. Turn slowly and steadily; these nuts are small and can strip easily. Once the nut is loose enough to turn by hand, unscrew it the rest of the way and set it aside. Gently pull the thermocouple out of its bracket at the bottom and remove it completely.

Install the new thermocouple in the same position

Take your new thermocouple and insert the bottom end into the same bracket where the old one sat. The tip of the thermocouple should sit in the pilot flame—not touching the burner itself, but close enough that the flame wraps around it. If the old thermocouple was positioned correctly, match that position exactly. If you are unsure, aim for the thermocouple to be about 1/4 inch inside the pilot flame.

Once the bottom end is seated, take the top end and thread the nut back onto the gas valve by hand first. This prevents cross-threading. Once it is hand-tight, use your wrench to tighten it firmly—snug, but not so hard that you risk cracking the fitting. The nut should be tight enough that it will not move if you try to turn it gently with the wrench, but you should not need to strain.

Test the pilot light and watch for leaks

Turn the gas control knob to PILOT. You should hear a clicking sound as the igniter tries to light the pilot. Hold the knob in the PILOT position for 30 seconds while the spark ignites the flame. Once the pilot light is burning, keep holding the knob for another 30 seconds to let the thermocouple heat up and send its signal to the valve. Then release the knob.

If the pilot light stays lit, turn the knob to ON. The main burner should ignite. If it does, your thermocouple is working. Let the boiler run for a few minutes and watch the pilot light—it should stay steady and blue. If the pilot light goes out again within a minute or two, the thermocouple may not be positioned correctly in the flame, or the new part may be faulty. Turn the gas back to OFF and reposition the thermocouple slightly, or try a different new thermocouple.

Before you close up the boiler, check the nut you just tightened for any sign of gas leaking. You can do this by mixing a small amount of dish soap with water and brushing it around the nut connection. If bubbles form, there is a leak. Turn the gas to OFF when ready and tighten the nut a bit more, then test again. If the leak persists, turn off the gas and call a technician.

When to call a professional instead

If you have replaced the thermocouple and the pilot light still will not stay lit, the problem is likely not the thermocouple itself. The gas valve may be faulty, the igniter may be weak, or there may be a blockage in the pilot line. These are jobs for a technician with a multimeter and specialized tools. Do not keep trying to light the pilot repeatedly—this wastes gas and can be unsafe.

You should also call a professional if you are not comfortable working inside the boiler, if you smell gas at any point, or if you cannot get the old thermocouple nut to loosen without risk of stripping it. A technician can do this job in 30 minutes and will also check that everything else in the pilot assembly is working correctly.

Ordering the right replacement thermocouple

Thermocouples come in standard sizes and thread types, but they are not all the same. The most common sizes are 24 inches and 30 inches long, and the nut at the top is usually 7/16 inch or 1/2 inch. The safest way to order the right one is to take the old thermocouple to a heating supply shop and ask them to match it, or to search online for your exact boiler model and "thermocouple replacement."

If you order online, check the product description for your boiler brand and model number. Thermocouples typically cost between $15 and $40, and most suppliers ship them within a few days. Some big-box hardware stores stock common sizes, but a heating supply shop is more likely to have the exact match for your boiler.

Frequently Asked Questions

How do I know if my thermocouple is bad or if it is something else?

The main sign is a pilot light that will not stay lit. If the pilot ignites but goes out within 10 to 30 seconds, or if it lights and then goes out repeatedly, the thermocouple is the most likely culprit. If the pilot will not light at all, the problem is usually the igniter or the pilot gas line. A thermocouple failure is almost always "lights, then dies."

Can I clean a thermocouple instead of replacing it?

You can try. If the thermocouple is covered in soot or carbon buildup, gently wipe it with a soft cloth or very fine steel wool. But if cleaning does not fix the problem, the thermocouple has likely failed internally and must be replaced. Thermocouples are cheap enough that replacement is usually the faster solution.

What if the new thermocouple is too long or too short for the bracket?

This usually means you ordered the wrong size. Check the product description against your boiler model and order the correct length. If you bought it in person, return it and ask the shop to match the old one again. Do not try to bend or cut a thermocouple to fit—this can damage it and make it unsafe.

Do I need to bleed air out of the gas line after replacing the thermocouple?

No. The thermocouple is a sensing device, not part of the gas flow itself. Replacing it does not introduce air into the line. straightforward turn the gas back on and light the pilot as normal.

How often do thermocouples need to be replaced?

A thermocouple typically lasts 5 to 10 years, depending on how often the boiler runs and the quality of the part. If you live in an area with hard water or high mineral content in the air, thermocouples may fail sooner. There is no set maintenance schedule—you replace it only when it fails.