An automated method for the analysis of methylparaben, propylparaben, benzophenone‐3, and benzophenone‐4 in water effluents via on‐line solid‐phase extraction coupled with high‐performance liquid chromatography/ultraviolet detection was proposed. The preconcentration parameters were studied using Plackett‐Burman and Box‐Behnken experimental designs using a C18 sorbent material. The results demonstrated that the eluent volume, composition, and sorbent amount were statistically significant. Optimal conditions for these variables were an eluent volume of 1.55 mL, eluent composition of acetonitrile 100% v/v, and sorbent amount of 100 mg. The eluted sample was analyzed on‐line using high‐performance liquid chromatography equipped with a reversed‐phase C18 column and ultraviolet detection. Separation of the analytes was achieved in 15 min using gradient elution with acetonitrile/water. A simple, sensitive, and rapid analytical method was proposed for personal care compounds without sophisticated or expensive equipment. The limits of detection were 1.20, 1.73, 2.51, and 4.67 μg/L for propylparaben, methylparaben, benzophenone‐3, and benzophenone‐4, respectively. The analysis time was 48 min, consuming only 1.59 mL of eluent acetonitrile for the solid phase extraction step, with minimal sample handling. The method was applied to the analysis of spiked swimming pool and wastewater, with recoveries between 65–107%. These results indicate the reliability of the flow‐based procedure.