Nanocomposites combining inorganic nanoparticles with high dielectric constant and polymers with high breakdown strength are promising for the high energy density storage of electricity, and carrier traps can significantly affect the dielectric breakdown process. Nevertheless, there still lacks direct experimental evidence on how nanoparticles affect the trap characteristics of nanocomposites, especially in a spatially resolved manner. Here, a technique is developed to image the trap distribution based on sequential Kelvin probe force microscopy (KPFM) in combination with the isothermal surface potential decay (ISPD) technique, wherein both shallow and deep trap densities and the corresponding energy levels can be mapped with nanoscale resolution. The technique is first validated using the widely-used commercial biaxially oriented polypropylene, yielding consistent results with macroscopic ISPD. The technique is then applied to investigate polyvinylidene fluoride-based nanocomposites filled with barium titanate nanoparticles, revealing higher deep trap density around surface-modified nanoparticles, which correlates well with its increased breakdown strength. This technique thus provides a powerful spatially resolved tool for understanding the microscopic mechanism of dielectric breakdown of nanocomposites.