Apple says that for optimal performance the Apple Lightning cable can extend up to 2 meters (6.5 feet). Therefore, Apple only recommends and sells Lightning cables up to 2m long. Third parties may sell longer cables but they may not always work.