The present disclosure provides a front-loading washing machine. The front-loading washing machine includes: a cabinet having a front panel, in which the front panel is provided with an opening; a tub having an access port for loading and unloading laundry, in which the tub is disposed in the cabinet and configured in such a manner that the access port is capable of being moved up and down in the opening; a rotatable drum disposed in the tub; a door unit mounted to the tub and configured to cover the access port; and a driving mechanism provided in the cabinet, coupled to the tub, and configured to drive the tub to rotate.