Our findings highlighted HA-P5 as an optimized FGFR2 inhibitor for acne treatment and uncovered a potential mechanism by which FGFR2 regulates AR signalling. Here, FGFR2 is linked to acne.