An organic thin-film gas sensor based on squaraine detects ammonia as low as 40 ppb with impressive reversibility and stability. The resonance-stabilized zwitterionic characteristics offer squaraines high affinity and sensitivity toward electron-rich analytes without irreversible chemical binding, while the embedded squaric ring makes SA-CH3 highly sensitive. The symmetric molecular geometry and good crystallinity also contribute to the high performance.