FeCo alloys are important materials used in pumps and motors in the offshore oil and gas drilling industry. These alloys are subjected to marine environments with a high NaCl concentration, therefore, corrosion and catastrophic failure are anticipated. So, the surface dissolution of additively manufactured FeCo samples is investigated in a quasi-in situ manner, in particular, the pitting corrosion in 5.0 wt pct NaCl solution. The local dissolution of the same sample region is monitored after 24, 72, and 168 hours. Here, the formation of rectangular and circular pits of ultra-fine dimensions (less than 0.5 µm) is observed with increasing immersion time. In addition, the formation of a corrosion-inhibiting surface layer is detected on the sample surface. Surface dissolution leads to a change in the surface structure, however, no change in grain shape or grain size is noticed. The surface topography after local dissolution is correlated to the grain orientation. Quasi-in situ analysis shows the preferential dissolution of high-angle grain boundaries (HAGBs) leading to a change in the fraction of HAGBs and low-angle grain boundaries fraction (LAGBs). For the FeCo sample, a potentiodynamic polarisation test reveals a corrosion potential (Ecorr) of − 0.475 V referred to the standard hydrogen electrode (SHE) and a corrosion exchange current density (icorr) of 0.0848 A/m2. Furthermore, quasi-in situ experiments showed that grains oriented along certain crystallographic directions are corroding more compared to other grains leading to a significant decrease in the local surface height. Grains with a plane normal close to the $$\langle {1}00\rangle$$
⟨
100
⟩
direction reveal lower surface dissolution and higher corrosion resistance, whereas planes normal close to the $$\langle {11}0\rangle$$
⟨
110
⟩
direction and the $$\langle {111}\rangle$$
⟨
111
⟩
direction exhibit a higher surface dissolution.