The Power Unit, which is sold separately, is 6' long. You can use an extension cord as long as it is rated for outdoor use. You should properly cover the connection point of the two cords so that water does not touch the electrical pins. Custom link extension cords are also available upon request.