• Thiolate in cysteine enables rigorous surface passivation of perovskite nanocrystals. • Cys-S - treatment improves performance (15.5%) and stability of solar cells. • Deprotonation of thiol is a key step to activate thiol binding on the surface. Inorganic halide perovskite nanocrystals (PNCs) have demonstrated promising potential for solar cell applications. However, the lability of photoactive CsPbI 3 phase under ambient conditions, coupled with considerable amounts of surface defects induced during solidification process, have impeded achieving high performances and longevities of the PNC-based solar cells. Post-treatment of the PNCs with organic ligands has been proposed as an efficient strategy for surface passivation, which, however, still relies on the binding actions of typical functional groups towards surface defects (especially, carboxylates onto iodine vacancies). Herein, we uncover that thiolate, a deprotonated form of thiol, renders distinctive binding feasibility towards iodine vacancies at the CsPbI 3 PNC surface, compared with those of typical functional groups. By treating the PNC solid with deprotonated cysteine as a ligand, the surface defects are comprehensively passivated. The solar cells with the modified PNC films demonstrate an excellent PCE of 15.5% and improved device longevity (77% of initial PCE over 2 months) under ambient conditions. Our work not only elucidates the chemical principles of thiol on the binding with PNC surface, but also corroborates the power of thiolate as a promising strategy to develop high performances and improved longevity of solar cells.