In this work electron-beam-induced potentials are analysed theoretically and experimentally for semiconductors. A theoretical model is developed to describe the surface potential distribution produced by an electron beam. The distribution of generated carriers is calculated using semiconductor equations. This distribution causes a local change in surface potential, which is derived with the help of quasi-Fermi energies. The potential distribution is simulated using the model developed and measured with a scanning probe microscope (SPM) built inside a scanning electron microscope (SEM), for different samples, for different beam excitations and for different cantilever voltages of SPM. In the end, some fields of application are shown where material properties can be determined using an SEM/SPM hybrid system.