With the rapid development of detection technology, aircraft face growing threats from various detectors covering visible to infrared light. Therefore, aircraft must be equipped with the ability of compatible stealth. The emergency of the metasurface provides a promising method to realize this purpose. On this basis, in this work, a composite periodic metasurface is proposed by employing the type of metal-insulator-metal (MIM) structure for compatible infrared and laser stealth. In one unit cell, different dimensions of patterns are used to give rise to magnetic polaritons (MPs) at specific wavelengths. Through overall optimization of parameters of single periodic structures and the internal mechanisms in composite structures, appropriate parameters and arrangements are selected to obtain the required spectral features from laser to mid-infrared wavelengths. The simulated results demonstrate that the absorption at 1.06 μm can be over 70% and the absorption peaks in the region of 5∼8 μm are over 74%. High absorption at 1.06 μm is suitable for laser stealth, and the ability of high-performance infrared stealth comes with the advantages of low emissivity at the atmosphere windows and radiative cooling at the non-atmosphere window. This design is easy to fabricate and has a promising perspective for various compatible stealth and many other applications.