The cable is 6 feet long with a dimmer switch at about 1 foot from the plug.