A reaction–diffusion system modeling concrete corrosion in sewer pipes is discussed. The system is coupled, semi-linear, and partially dissipative. It is defined on a locally periodic perforated domain with nonlinear Robin-type boundary conditions at water–air and solid–water interfaces. Asymptotic homogenization techniques are applied to obtain upscaled reaction–diffusion models together with explicit formulae for the effective transport and reaction coefficients. It is shown that the averaged system contains additional terms appearing due to the deviation of the assumed geometry from a purely periodic distribution of perforations for two relevant parameter regimes: (a) all diffusion coefficients are of order of O(1) and (b) all diffusion coefficients are of order of O (e^2) except the one for H2S(g) which is of order of O(1). In case (a) a set of macroscopic equations is obtained, while in case (b) a two-scale reaction–diffusion system is derived that captures the interplay between microstructural reaction effects and the macroscopic transport.