A height-adjustable table includes a base, at least two height-adjustable table legs, a retaining frame, a tabletop, a motor box, a controller, a power adapter, and a hand controller. Through the hand controller connected to the controller of the motor box in cooperation with the controller to control the motor, the motor drives the movable inner tube of each table leg to move up and down through the driving rod to achieve the lifting and lowering of the tabletop. The user can adjust the height of the tabletop by simply manipulating the hand controller. The adjustment is more convenient.