When the atomic layers in a non-centrosymmetric van der Waals structure slide against each other, the interfacial charge transfer results in a reversal of the structure's spontaneous polarization. This phenomenon is known as sliding ferroelectricity and it is markedly different from conventional ferroelectric switching mechanisms relying on ion displacement. Here, we present layer dependence as a new dimension to control sliding ferroelectricity. By fabricating 3 R MoS