High-efficiency extraction of long single-wall carbon nanotubes (SWCNTs) with excellent optoelectronic properties from SWCNT solution is critical for enabling their application in high-performance optoelectronic devices. Here, a straightforward and high-efficiency method is reported for length separation of SWCNTs by modulating the concentrations of binary surfactants. The results demonstrate that long SWCNTs can spontaneously precipitate for binary-surfactant but not for single-surfactant systems. This effect is attributed to the formation of compound micelles by binary surfactants that squeeze the free space of long SWCNTs due to their large excluded volumes. With this technique, it can readily separate near-pure long (≥500nm in length, 99% in content) and short (≤500nm in length, 98% in content) SWCNTs with separation efficiencies of 26% and 64%, respectively, exhibiting markedly greater length resolution and separation efficiency than those of previously reported methods. Thin-film transistors fabricated from extracted semiconducting SWCNTs with lengths >500nm exhibit significantly improved electrical properties, including a 10.5-fold on-state current and 14.7-fold mobility, compared with those with lengths <500nm. The present length separation technique is perfectly compatible with various surfactant-based methods for structure separations of SWCNTs and is significant for fabrication of high-performance electronic and optoelectronic devices.