An automatic endoscope locking device comprises: a tail bed, a lock buckle and an elastic element, the tail bed is provided with a slot for mounting the lock buckle, the lock buckle is provided with an oblong hole in the center, and the lock buckle is mounted within the slot of the tail bed via the oblong hole of the center, and is movable reciprocatedly within the slot along the oblong hole; and the lock buckle and the tail bed are elastically connected by the elastic element. The endoscope is fixed by using the elasticity of the elastic rubber ring to the automatic endoscope locking device formed by the lock buckle and the tail bed.