Hierarchical antibacterial surface was constructed via living SI-PIMP. Antifouling and bactericidal functions were integrated in a hierarchical surface. The pQAC layer was facilely adjusted to optimize the final performance. Optimized hierarchical surface showed long-lasting antibacterial performance.