Scrum Master training typically doesn't have strict educational prerequisites. A high school diploma or equivalent is usually sufficient. It's helpful to have a foundational understanding of Agile principles and values. Some training programs might recommend that you complete an introductory Agile course before pursuing Scrum Master training.
There are no prerequisites for this course, regardless of experience. However, there are some strong recommendations for those who intend to take the SAFe Scrum Master (SSM) certification exam. These include Knowledge of Agile concepts and principles, Understanding of Scrum, Kanban, and eXtreme Programming (XP), and working awareness of software and hardware development processes.