A tamper resistant nightlight for placement in an electrical receptacle, the nightlight includes a body that has a base with an LED circuit and plug blades extending from the body. A housing includes a locking element configured to restrict a child from removing the nightlight from the electrical receptacle through a flange that extends away from the body to be positioned behind a rear surface of an electrical wall plate associated with the electrical receptacle to prevent the tamper resistant nightlight from being removed from the electrical receptacle while the electrical wall plate is coupled to the electrical receptacle.