Based on self-assembly, novel electron extraction layers (EELs) composed of naphthalimide (NPI) derivatives are constructed for application in n-i-p perovskite solar cells. Upon molecular energy level modulation, the power conversion efficiencies have been largely improved from 5.4% to 16%. Such low-cost and highly regulable EELs are promising for future commercial applications.