Cerium dioxide nanocubes and truncated octahedra were reduced and oxidized in the scanning transmission electron microscope. The reduction process was stimulated by the electron beam and oxidation was supported by background gases in the microscope …