The impact of nonlinear effects in the diffractive observables that will be measured in future electron-ion collisions is investigated. We present, for the first time, the predictions for the diffractive structure function and reduced cross sections derived using the solution to the Balitsky–Kovchegov equation with the collinearly-improved kernel and including the impact-parameter dependence. We demonstrate that the contribution of the diffractive events is enhanced in nuclear collisions and that the study of the ratio between the nuclear and proton predictions will be useful to discriminate among different models of the dipole-target scattering amplitude and, consequently, will allow us to constrain the description of QCD dynamics in parton densities.