The high-temperature corrosion behaviors of the equimolar CrCoNi medium-entropy alloy and CrMnFeCoNi high-entropy alloy were studied in a gas atmosphere consisting of a volumetric mixture of 10% H2O, 2% O2, 0.5% SO2, and 87.5% Ar at 800 °C for up to 96 h. Both alloys were initially single-phase fcc with a mean grain size of ~ 50 μm and a homogeneous chemical composition. The oxide layer thickness of CrMnFeCoNi increased linearly with exposure time while it remained constant at ~ 1 μm for CrCoNi. A Cr2O3 layer and minor amounts of (Co,Ni)Cr2O4 developed on the latter while three oxide layers were detected on the former, i.e., a thin and continuous chromium rich oxide layer at the oxide/alloy interface, a dense (Mn,Cr)3O4 layer in the center and a thick and porous layer of Mn3O4 and MnSO4 at the gas/oxide interface. Additionally, a few metal sulfides were observed in the CrMnFeCoNi matrix. These results were found to be in reasonable agreement with thermodynamic calculations.