Local open-circuit voltage (Voc) distributions on amorphous and nanocrystalline mixed-phase silicon solar cells were measured using a scanning Kelvin probe microscope (SKPM) on the p layer of an n-i-p structure without the top ITO contact. During the measurement, the sample was illuminated with a laser beam that was used for the atomic force microscopy (AFM). Therefore, the surface potential measured by SKPM is the sum of the local Voc and the difference in workfunction between the p layer and the AFM tip. Comparing the SKPM and AFM images, we find that nanocrystallites aggregate in the amorphous matrix with an aggregation size of {approx}0.5 ..mu..m in diameter, where many nanometer-size grains are clustered. The Voc distribution shows valleys in the nanocrystalline aggregation area. The transition from low to high Voc regions is a gradual change within a distance of about 1 ..mu..m. The minimum Voc value in the nanocrystalline clusters in the mixed-phase region is larger than the Voc of a nc-Si:H single-phase solar cell. These results could be due to lateral photo-charge redistribution between the two phases. We have also carried out local Voc measurements on mixed-phase SiGe:H alloy solar cells. The magnitudes of Voc in the amorphous and nanocrystalline regions are consistent with the J-V measurements