Introduction: A soft pneumatic muscle was developed to replicate intricate ankle motions essential for rehabilitation, with a specific focus on rotational movement along the x-axis, crucial for walking. The design incorporated precise geometrical parameters and air pressure regulation to enable controlled expansion and motion.Methods: The muscle’s response was evaluated under pressure conditions ranging from 100-145 kPa. To optimize the muscle design, finite element simulation was employed to analyze its performance in terms of motion range, force generation, and energy efficiency. An experimental platform was created to assess the muscle’s deformation, utilizing advanced techniques such as high-resolution imaging and deep-learning position estimation models for accurate measurements. The fabrication process involved silicone-based materials and 3D-printed molds, enabling precise control and customization of muscle expansion and contraction.Results: The experimental results demonstrated that, under a pressure of 145 kPa, the y-axis deformation (y-def) reached 165 mm, while the x-axis and z-axis deformations were significantly smaller at 0.056 mm and 0.0376 mm, respectively, highlighting the predominant elongation in the y-axis resulting from pressure actuation. The soft muscle model featured a single chamber constructed from silicone rubber, and the visually illustrated and detailed geometrical parameters played a critical role in its functionality, allowing systematic manipulation to meet specific application requirements.Discussion: The simulation and experimental results provided compelling evidence of the soft muscle design’s adaptability, controllability, and effectiveness, thus establishing a solid foundation for further advancements in ankle rehabilitation and soft robotics. Incorporating this soft muscle into rehabilitation protocols holds significant promise for enhancing ankle mobility and overall ambulatory function, offering new opportunities to tailor rehabilitation interventions and improve motor function restoration.