Abstract: An electronic lock and key includes an electronic key which produces a specific electric signal such as a frequency signal, photo signal or logic signal when inserted into the key holder of the lock; and an electronic lock which is comprised of a power source, a key holder, a lock signal generator, and a signal comparing circuit that compares the signal of said key and the signal of said lock signal generator.