In this technologically advancing world, we not only require security for our data but we also need advanced security for homes. In this regard, one of the important aspects is the security enhancement using the smart door unlocking system. This smart door unlocking system uses face recognition using Raspberry Pi, for the purpose of locking or unlocking the door. Face recognition is one of the most secured systems than biometrics pattern recognition technique which is used in a large spectrum of applications. In this system, camera sensor is used for capturing the faces and an image matching algorithm is used to detect the authenticated face. For image matching we are using the LBPH (Local Binary Pattern Histogram) algorithm. This algorithm converts the image from color to a grayscale image, it then divides them into pixels and they will be stored in the matrix form in the database. When a person's face is matched, the Raspberry Pi microcontroller uses the solenoid lock to unlock the door. This system provides security and also makes door unlocking effortless for elders. The proposed system is robust from hacking attacks, as our proposed system uses the Machine Learning approach.