This study aimed to design a leadership model for communities of practice for Iranian primary school principals. The research adopted a basic qualitative approach, and data were collected through semi-structured interviews. Participants included 30 accessible and experienced school principals, instructional deputies, and teachers. Data analysis was conducted systematically and in stages: initial concepts were first identified from the data, then conceptually similar ideas were grouped into conceptual categories, and finally, the main categories of the study were derived. Overall, 65 initial concepts, 9 conceptual categories, and 2 main categories were identified.The main category of school principals’ beliefs and ideas for leading communities of practice comprised 23 initial concepts organized into four conceptual categories. The second main category, school principals’ behaviors and strategies for leading communities of practice, included 42 initial concepts classified into five conceptual categories. The findings showed that institutionalizing a culture of consultation and effective synergy, creating a friendly working environment, the principal’s personality and character, and updating the knowledge and awareness of principals and teachers were associated with principals’ beliefs and ideas. In addition, management and leadership style, empowering teachers and deputy staff, adopting a problem-solving approach to challenges, continuity and follow-up of effective implementation of plans, and providing soft infrastructure for the implementation of communities of practice were identified as categories related to principals’ behaviors and strategies.To enhance the trustworthiness of the findings, strategies such as peer review, researcher self-reflexivity, documentation of the research process, and rich description of the research setting and participants were employed. The findings, in addition to encouraging the development of communities of practice in schools, can serve as a valuable resource for the training and improvement of school principals.