An electronic device and a fingerprint recognition method are provided. Electronic devices include the housing, lens protection cover, processing unit, image capture unit, light sensor, and visible light module. The lens protection cap is mounted on the housing. The light source sensor is configured to detect external light entering the electronics device through the lens protection cap. The processing unit determines whether the detected external light is less than the threshold value. The visible light source module is formed to generate visible light. When the detected outside light is smaller than the threshold value, the processing unit activates a visible light source module that generates visible light and activates an image capturing unit that captures a fingerprint image of a user's finger placed on the lens protective cover for fingerprint recognition .전자 장치 및 지문 인식 방법이 제공된다. 전자 장치는 하우징, 렌즈 보호 덮개, 처리 유닛, 영상 포착 유닛, 광원 센서, 및 가시 광원 모듈을 포함한다. 렌즈 보호 덮개는 하우징 위에 탑재된다. 광원 센서는 렌즈 보호 덮개를 통하여 전자 장치 내부로 들어오는 외부 광을 탐지하도록 형성된다. 처리 유닛은 탐지된 외부 광이 역치보다 적은지를 판단한다. 가시 광원 모듈은 가시 광을 발생하도록 형성된다. 탐지된 외부의 빛이 역치보다 적은 경우, 처리 유닛은 가시 광을 발생하는 가시 광원 모듈을 활성화시키고, 지문 인식을 위해 렌즈 보호 덮개 위에 놓인 사용자의 손가락의 지문 영상을 포착하는 영상 포착 유닛을 활성화시킨다.