The best solar security light with motion sensor that can stay on all night long is Aootek Solar Outdoor Lights. Owners can also choose to have either the lights brighten up or only turn on for 15 seconds at night when there is motion within the distance range to conserve energy.