• Long-term ocean warming reduces overall fish biomass, impacting marine biodiversity.
• Marine heatwaves can cause temporary shifts in fish biomass distribution, creating localized increases.
• Understanding the interplay between long-term warming and heatwaves is crucial for effective marine conservation.