Based on the theory of gender socialization, women and men show different values when exposed to different moral development. Gender diversity expresses the differences in the moral and personality characteristics of men and women, and people's actions are a reflection of their inner thoughts and feelings. Therefore, the presence of women in the composition of the audit committee and the board of directors makes the organization more effective and reduces the representation costs of companies, and this also reduces financial irregularities in companies through the opportunistic behavior of managers. The development of the capital market and the rules established by the Tehran Stock Exchange Organization in line with the regulatory environment in accepted companies have increased the level of management in companies. However, due to information asymmetry between shareholders and managers, accounting irregularities also exist. However, according to the fuzzy management theory, when the firm's performance is poor, managers tend to provide information in a vague and complex manner because the market may react to the information disclosed in a complex manner with a delay. The purpose of this research is the effect of the presence of women in the board of directors and the audit committee on accounting irregularities. In terms of purpose, the current research is an applied research, and in terms of the method of data collection, it is a post-event semi-experimental research in the field of accounting proof research, that is, it is based on the analysis of past information. In terms of data analysis method, it is correlation research. The current research is an applied research in terms of its purpose, and in terms of the method of data collection, it is a post-event semi-experimental research in the field of accounting proof research, that is, it is based on the analysis of past information. In terms of the data analysis method, it is correlational research, because the current research seeks to find the relationship between research variables in a statistical community. The research data were collected from the compact discs of the statistical and image archive of the Tehran Stock Exchange Organization, the Tehran Stock Exchange website, Rahvard Navin software. Finally, according to the volume of samples, the 13th version of Eviews software and Stata were used for data analysis. Based on the theory of gender socialization, men and women show different values when exposed to different moral development. Gender diversity expresses the differences in the moral and personality characteristics of men and women, and people's actions are a reflection of their inner thoughts and feelings. Therefore, the presence of women in the composition of the audit committee and the board of directors increases the effectiveness of the organization and reduces the costs of representing companies. The findings of the research indicate that the presence of women in the audit committee reduces financial irregularities in companies. Also, the findings indicate that the presence of women in the board of directors can have a negative and significant impact on financial irregularities through monitoring the opportunistic behavior of managers. [ABSTRACT FROM AUTHOR]