D-UiO-66-NIM with high proton conductivity has been synthesized through the dual strategy of defect engineering and ligand modification. Moreover, D-UiO-66-NIM exhibits good temperature cycling stability and durability in proton conductivity. This work has developed a new method to obtain efficient MOF-based proton conductors.