Numerical simulations of microscopic transport processes in porous electrodes of lithium‐ion batteries demonstrate the presence of spatially localized fluctuations of physical quantities on the microstructure scale. They can influence the macroscopic battery characteristics (for example, the degradation rates). These fluctuations cannot be captured in a straightforward manner by the widely used porous electrode theory by Doyle, Fuller, and Newman (DFN model). The latter treats the porous electrodes as macroscopically homogeneous composite materials; it reduces the computational costs of numerical simulations. Herein, a modification of the DFN model that incorporates the local fluctuations but preserves the computational efficiency is proposed. Numerical simulation examples are presented that test the accuracy of the reproduction of the local fluctuations. The main new feature lies in the mathematical representation of the slow transport processes in the active material and their influence on the macroscopic reaction rates. The model is rooted in the rigorous mathematical analysis of the transition from a microscopic, microstructure‐resolving transport and reaction description to a macroscopic, volume averaging‐based one. The model construction methodology is open for further modifications for the applications in which some of the assumptions should be dropped, or description of new processes, reactions, phases, etc. should be incorporated.