One of the new concepts in the field of human resources management is organizational intelligence, which is increasing in importance day by day. The main goal of the present study was to identify the factors affecting the organizational intelligence of secondary school principals. The current research method was qualitative-based theory and applied research in terms of its purpose. The participants in the research were principals and vice-principals of schools in Lorestan province. Totally 20 interviews were conducted with them using the purposeful sampling method until reaching theoretical saturation. The research tool was semi-structured interviews. Open, axial and selective coding was used to analyze the data. Also, for the validity of the findings, in addition to reviewing the interview process by researchers, internal participants and external auditors were used, and for reliability, evaluators outside the research were used, and the agreement coefficient was 0.80. The data analysis led to the formation of 9 core categories, based on the paradigm model of Straves and Corbin, "empowerment" and "elements of a smart organization (including justice-oriented components, organizational transparency and research-oriented components)" as causal conditions, "organizational culture" and "leadership" "cultural" as background conditions, "organizational global horizon" as intervening conditions, "financial, psychological and environmental horizon" and "talent management" as strategies/strategies and "productivity" and "career longevity" were also consequences of organizational intelligence. Based on the current findings, the education system should pay attention to the empowerment of managers, the elements of intelligent organization and the organizational culture of managers as factors that shape and accelerate organizational intelligence.