These polka dot mini lights do not use an electrical cord. That's right no cord!! The sun provides the solar energy needed to recharge the solar panel which powers the LED bulb. Therefore, as soon as the sun goes down your backyard will radiate with beauty! Finally a solution for people who do not have access to an outlet.