The interplay of diffusion with phenomena like stochastic adsorption–desorption, absorption, and reaction–diffusion is essential for life and manifests in diverse natural contexts. Many factors must be considered, including geometry, dimensionality, and the interplay of diffusion across bulk and surfaces. To address this complexity, we investigate the diffusion process in heterogeneous media, focusing on non-Markovian diffusion. This process is limited by a surface interaction with the bulk, described by a specific boundary condition relevant to systems such as living cells and biomaterials. The surface can adsorb and desorb particles, and the adsorbed particles may undergo lateral diffusion before returning to the bulk. Different behaviors of the system are identified through analytical and numerical approaches.