Disclosed is an electronic device including a portable electronic housing. The electronic device also includes a pressible key provided on one surface of the housing. The electronic device further includes a fingerprint recognition sensor formed in the key to be at least partially exposed to a surface of the key. An uppermost surface of the fingerprint recognition sensor protrudes further than a surface of the housing surrounding the key.