The identification of environmental processes and mechanisms often requires information on the organochemical and inorganic composition of specimens at high spatial resolution. X-ray spectroscopy (XAS) performed in the soft X-ray range (100–2,200 eV) provides chemical speciation information for elements that are of high biogeochemical relevance such as carbon, nitrogen, and oxygen but also includes transition metals such as iron, manganese, or nickel. Synchrotron-based scanning transmission X-ray microscopy (STXM) combines XAS with high resolution mapping on the 20-nm scale. This provides two-dimensional (2D) quantitative information about the distribution of chemical species such as organic macromolecules, metals, or mineral phases within environmental samples. Furthermore, the combination of STXM with angle-scan tomography allows for three-dimensional (3D) spectromicroscopic analysis of bio-, geo-, or environmental samples. For the acquisition of STXM tomography data, the sample is rotated around an axis perpendicular to the X-ray beam. Various sample preparation approaches such as stripes cut from TEM grids or the preparation of wet cells allow for preparing environmentally relevant specimens in a dry or in a fully hydrated state for 2D and 3D STXM measurements. In this chapter we give a short overview about the principles of STXM, its application to environmental sciences, different preparation techniques, and the analysis and 3D reconstruction of STXM tomography data.