We consider a carpet of self-propelled particles at the liquid-gas interface of a liquid film on a solid substrate. The particles excert an excess pressure on the interface and also move along the interface while the swimming direction performs rotational diffusion. We study the intricate influence of these self-propelled insoluble surfactants on the stability of the film surface and show that depending on the strength of in-surface rotational diffusion and the absolute value of the in-surface swimming velocity several characteristic instability modes can occur. In particular, rotational diffusion can either stabilize the film or induce instabilities of different character. The understanding of the physical principles of the motion of self-propelled particles in viscous fluids [1][2][3][4][5][6], either in the bulk or at interfaces is of primary importance for an increasing number of applications in microfluidics and medicine [7][8][9]. A particularly interesting emerging application of such swimmers are biocoatings formed using a suspension of living cells that is deposited onto a solid substrate before the solvent is removed, e.g., by evaporation. This technique is used to fabricate bacterial carpets consisting of living bacteria with rotating flagella that are attached head down to a polymer layer [10]. The created homogeneous monolayer of living cells is seen as a prototype of a novel biomaterial with remarkable applications, e.g., as artificial skin, self-cleaning coating, or biosensor [11][12][13][14][15]. Beside applications in biotechnology, free liquid-gas interfaces loaded with motile bacteria occur naturally, for example, at the sea surface [16]. Microswimmers at the interface of a thin liquid film also show interesting collective phenomena since even in a dilute suspension they interact with each other through the surface flow field initiated by gradients in the surface tension and curvatures in the height profile. In the following, we present an analysis of the stability of such thin films and demonstrate the subtle influence of in-plane swimming velocity and rotational diffusivity.The proximity of swimmers to the liquid-gas interface inevitably modifies the local surface tension, which depends on the swimmer concentration similar to passive surfactant molecules and (nano-)particles [17][18][19][20]. A gradient in the surface tension due to a non-uniform concentration generates fluid flow at the surface (solutocapillary Marangoni effect), a phenomenon well studied for passive surfactants. The impact of self-propelled surfactants, i.e., surfactants that are capable to move autonomously, on the dynamics of liquid-gas interfaces (free surfaces), has been studied only in one special case. Namely, Ref.[21] investigates a monolayer of insoluble swimmers that are adsorbed at the free surface of a liquid film and exclusively swim into the direction perpendicular to the surface. That is, they are "head up", at all times and their motion along the liquid-gas interface is as for passive particles. As a result,...