The influence of material surface microstructure on interface properties is crucial for the preparation and development of special functional materials. In this paper, polydimethylsiloxane‐based superhydrophobic surfaces of varying roughness and surface energy are prepared using the template method and a spraying technique, and the effect of surface microstructure on lateral friction is studied using a lateral friction detection system. The experimental results indicate that as the surface roughness of a sample decreases, it is observed that the water droplets transition from a Cassie state to a Wenzel state. When the roughness changes from 4.619 μm, reduce to 3.512 μm, the maximum static friction force increases from 33.59 μN increased to 51.52 μN. The lateral sliding friction force ranges from 15.87 ± 1.9 μN increases to 40.91 ± 1.2 μN. For a given surface roughness, when the surface energy is reduced, the water droplets on the surface can be seen to transition from a Wenzel state to a Cassie state, the maximum static friction force increases from 19.32 μN dropped to 9.23 μN, and the lateral sliding friction force increases from 15.26 ± 1.6 μN dropped to 3.47 ± 2.1 μN. However, this behavior is distinct from that observed when changing the roughness of the sample. Studying the influence of the surface microstructure on the lateral friction force observed at a solid–liquid interface can provide important insights into novel geometries that may be used in new, advanced functional surfaces.