We examine the evolution of the refractive index modulation when recording gratings in an acrylamide based photopolymer. A nonlocal diffusion model is used to predict theoretically the grating evolution. The model has been developed to account for both nonlocal spatial and temporal effects in the medium, which can be attributed to polymer chain growth. Previously it was assumed that the temporal effect of chain growth could be neglected. However, temporal effects due to chain growth and monomer diffusion are shown to be significant, particularly over short recording periods where dark field amplification is observed. The diffusion model is solved using a finite-difference technique to predict the evolution of the monomer and polymer concentrations throughout grating recording. Using independently measured refractive index values for each component of the recording medium, the Lorentz-Lorenz relation is used to determine the corresponding refractive index modulation. The corresponding diffraction efficiency is then determined using rigorous coupled wave analysis. The diffraction efficiency curves are presented for gratings recorded using short exposure times, monitored in real time, both during and after recording. The effect of volume shrinkage of polymer on grating evolution is also examined. Both the nonlocal temporal response of the material and monomer diffusion are shown to influence refractive index modulation postexposure.