Characterizing the subsurface distribution of crude oil after a spill in a coastal environment is challenging due to variations in the soil and fluid properties. In situ sampling is limited in capturing the lateral and vertical migration of the crude oil within the vadose and saturated zones. This study presents a laboratory sandbox framework used to assess the effectiveness of electrical resistivity imaging for investigating the spatiotemporal distribution of crude oil in coastal sandy soils. A sandbox with dimensions L = 240 cm, W = 60 cm, and H = 60 cm was constructed using a 10 mm plexiglass and filled to a 40 cm height with 2 mm medium to fine-grained sand. At each stage of the experiment, 20 kg of sand was mixed with 1 l of water to create moist sand, after which the mixture was flushed over 12 h to remove suspended fine particles. Both saturated and unsaturated conditions were simulated by setting the water table at 10 cm and draining a fully saturated system overnight. Two liters of crude oil were spilled and monitored for 30 h. A surface array of 98 electrodes, with a unit electrode spacing of 2 cm, was installed along two transects 12 cm apart. Resistivity measurements were collected using a dipole-dipole array before, during, and after the simulated crude oil spill. The time-lapse electrical resistivity results revealed an initial gravity-induced vertical migration under both saturated and unsaturated conditions; over time, lateral migration of crude oil became apparent. In the saturated zone, there was a noticeable reduction in the percentage difference in resistivity from 700 % to 400 % after 24 h, depicting a spatial and temporal redistribution of the crude oil attributed to variation in pore geometry. This highlights the sensitivity of electrical resistivity measurements to subtle but measurable anisotropy in the distribution of soil pores. Overall, electrical resistivity proved successful in imaging the non-ideal behavior of crude oil pollutants and the associated spatial changes in the pore-size distribution of subsurface sediments.