The pump doesn’t have to be on for 24 hours, but how long does a swimming pool need? As with all other equipment in your pool, the answer may depend on a number of factors such as the size of your pool, the capacity of your pump, how often the pool is used, and how much debris goes into the pool.
However, there are some general rules you can follow to keep your swimming pool pump running as long as necessary. All such information can be found at the manufacturer or in the instruction manual of the equipment.