Abstract Utilizing the Apostle–Auriga simulations, which start from the same zoom-in initial conditions of Local Group-like systems but run with different galaxy formation subgrid models and hydrodynamic solvers, we study the impact of stellar feedback models on the evolution of angular momentum in disc galaxies. At z = 0, auriga disc galaxies tend to exhibit higher specific angular momenta compared to their cross-matched apostle counterparts. By tracing the evolution history of the Lagrangian mass tracers of the in-situ star particles in the z = 0 galaxies, we find that the specific angular momentum distributions of the gas tracers from the two simulations at the halo accretion time are relatively similar. The present-day angular momentum difference is mainly driven by the physical processes occurring inside dark matter haloes, especially galactic fountains. Due to the different subgrid implementations of stellar feedback processes, auriga galaxies contain a high fraction of gas that has gone through recycled fountain (∼65 per cent) which could acquire angular momentum through mixing with the high angular momentum circumgalactic medium (CGM). In apostle, however, the fraction of gas that has undergone the recycled fountain process is significantly lower (down to ∼20 per cent for Milky Way-sized galaxies) and the angular momentum acquisition from the CGM is marginal. As a result, the present-day auriga galaxies overall have higher specific angular momenta.