The nanoscale distributions of electron density and electric fields in GaAs semiconductor devices are displayed with NMR experiments. The spectra are sensitive to the changes to the nuclear-spin Hamiltonian that are induced by perturbations delivered in synchrony with a line-narrowing pulse sequence. This POWER (perturbations observed with enhanced resolution) method enhanced resolution up to 10 3 -fold, revealing the distribution of perturbations over nuclear sites. Combining this method with optical NMR, we imaged quantum-confined electron density in an individual AlGaAs/GaAs heterojunction via hyperfine shifts. Fits to the coherent evolution and relaxation of nuclei within a hydrogenic state established one-to-one correspondence of radial position to frequency. Further experiments displayed the distribution of photoinduced electric field within the same states via a quadrupolar Stark effect. These unprecedented high-resolution distributions discriminate between competing models for the luminescence and support an excitonic state, perturbed by the interface, as the dominant source of the magnetically modulated luminescence.GaAs ͉ hyperfine or Knight shift ͉ Stark effect ͉ H-band photoluminescence I maging electron distributions and the electrostatic potentials that govern their transfer is a longstanding goal in diverse fields. Spin or charge transfer defines function in systems for photovoltaic and photosynthetic energy capture, ion channels, enzyme catalysis, spintronics, and molecular and nanoscale electronics. Success in imaging nanoscale electronic properties can lead to mechanistic understanding and provide guidelines to tune device performance or to modify natural systems for specialized applications. With its atomic-scale capabilities for nondestructive, noninvasive spectroscopy and imaging, NMR seems well suited to such characterization. However, NMR of solids is hampered by broad spectral lines because of static interactions that prevent measurement of small differences between sites that might otherwise reveal local electronic features with atomic detail.Here, we present a general method whereby solid-state NMR surmounts this challenge and then apply it to image distributions of spin density and electric (E) field within an electronic state with dimensions (Ϸ10 nm) distributed over Ϸ10 5 nuclei. The POWER (perturbations observed with enhanced resolution) NMR approach, encodes small responses to a sample perturbation that is switched in synchrony with an NMR multiple-pulse line-narrowing sequence. The sequence removes the otherwise obscuring clutter of static spin interactions to yield a spectrum dominated by the desired perturbation with up to 3 orders-ofmagnitude resolution enhancement. To further obtain the sensitivity and selectivity needed to isolate signals of local, nanoscale features from the bulk signal of a macroscopic sample, we combined the POWER approach with methods for optical NMR (ONMR). By using both optical nuclear polarization (ONP) (1-15) and optical detection (2-4, 6, 7, 9-13), O...