A modularized electric door lock includes an operating device mounted to a door, an outer electric device mounted to an outer side of the door for receiving an unlocking signal, and an inner electric device mounted to an inner side of the door and controlling the outer electric device. The inner electric device includes an electric driving device mounted in the operating device for setting the operating device to a locked state or an unlocked state. The outer electric device and the corresponding inner electric device can be selected among various types, such that the door lock of a desired type can be rapidly assembled.