In this study, to achieve a homogeneous dispersion of nanodiamond (ND) in a polyimide (PI) matrix and a strong interfacial adhesion between ND and the PI matrix, a biomimetic nondestructive dopamine chemistry was employed for surface modification of ND.