Encountering an error code on your pool heater can instantly turn a relaxing afternoon into a frustrating puzzle. If your Pentair heater displays the code R13, it specifically points to a problem with the stack flue sensor circuit. This sensor plays a critical role in monitoring the exhaust temperature to ensure your heater operates safely and efficiently. Ignoring this code can lead to inefficient heating, costly repairs, or even dangerous operating conditions. Understanding exactly what R13 means and how to address it will help you restore comfort to your pool while protecting your equipment.

Pentair heaters, including popular models like the MasterTemp and Max-E-Therm, are equipped with sophisticated diagnostic systems. The R13 error is not a random glitch; it is a deliberate signal that the control board has detected an open circuit or abnormal reading from the stack flue sensor. While this may sound intimidating, many causes are straightforward to diagnose and resolve. This guide will walk you through the mechanics of the error, step-by-step troubleshooting, and the best repair options to get your heater back online.

The Mechanics Behind Pentair Heater Error Code R13
To effectively resolve the R13 error, you first need to understand the component at the heart of the issue: the stack flue sensor. This small but vital device is mounted near the exhaust outlet of your heater. Its primary job is to measure the temperature of the combustion gases leaving the unit. The control board relies on this data to regulate the heating process and shut down the system if temperatures exceed safe limits. When the sensor circuit opens, the board loses its ability to monitor flue temperature, triggering the R13 code as a protective measure.
![Hayward Pool Heater Error Codes [Full List + Reasons + Solutions] - FireplaceHubs](https://i.pinimg.com/originals/d0/4f/c0/d04fc000a01dbb1dfcd1a1d8cb6b85be.webp)
The stack flue sensor is a thermistor, meaning its electrical resistance changes predictably with temperature. At room temperature, it has a specific resistance value, and as the flue gases heat up, that resistance decreases. The control board interprets these changes to determine if the heater is running normally. An open circuit means the board sees infinite resistance, which is impossible under normal operating conditions. This immediately flags an error and prevents the heater from firing, avoiding potential overheating or component damage.
What the Stack Flue Sensor Monitors
![Sta Rite Pool Heater Error Codes [13 Easy Solutions] - FireplaceHubs](https://i.pinimg.com/originals/8f/3a/88/8f3a884f3c8bfa3275bd3f62d2566605.jpg)
Specifically, the sensor monitors the temperature of the exhaust gases that exit through the flue. These gases are a byproduct of combustion, and their temperature provides clues about the heater's efficiency and safety. If the flue temperature is too low, it might indicate improper combustion or a blocked vent. If it is too high, it could signal a restricted airflow, a failing blower, or a heat exchanger issue. The sensor continuously feeds this data to the control board, which adjusts the gas valve and blower accordingly.
Normal flue temperatures for a Pentair heater typically range between 300°F and 500°F, depending on the model and operating conditions. The sensor's resistance curve is programmed into the board's firmware. For example, at 77°F, the resistance might be around 10,000 ohms, dropping to roughly 1,000 ohms at 300°F. Any reading outside the expected range for a given temperature, or an open circuit, will trigger a fault code like R13. This is why a faulty sensor or a broken wire can mimic a dangerous overheating condition.
Why an Open Circuit Triggers R13

An open circuit means the electrical path through the sensor is broken. This can happen for several reasons: a corroded connector, a broken wire, or a failed sensor element. When the control board attempts to read the sensor, it receives no signal at all, which it interprets as an open circuit. Because the board cannot verify the flue temperature, it cannot safely operate the heater. The R13 code is essentially the board's way of saying, "I cannot see the flue temperature, so I am shutting down to prevent an unsafe condition."
Common culprits include insect nests or debris blocking the sensor's sensing element, which can cause it to overheat and fail open. Corrosion from moisture and chemical exposure is another frequent cause, especially in outdoor installations. Loose or damaged wiring between the sensor and the control board can also create an open circuit. In some cases, the sensor itself may simply wear out after years of exposure to extreme heat cycles. Identifying the exact cause requires a systematic approach, starting with a visual inspection and followed by electrical testing.
Diagnosing the R13 Error on Your Pentair Heater
![Monitor Heater Error Codes [Reasons + Solutions] - FireplaceHubs](https://i.pinimg.com/originals/4d/a6/e5/4da6e51772ae9b83b41bdf80bb15fbc9.webp)
Before you begin any diagnostic work, safety must be your top priority. Always turn off the electrical power to the heater at the circuit breaker and shut off the gas supply. The heater can be hot, so allow it to cool completely before touching any components. You will need a few basic tools: a multimeter capable of measuring resistance, a screwdriver set, and possibly a wire brush for cleaning connections. A copy of your heater's wiring diagram, usually found inside the access panel, will be invaluable for locating the sensor and its connector.
The diagnostic process involves checking the sensor itself, the wiring harness, and the control board. Start with the simplest and most likely causes. Often, the issue is a loose connection or a dirty sensor rather than a failed component. By methodically testing each part of the circuit, you can pinpoint the fault without replacing unnecessary parts. Remember to take photos of the wiring before disconnecting anything, so you can reassemble it correctly.




![Noritz Tankless Water Heater Error Codes [A Complete List]](https://i.pinimg.com/originals/be/25/1d/be251d746e7249a97f7a93190e4189a6.webp)
![Pentair Pool Heater Display Not Working [5 Easy Solutions] - FireplaceHubs](https://i.pinimg.com/originals/d6/ac/2e/d6ac2ee84ac0b55b8550d79635aa33fe.webp)




Initial Safety Checks and Visual Inspection
Once the power and gas are off and the heater is cool, remove the access panels to expose the stack flue sensor. It is typically located near the top of the heater, protruding into the exhaust flue. Inspect the sensor for any obvious signs of damage: cracked ceramic insulation, burned or melted wires, or heavy corrosion. Look for debris such as leaves, insect nests, or soot that might be covering the sensor tip. A dirty sensor can sometimes cause erratic readings, but a completely blocked sensor often leads to an open circuit due to overheating.
Check the wiring harness that connects the sensor to the control board. Look for any pinched, frayed, or disconnected wires. Pay close attention to the connector itself; corrosion or loose pins are common. If you see any moisture inside the connector, dry it out and apply a dielectric grease to prevent future corrosion. Sometimes, simply reseating the connector can restore the circuit and clear the R13 error. If the visual inspection reveals no obvious issues, proceed to electrical testing.
Testing the Stack Flue Sensor with a Multimeter
To test the sensor, disconnect its wiring connector from the control board. Set your multimeter to the resistance (ohms) setting. Touch the probes to the two terminals inside the sensor's connector. You should get a reading that corresponds to the current ambient temperature. For most Pentair sensors, at around 70-80°F, the resistance should be in the range of 8,000 to 12,000 ohms. If the multimeter displays "OL" (over limit) or infinite resistance, the sensor is open and must be replaced. If the reading is significantly out of range, the sensor is likely faulty.
It is also wise to check the resistance between each terminal and the sensor body (ground). There should be no continuity; if there is, the sensor is shorted internally. If the sensor passes these tests, the problem may lie in the wiring between the sensor and the board. Use your multimeter to check for continuity on each wire of the harness. A broken wire will show infinite resistance. If the wiring is intact, the control board itself may be faulty, though this is less common. Always rule out the sensor and wiring before condemning the board.
Repairing and Preventing Future R13 Errors
Once you have confirmed that the stack flue sensor or its wiring is the cause of the R13 error, you can proceed with repairs. If the sensor is faulty, replacement is the only reliable fix. If the wiring is damaged, you may be able to repair it with a new connector or splice, but it is often best to replace the entire harness to ensure long-term reliability. For minor issues like corrosion, cleaning the connector and applying dielectric grease may be sufficient, but you should still verify the sensor's resistance to ensure it is within specification.
Preventative maintenance is key to avoiding future R13 errors. Schedule an annual inspection of your heater, focusing on the flue sensor and its connections. Keep the area around the heater clean and free of debris, and ensure that insects cannot nest in the exhaust vent. During the off-season, cover the heater to protect it from moisture and pests. These simple steps can extend the life of your sensor and prevent inconvenient breakdowns when you need your pool the most.
Replacing the Stack Flue Sensor
Replacing the sensor is a relatively straightforward task for a handy homeowner. Start by ordering the correct replacement part for your specific Pentair model; part numbers vary, so consult your manual or a reputable dealer. With the power and gas off, disconnect the old sensor's wiring connector. Use a wrench to unscrew the sensor from its mounting port. Be careful not to damage the threads. Apply a small amount of thread sealant to the new sensor's threads, then screw it in hand-tight and snug it with a wrench. Do not overtighten, as this can crack the sensor or the port.
Reconnect the wiring harness to the new sensor, ensuring the connector clicks securely into place. Double-check that the wires are routed away from hot surfaces. Restore power and gas, then turn on the heater. Monitor the display for any error codes. If the R13 code is gone and the heater fires normally, the repair is successful. If the code persists, recheck the wiring and connections. In rare cases, a new sensor may be defective, or the control board may require resetting or replacement.
When to Seek Professional Help
While many R13 errors can be resolved with DIY troubleshooting, there are situations where calling a professional is the wiser choice. If you are uncomfortable working with electrical components or gas appliances, do not attempt repairs yourself. Similarly, if you have replaced the sensor and checked all wiring but the error persists, the issue may be a faulty control board or a deeper electrical problem. A qualified technician has the tools and expertise to diagnose complex issues safely and efficiently. They can also ensure that your heater meets all safety and warranty requirements.
Professional service is also recommended if your heater is still under warranty. Attempting DIY repairs may void the warranty, leaving you responsible for costly parts. A licensed technician will use genuine Pentair parts and follow proper procedures, giving you peace of mind. Moreover, they can perform a comprehensive inspection of your entire heating system, identifying potential problems before they lead to another error code. Investing in professional maintenance can save you time, money, and stress in the long run.
With the right approach, the R13 error on your Pentair heater is a manageable issue that often boils down to a simple sensor or connection fix. By understanding the role of the stack flue sensor and following a logical diagnostic path, you can restore your heater's performance and enjoy a warm pool again. Keep an eye on your heater's display and address any error codes promptly. A little attention now will keep your pool season running smoothly for years to come.