Disclosed herein is an electronic combination lock mainly characterized by miniature size and easy-to-use electronic identification access-gaining method that enables a vast variety and type of access codes for user setting and choice. Another battery operated electronic key unit, incorporated with programmed access code to provide as an alternative choice for locking, unlocking and backup power, can be used in conjunction with the electronic combination lock.