Abstract. The investigation of the distribution of trace elements in two chromium samples with different corrosion resistivity is reported. The concentration of the trace elements in both samples is in the typical range of high purity chromium and did not explain the different behaviour in the corrosion test. To measure the three-dimensional distribution imaging secondary ion mass spectrometry (SIMS) was used. Fine details were measured by scanning SIMS because of the better resolution. An enrichment of nitrogen and carbon at the grain boundaries of the sample with lower corrosion resistivity was observed.Key words: corrosion, material science, grain boundaries, imaging.Many advanced materials like semiconductors, refractory metals and composites derive their qualities from the three-dimensional distribution of trace elements. Secondary ion mass spectrometry (SIMS) exhibits an unique potential for this task: laterally resolved secondary ion signals can be measured during sputter removal of the material, thus yielding signals with n chemical (number of masses or elements measured) and three spatial dimensions [1][2][3].Imaging secondary ion microscopy is an analytical method capable of producing two and three-dimensional spatially resolved information on element distributions of a significantly large and therefore representative volume (10 6 ~tm 3) in a relatively short time (1 hour) due to simultaneous ion bombardment of the whole imaged area of a sample. The typical lateral resolution of the instrument used in this laboratory (CAMECA IMS 31) is 1 gin, the typical depth resolution 5-10 nm.The lateral resolution in imaging mode is limited by the energy distribution of the secondary ions; the increase of the resolution is coupled with a decrease of the transmission of the method. By using a fine focus beam in scanning mode sub-micron resolution can be obtained with full transmission and therefore high