Abstract. The Totten Glacier in East Antarctica is of major climatic interest because of the large fluctuations in its grounding line and potential vulnerability to climate change. Here, we use a series of high-resolution, regional NEMO-LIM-based (Nucleus for European Modelling of the Ocean coupled with the Louvain-la-Neuve sea ice model) experiments, which include an explicit treatment of ocean–ice shelf interactions, as well as a representation of grounded icebergs and fast ice, to investigate the changes in ocean–ice interactions in the Totten Glacier area between the recent past (1995–2014) and the end of the 21st century (2081–2100) under SSP4–4.5 climate change conditions. By the end of the 21st century, the wide areas of multiyear fast ice simulated in the recent past are replaced by small patches of first year fast ice along the coast, which decreases the total summer sea ice extent. The Antarctic Slope Current is accelerated by about 116 %, which decreases the heat exchange across the shelf and tends to reduce the ice shelf basal melt rate, but this effect is counterbalanced by the effect of the oceanic warming. As a consequence, despite the accelerated Antarctic Slope Current, the Totten ice shelf melt rate is increased by 91 % due to the intrusion of warmer water into its cavity. The representation of fast ice dampens the ice shelf melt rate increase throughout the 21st century, as the Totten ice shelf melt rate increase reaches 136 % when fast ice is not taken into account. The Moscow University ice shelf melt rate increase is even more impacted by the representation of fast ice, with a 36 % melt rate increase with fast ice, compared to a 75 % increase without a fast ice representation. This influence of the representation of fast ice in our simulations on the basal melting rate trend over the 21st century is explained by the large impact of the fast ice for present-day conditions (∼25 % difference in m yr−1), while the impact decreases significantly at the end of the 21st century (∼4 % difference in m yr−1). As a consequence, the reduction in the fast ice extent in the future induces a decrease in the fast ice effect on the ice shelf melt rate that partly compensates for the increase due to warming of the ocean. This highlights the importance of including a representation of fast ice to simulate realistic ice shelf melt rate increase in East Antarctica under warming conditions.