The human body comprises various tubular structures that have essential functions in different bodily systems. These structures are responsible for transporting food, liquids, waste, and other substances throughout the body. However, factors such as inflammation, tumors, stones, infections, or the accumulation of substances can lead to the narrowing or blockage of these tubular structures, which can impair the normal function of the corresponding organs or tissues. To address luminal obstructions, stenting is a commonly used treatment. However, to minimize complications associated with the long-term implantation of permanent stents, there is an increasing demand for biodegradable stents (BDS). Magnesium (Mg) metal is an exceptional choice for creating BDS due to its degradability, good mechanical properties, and biocompatibility. Currently, the Magmaris® coronary stents and UNITY-BTM biliary stent have obtained Conformité Européene (CE) certification. Moreover, there are several other types of stents undergoing research and development as well as clinical trials. In this review, we discuss the required degradation cycle and the specific properties (anti-inflammatory effect, antibacterial effect, etc.) of BDS in different lumen areas based on the biocompatibility and degradability of currently available magnesium-based scaffolds. We also offer potential insights into the future development of BDS.