Ecological memory refers to the influence of past events on the response of an ecosystem to exogenous or endogenous changes. Memory has been widely recognized as a key contributor to the dynamics of ecosystems and other complex systems, yet quantitative community models often ignore memory and its implications. Recent modeling studies have shown how interactions between community members can lead to the emergence of resilience and multistability under environmental perturbations. We demonstrate how memory can be introduced in such models using the framework of fractional calculus. We study how the outcomes of a well-characterized interaction model are affected by gradual increases in ecological memory under varying initial conditions, perturbations, and stochasticity. Our results highlight the implications of memory on several key aspects of community dynamics. In general, memory introduces inertia into the dynamics. This favors species coexistence under perturbation, enhances system resistance to state shifts, mitigates hysteresis, and can affect system resilience both ways depending on the time scale considered. Memory also promotes long transient dynamics, such as long-standing oscillations and delayed regime shifts, and contributes to the emergence and persistence of alternative stable states. Our study highlights the fundamental role of memory on ecological communities, and provides quantitative tools to introduce it in ecological models and analyse its impact under varying conditions. Author summary: An ecosystem is said to exhibit ecological memory when its future states do not only depend on its current state but also on its initial state and trajectory. Memory may arise through various mechanisms as organisms adapt to their environment, modify it, and accumulate biotic and abiotic material. It may also emerge from phenotypic heterogeneity at the population level. Despite its commonness in nature, ecological memory and its potential influence on ecosystem dynamics have been so far overlooked in many applied contexts. Here, we use modeling to investigate how memory can influence the dynamics, composition, and stability landscape of ecological communities. We incorporate long-term memory effects into a multi-species model recently introduced to investigate alternative stable states in microbial communities. We assess the impact of memory on key aspects of model behavior and further examine our findings using a model parameterized by empirical data from the human gut microbiota. Our approach for modeling long-term memory and studying its implications has the potential to improve our understanding of microbial community dynamics and ultimately our ability to predict, manipulate, and experimentally design microbial ecosystems. It could also be applied more broadly in the study of systems composed of interacting components. [ABSTRACT FROM AUTHOR]