The behavior of nanoparticles under nanofluidic confinement depends strongly on their distance to the confining walls; however, a measurement in which the gap distance is varied is challenging. Here, we present a versatile setup for investigating the behavior of nanoparticles as a function of the gap distance, which is controlled to the nanometer. The setup is designed as an open system that operates with a small amount of dispersion of ≈20 μL, permits the use of coated and patterned samples and allows high-numericalaperture microscopy access. Using the tool, we measure the vertical position (termed height) and the lateral diffusion of 60 nm, charged, Au nanospheres as a function of confinement between a glass surface and a polymer surface. Interferometric scattering detection provides an effective particle illumination time of less than 30 μs, which results in lateral and vertical position detection accuracy ≈10 nm for diffusing particles. We found the height of the particles to be consistently above that of the gap center, corresponding to a higher charge on the polymer substrate. In terms of diffusion, we found a strong monotonic decay of the diffusion constant with decreasing gap distance. This result cannot be explained by hydrodynamic effects, including the asymmetric vertical position of the particles in the gap. Instead we attribute it to an electroviscous effect. For strong confinement of less than 120 nm gap distance, we detect the onset of subdiffusion, which can be correlated to the motion of the particles along high-gap-distance paths.301