The worldwide decline of coral reefs has renewed interest in coral communities at the edge of environmental limits because they have the potential to serve as resilience hotspots and climate change refugia, and can provide insights into how coral reefs might function in future ocean conditions. These coral communities are often referred to as marginal or extreme but few definitions exist and usage of these terms has therefore been inconsistent. This creates significant challenges for categorising these often poorly studied communities and synthesising data across locations. Furthermore, this impedes our understanding of how coral communities can persist at the edge of their environmental limits and the lessons they provide for future coral reef survival. Here, we propose that marginal and extreme coral communities are related but distinct and provide a novel conceptual framework to redefine them. Specifically, we define coral reef extremeness solely based on environmental conditions (i.e., large deviations from optimal conditions in terms of mean and/or variance) and marginality solely based on ecological criteria (i.e., altered community composition and/or ecosystem functioning). This joint but independent assessment of environmental and ecological criteria is critical to avoid common pitfalls where coral communities existing outside the presumed optimal conditions for coral reef development are automatically considered inferior to coral reefs in more traditional settings. We further evaluate the differential potential of marginal and extreme coral communities to serve as natural laboratories, resilience hotspots and climate change refugia, and discuss strategies for their conservation and management as well as priorities for future research. Our new classification framework provides an important tool to improve our understanding of how corals can persist at the edge of their environmental limits and how we can leverage this knowledge to optimise strategies for coral reef conservation, restoration and management in a rapidly changing ocean.