ABSTRACTWhile doing good things, enterprises may also be subject to subjective or unintentional behaviors of doing bad things, and corporate performance is comprehensively affected by its dual social responsibility. Using data from A‐share listed companies from 2010 to 2020, this paper, grounded in signaling theory, legitimacy theory, and stakeholder theory, analyzes the dual‐path effects, comprehensive effects, and boundary effects of corporate social responsibility (CSR) and corporate social irresponsibility (CSIR) on corporate performance. It innovatively introduces innovation efficiency as a mediating variable to examine its transmission mechanism and pathways in the influence of dual social responsibility on corporate performance. The study finds that CSR and CSIR have independent and heterogeneous effects on corporate performance, with the former exhibiting an inverted U‐shaped relationship with corporate performance and the latter consistently exerting a negative impact. The coexistence and interaction of CSR and CSIR have a comprehensive effect on corporate performance, where CSR performance can mitigate the negative impact of CSIR, and there exists a threshold effect. CSR has a nonlinear impact on innovation efficiency, and innovation efficiency plays a significant mediating role in the process of CSR and CSIR affecting corporate performance. The industrial environment competition plays a moderating role in the relationship between a company's dual social behavior and its performance. The higher the industrial environment competition, the more it will accelerate and intensify the negative impact of CSIR on corporate performance. Additionally, it will steepen the inverted U‐shaped curve of CSR influencing corporate performance and shift the inflection point to the left. This study not only extends the boundaries of research on the impact of CSIR on corporate performance but also provides insights for corporate social responsibility governance and ethical decision‐making in business.