The filter is doing more than cleaning air
A dirty filter chokes the airflow across the evaporator coil. Starved of airflow, that coil can get cold enough to ice over, and once it's coated in ice it stops absorbing heat at all. A system can run for hours like that and cool nothing. Checking the filter is the cheapest thing that protects everything downstream of it.




