York Heat pump YHJ(D,F) / YHJR series X/L 3 flashes (at thermostat)
What it should look like on your machine
then it repeats
3 flashes - then the pattern repeats. Count along with your machine and compare.
What this problem usually means
Table 3 of Johnson Controls manual 835961-UIM-B-0412 for the YHJ(D,F)/YHJR heat pumps gives three flashes on the X/L thermostat output as 'Pressure Switch lockout - last mode of operation was defrost'. The distinction from the two-flash code is the mode the unit was in when the pressure switch lockout was earned: defrost runs the system in cooling mode with the outdoor fan stopped and auxiliary heat energized, so pressures behave differently from normal heating, and a switch trip there points at the defrost cycle, indoor airflow during defrost, or a system already marginal on charge or pressure. The lockout is the control's soft lockout: compressor de-energized, X/L energized with the code, reset by interrupting the thermostat call or shorting TEST over two seconds once corrected.
Likely causes
- Indoor airflow too low during defrost (filter, blower or coil)
- Charge or pressure problem that only trips under defrost conditions
- Defrost cycle terminating late, extending high-pressure operation
- Pressure switch or over-temperature switch failing
How to fix it — step by step
- Record the three-flash X/L code and confirm the pattern fits defrost timing (outdoor fan stopped, auxiliary heat on) before resetting anything.
- Safety first: Turn the outdoor disconnect off and switch the breaker off, then verify the unit is dead with a meter before touching wiring; treat the run capacitor as charged and discharge it safely, because it can hold a charge after power is removed.
- Replace the indoor filter, verify indoor blower operation, and remove the outdoor control-box panel to inspect the defrost control and its pressure switch circuit connections.
- Have a technician force a defrost using the TEST input (shorting it with a Y call present, per the manual's test table) and watch pressures through initiation and termination at 80 degrees F liquid line or eight minutes; a trip only in defrost separates a defrost/airflow cause from a general charge problem.
- Correct the proven cause, then reset the soft lockout as the manual directs and run a full heating plus defrost cycle to confirm it stays clear. Any refrigerant-side repair, charge adjustment or sealed-system work is EPA-certified-technician work only; do not open the refrigerant circuit yourself.
Did that fix it?
Worked through the steps? Say where you landed - it pinpoints what to do next.
Good - you're done. If it comes back, the causes at the top of this page are where to look first.
This fault usually needs a technician - but this is the part they would test first.
Then the likely broken part is the Air filter.
Also tied to this fault: Defrost sensor - Shop at Amazon
Parts that commonly fix it
- Air filter$5–$30Shop at Amazon
- Defrost sensor$25–$80Shop at Amazon
Typical ranges, checked Nov 2026. Your model’s exact part can land outside them.
What fixed yours?
Fixed this on your machine? Tap what did it - reports from owners set the percentages on this page.
Source: manufacturer / repair documentation. Codes can vary by model — confirm against your manual.
Manual & model number
Find your model number on the outdoor unit's rating plate. It's the key to the right manual pages and the right parts.