A sewing machine having a hidden electric lifter includes a machine body (10), an actuator (20), a pressing mechanism (30) and a lifting mechanism (40). The machine body (10) includes an upper arm (11). The interior of the upper arm (11) is provided with an accommodating space (12) in which the actuator (20) is hidden and received. The actuator (20) includes an electrical part (21) and a driving rod (22). The pressing mechanism (30) includes a pressing rod (31) and a sleeve (32). The lifting mechanism (40) includes a swinging element (41), a connecting rod (42) and a lifting element (43). The lifting element (43) is arranged to correspond to the sleeve (32). When the driving rod (22) is actuated by the electrical part (21), the swinging element (41) drives the lifting element (43) to move, thereby making the sleeve (32) and the pressing rod (31) to ascend or descend. Thus, the volume of the sewing machine is reduced. Further, the sewing machine can be raised during the adjustment or replacement of components easily.