We, for the first time, correlated the alkyl chain length of amine molecules with the defect passivation efficacy, either on the surfaces or at grain boundaries of perovskite films. Blade-coated perovskite solar cells with long-chain amine passivation achieved an efficiency of 21.5%, accompanied by a small voltage loss of 0.35 V.