A mechanical combination lock with electronic input is formed by connecting an electronic combination system to a mechanical combination system. The electronic combination system comprises an electronic input device, a control circuit, a drive circuit, a motor (6), and a power supply (5) that are connected in sequence. The mechanical combination system comprises a motor shaft gear (8), a transmission gear (12), a combination member, a limiting and connecting member, a knob (17), a knob shaft (20), and an unlocking device (15). Output of the electronic input device is connected to the control circuit. Output of the control circuit is connected to the drive circuit. Output of the drive circuit is connected to the motor (6). The motor shaft gear (8) is connected to a motor output shaft (9), and the motor shaft gear (8) is connected to and drives the combination member through the transmission gear (12); or, the combination member is directly mounted on the motor output shaft (9), and the limiting and connecting member has one end flexibly connected to the unlocking device (15) and the other end gap-fits the combination member. The knob shaft (20), the knob (17), the unlocking device (15) are components for connecting and fixing. The mechanical combination lock with electronic input has advantages of both a mechanical combination lock and an electronic combination lock, and is convenient, secure, reliable, abundant in combinations, and high in security level.