The distribution of electrons and holes in the CuO2 plane of the high-temperature superconducting cuprates is determined with nuclear magnetic resonance through the quadrupole splittings of 17 O and 63 Cu. Based on new data for single crystals of electron-doped Pr2−xCexCuO4(x=0, 0.05, 0.10, 0.15) as well as Nd2−xCexCuO4 (x=0, 0.13) the changes in hole contents n d of Cu 3d(x 2 − y 2 ) and np of O 2pσ orbitals are determined and they account for the stoichiometrically doped charges, similar to hole-doped La2−xSrxCuO4. It emerges that while n d + 2np = 1 in all parent materials as expected, n d and np vary substantially between different groups of materials. Doping holes increases predominantly np, but also n d . To the contrary, doping electrons predominantly decreases n d and only slightly np. However, np for the electron doped systems is higher than that in hole doped La1.85Sr0.15CuO4. Cuprates with the highest maximum Tcs appear to have a comparably low n d while, at the same time, np is very high. The rather high oxygen hole content of the Pr2CuO4 and Nd2CuO4 with the low n d seems to make them ideal candidates for hole doping to obtain the highest Tc. The high-temperature superconducting cuprates (HTSCs) emerge from insulating antiferromagnetic parent materials, the essential unit of which is the CuO 2 plane. It is formed, in first approximation, by Cu 2+ (3d 9 ) and O 2− (2p 6 ), with the half-filled Cu 3d(x 2 − y 2 ) orbital hybridized with four O 2p σ orbitals, so that a near square planar arrangement of Cu and O follows. Charge neutrality is provided by layers between CuO 2 planes, the chemistry of which can be varied widely. By changing the average charge state of the layers, e.g., by doping them, electrons are added or removed from the CuO 2 plane. These additional electrons or holes destroy the Cu-based antiferromagnetism. Above a certain doping level superconductivity can emerge with a maximum critical transition temperature T c at optimal average doping, and it decreases nearly parabolically as the doping departs from the optimal value. The highest T c 's vary widely among different materials, and it is not quite clear which material parameters affect this behavior. Therefore, the knowledge of the microscopic distribution of charges in the CuO 2 plane is of great interest for a better understanding of the doping process.A local probe like nuclear magnetic resonance (NMR) can yield vital information about the doping process since a change in the hole or electron content in the Cu 3d(x 2 − y 2 ) or O 2p σ orbitals changes the electric field gradients (EFGs) experienced by the 63,65 Cu (I = 3 2) and 17 O (I = 5 2) nuclei through the electric quadrupole interaction that splits the nuclear resonances for Cu and O into 2I lines in a high magnetic field. Their frequencies are given by ν n = ν 0 ± nν Q : the central line (n = 0) is in leading order unaffected by the quadrupole interaction that causes an angular dependent quadrupole splitting ν Q for the 2I − 1 satellite transitions (n = 1 for Cu and n = 1, ...