No, you don’t have to switch it on or off manually. These solar lights turn on and off automatically.