A window air conditioner includes a housing including a separation groove dividing the housing into two parts, a mounting base movably mounted in the separation groove, and a sealing member connected with the mounting base. The sealing member is fitted with the mounting base by deformation, and the sealing member is configured to be driven by the mounting base to switch between a storage state and a working state. In the storage state, the sealing member is received in the separation groove. In the working state, the sealing member is at least partially outside the separation groove.