ABSTRACT Background Gamification has gained popularity in medical education, but key elements have not been formally identified. This study aimed to generate and prioritize a list of key elements of gamification in medical education. Methods This study utilized a two-stage approach, including the Delphi method and qualitative interview. Nineteen medical educators with expertise in gamification participated in the Delphi method stage. Experts who had more than three years of experience with gamification in medical education constituted the expert panel. The experts were then asked to rate the gamification elements using the Likert five-point scale through at least two consensus-seeking rounds. Consensus for key elements was predefined as ≥ 51% of respondents rating an element as ‘important’ or”very important.” In the qualitative interview stage, 10 experts provided feedback on the application of these key gamification elements. Results Eighteen participants (11 males and 7 females) completed the entire Delphi process for this study. After two rounds of surveys, the consensus was reached on all elements. Thirteen elements scored more than 4 points (37%) and reached the criteria of key elements of gamification in medical education. The top five key elements were integration with instruction objectives, game rules, rapid feedback, fairness, and points/scoring. The thirteen key elements for successful gamification in medical education were further organized into two main categories: (1) gamification design principles and (2) game mechanisms. Conclusions Integration with educational objectives, gamification in curriculum design and teaching methods, and balancing between the mechanisms and principles were the three key components for successful gamification. This study explored the gamification key elements, providing practical tips for medical educators in their efforts to gamify medical education. Future studies involving learners could be performed to examine the efficacy of these key elements in gamification.