Introduction

The teaching profession is becoming increasingly challenging due to continuous education reforms. These transformations require teachers to be highly adaptable in coping with new schemes and rules and dealing with heavier workloads. As a result, teachers must commit to working beyond their formally contracted job duties and role obligations to excel and succeed in the education field [1,2,3].

Given these demands, it is crucial to understand the factors that shape teachers’ organizational citizenship behavior (OCB), a type of behavior that goes beyond formal job requirements to benefit the organization [4, 5]. According to Luthans and Youssef [6], OCB is a prototypical form of Positive Organizational Behavior (POB). Individuals with high OCB are more inclined to assist others, build relationships, and thrive at work. This behavior contributes significantly to the performance and effectiveness of schools, as evidenced by numerous empirical studies [7,8,9,10]. OCB is recognized as one of the most extensively studied outcomes in organizational behavior and industrial psychology, particularly within the education sector [11,12,13,14,15,16]. Previous research has highlighted the critical role of OCB in promoting a conducive working atmosphere and achieving organizational goals [7,8,9,10]. Studies have also revealed that OCB contributes significantly to the welfare of individuals, groups, and organizations [17]. By fostering a positive and collaborative work environment, OCB plays a crucial role in the overall success and effectiveness of educational institutions.

OCB is distinct within the broader employee behavior literature because it focuses on discretionary behaviors beyond formal job requirements, ultimately enhancing organizational functioning. DiPaola and his colleagues argued that OCB can be defined differently in service organizations such as universities, hospitals, and schools, which typically employ professionals to work within their organizations [18]. This is because OCB in education is distinct from OCB in other service organizations due to the nature of professional roles. Teachers often have roles that extend beyond traditional job descriptions. Their professional responsibilities include mentoring, community engagement, and contributing to the holistic development of students, which requires a broader and more flexible definition of OCB. Schools aim primarily to improve student achievement. Helpful behaviors by teachers benefit both students and colleagues, supporting the school’s mission of helping people. Collaboration among teachers in teaching and their support for students learning contribute to the achievement of the school’s overall goals [19, 20]. Therefore, teachers’ professional goals are closely aligned with the school’s organizational goals. This shows that teaching differs greatly from private organizations and other professions or types of service employee behavior [21].

To date, the existing studies have empirically affirmed that organizational justice [11], teacher self-efficacy [22], perceived organizational support [23], human resource management practices [8], and leader-member exchange [24] are significantly related to OCB among teachers. Notwithstanding these abundant research outcomes, empirical studies that examined trust and efficacy constructs in connection with OCB remain limited [22, 25]. Both trust and efficacy constructs (i.e., teacher self-efficacy and collective efficacy) are paramount in enhancing interpersonal relationships between the leader and employees in general [26]. Zheng et al. [27] explicitly indicated that a trusting relationship among teachers is one of the best ways to improve the effectiveness of teachers’ collaboration. Moreover, trust facilitates interaction and understanding among teachers. Thus, it is undoubtedly essential in strengthening and promoting a harmonious relationship in the school. In turn, teachers will be more passionate about practicing OCB, such as assisting a colleague to accomplish challenging tasks and accommodating the colleague’s work schedule. On the other hand, self-efficacy is recognized as an important personal resource that can promote an individual’s performance both at work and in the educational context [28]. Teachers with high self-efficacy are confident in their ability to manage classrooms, address challenges, and achieve goals. This confidence motivates them to go beyond their primary responsibilities, positively contributing to the school environment through OCB [29].

Based on the above argument, we propose two research objectives for this study. The first focal point of this paper is to examine the mediating effect of teacher self-efficacy on the relationship between trust in colleagues and OCB. We contended that trust would significantly encourage teachers to practice OCB, provided that they are competent enough to assist others in the workplace [9]. Choong et al. [22] argued that teachers with mutual understanding and high acceptance would further encourage them to interact and communicate more openly, which stimulate an authentic form of collaboration in the school. Eventually, trust among colleagues improved teachers’ self-efficacy, further fostering their interpersonal altruism [30, 31]. Nonetheless, teachers’ trust in their colleagues would not necessarily induce their strong desire to offer assistance or lend their helping hands to others unless they possess sufficient skill, confidence, and capabilities.

Huang et al. [32] reveal that as long as trust among colleagues is formed, continuous collaboration and professional learning communities will be developed, which would enhance teachers’ self-efficacy. Eventually, teachers will have confidence in their ability to execute the desired behavior. This could be further explained in the agentic perspective of social cognitive theory (SCT) [33] argued that “human behaviors are characterized by intention (i.e., actions are originated for specific purposes) and forethought (i.e., behaviors are regulated in accord with outcome expectations), in which both are driven by self-reflectiveness about one’s capability” [34].

The second focal point of this study is to test the moderating effect of collective efficacy on the relationship between teachers’ self-efficacy and OCB, as well as the relationship between trust in colleagues and OCB. Earlier findings indicated that collective efficacy is an effective mediator [1, 35,36,37], precursor [35, 38], and even an outcome [1, 35, 39] of OCB, however, the existing literature rarely examined the moderating effect of collective efficacy on OCB. As such, it becomes one of the areas that remain underexplored in organizational behavior literature, in which this research intends to fill the gap by treating collective efficacy as a moderator between teacher self-efficacy and OCB as well as trust in colleagues and OCB.

We argued that the effect of the proposed direct relationship is stronger when teachers perceived collective efficacy is high. Teachers who share the same belief in the organization tend to join together and pool their resources to achieve their mutual objective or to solve their common problem [40]. Lev and Koslowsky [40] asserted that teachers tend to dwell on a school’s past achievement and success. A high trust workplace allows teachers to work together in a comfortable environment and assist each other.

This study is expected to contribute to the extant organizational behavior literature by integrating trust in colleagues, teacher self-efficacy and collective efficacy as factors of OCB. Accordingly, two research questions are derived from the research objectives: (1) Does teacher self-efficacy mediate the relationship between trust in colleagues and OCB? (2) Does collective efficacy moderate the proposed direct paths? This paper unfolds as follows. A detailed literature review with underpinning theories and hypotheses development is presented in the following section. The subsequent part includes the research method, data analysis, and presentation of results. The final section covers the discussion of results, implications, and conclusion.

Literature review

Theoretical background

Two theories, Social Exchange Theory (SET) and SCT are used as an underlying basis to understand the social interaction between two parties in a school context. SET is conceptualized as a type of exchange relationship that goes beyond the employment contract in which people engage in an action that generates reciprocate exchange obligations between two or more parties [41, 42]. The relationship with an organization is viewed by an individual as being an acceptable commodity for exchange, whereby the quality of the relationship is built upon the principle of reciprocity [43]. It simply means that an individual tends to behave in a way that is perceived to be appropriately recompensed for how an organization has treated the individual [11]. Thus, we argued that teachers would do more and move beyond the call of duty by helping their colleagues to accomplish their work if their colleagues trusted them. Colleague support would prompt an obligation to repay favor from one another by devoting extra resources and effort to the assigned tasks [44]. We also contended that a supportive gesture, as portrayed by teachers in every day’s schoolwork, can trigger a personal emotional state to feel more attached to the school in which they are serving. Thus, it could further enhance teachers’ confidence in performing their daily tasks.

SCT is defined as an individual’s belief in his or her capability to organize and implement a plan of action necessary for goal attainment [45]. The SCT states that the efficacy belief is anchored in the agency assumption, in which there is a high possibility for individuals to perform certain activities when they believe in their capability to complete the duties or tasks [46,47,48]. As such, teachers who possess a high level of efficacy will have great confidence and a strong belief that they are able to carry out specific tasks successfully and provide helping hands to colleagues [1]. Apart from this, we also asserted that collective efficacy could act as a moderator on the relationship between trust in colleagues and OCB as well as teacher’s self-efficacy and OCB. Schechter and Tshcannen-Moran [49] denoted that teachers with a high sense of individual self-efficacy might have a different level of performance in a high collective efficacy environment. Individual teachers with a high efficacy level may not necessarily perform well or be willing to provide support to their colleagues if they perceive a low sense of conjoint capability to perform and achieve a common objective. Goddard and Goddard [48] added that individual self-efficacy and collective efficacy are different constructs, but both can be influenced by one another in reciprocal ways. Similarly, teachers who trusted their colleagues would offer their assistance to their colleagues as they believed that their team members could perform well in the given tasks.

Trust in colleagues and organizational citizenship behavior

Trust is depicted as “a person is willing to be vulnerable to another based on the confidence that the other is benevolent, honest, open, reliable and competent” [50]. Hoy and his colleagues contended that trust is a multifaceted construct comprised of benevolence, reliability, competency, honesty, and openness. This multifaceted construct can be related to several referent groups such as teachers, students, parents, administrators, and organizations. However, trust in colleagues is the only focus of this research as teachers spend most of the time with their colleagues in order for them to accomplish their daily tasks. Zheng et al. [34] explained that employee experience of felt trust might influence their in-role and extra-role performance. Teachers who trust their colleagues tend to believe that such citizenship behavior could be reciprocated if they openly share information and be true to others [22, 51]. According to SET, individuals engage in behaviors that they believe will be reciprocated. When teachers trust their colleagues, they are more willing to go beyond their job requirements, knowing that their efforts will be acknowledged and reciprocated (52,53). This mutual support fosters a positive work environment where OCB thrives. Conversely, teachers may not offer their kind help to their colleagues who are always unreliable, not good-natured, and not big-hearted. Edwards-Groves et al. [54] clearly expressed that trust is not only the foundation of school effectiveness and student achievement, but it also leads to open communication and an authentic form of collaboration among teachers.

In addition, the reciprocity inherent in SET explains why trust leads to increased OCB. Teachers who trust their colleagues are more likely to exhibit helping behaviors because they anticipate mutual support in return, reinforcing a culture of collaboration and mutual aid. This aligns with the findings of Choong et al. [52, 53], who demonstrated that trust within teams not only enhances collaboration but also motivates individuals to go beyond the basic requirements of their roles to contribute to the success of their colleagues and the organization as a whole. Khan et al. [55] further support this notion by highlighting how the quality of supervisor-subordinate Guanxi (i.e., interpersonal relationships) significantly influences employees’ work behaviors. Positive Guanxi fosters trust and mutual understanding, which, in turn, leads to enhanced work behaviors, including increased cooperation and OCB. Additionally, Chughtai and Khan [56] emphasize that trust and knowledge-oriented leadership contribute to employees’ innovative performance by creating an environment where they feel supported and motivated to take the initiative. These findings collectively signify the pivotal role of trust in not only promoting OCB but also in stimulating innovation and enhancing overall work behavior through strong interpersonal relationships. Therefore, we propose the following hypothesis:

Hypothesis 1

Trust in colleagues is positively related to organizational citizenship behavior.

Teacher’s self-efficacy as mediator

The existence of trustworthiness between colleagues will provide a feeling of safety with positive thinking. It fosters relationships among colleagues by openly sharing information and being truthful with others. This further encourages them to learn from their colleagues, which in turn promotes a greater sense of efficacy [51]. Teacher’s self-efficacy is defined as “the teacher’s belief in his or her capability to organize and execute courses of action required to accomplish a specific teaching task in a particular context” [57]. Yin et al. [58] indicated that integrity and authenticity among colleagues would enable teachers to appraise others truthfully. Trust can serve as a source of self-efficacy where it strengthens an individual’s belief that he or she is capable of performing a specific task [34, 59]. It can be done through felt-reliance and felt-disclosure. People who are equipped with relevant work-related skills and knowledge possess a good working capability that others can rely upon. Likewise, a trusting working environment in school facilitates the sharing of information and skills among colleagues, encouraging others to share their resources reciprocally, which is beneficial for teachers to accomplish their tasks and work goals.

SCT explains that trusted colleagues often provide encouragement and constructive feedback, which are crucial components of social persuasion [60]. Positive reinforcement from trusted peers strengthens teachers’ belief in their ability to perform teaching tasks effectively [61]. Studies by Ma et al. [62] highlighted that verbal encouragement, especially when provided by trusted colleagues, significantly boosts teachers’ self-efficacy, assuring them of their capability to meet their professional demands. This verbal encouragement directly enhances self-efficacy. Thus, trust not only facilitates resource sharing and collaboration but also plays a key role in enhancing teachers’ self-efficacy through social persuasion and feedback mechanisms. The trusting relationships between colleagues allow for continuous professional development, helping teachers build the confidence they need to succeed. Therefore, we propose the following hypothesis.

Hypothesis 2

Trust in colleagues is positively related to teacher’s self-efficacy.

Dybowski et al. [63] contended that teachers with a greater sense of self-efficacy are more desirous and ambitious to set challenging goals for themselves. Teachers with high self-efficacy are self-assured that they can influence students’ learning outcomes and academic achievement [64, 65]. Besides, they tend to have greater persistence in the face of adversity and willingness to work beyond the call of duty [1, 22]. From the perspective of SCT, “efficacy beliefs determine how environmental opportunities and impediments are viewed” [66]. Thus, Skaalvik and Skaalvik [35] argued that efficacy belief could influence individual goals, motivation, behaviors, and even extra-role behaviors. If people regard themselves as capable of performing the assigned tasks, they are more confident and obliging. Paramasivam [67] elucidated that teachers are solely driven by internal motives instead of external motives such as rewards and recognition. Teachers’ key driving factors for performing OCB are primarily based on their internal belief system, such as self-confidence and a strong belief that they are able to make a difference.

SCT highlights that teachers with high self-efficacy often model positive behaviors for their peers [68]. When they engage in OCB, such as volunteering for extra duties or supporting colleagues, they set an example for others to follow [69]. Observing these behaviors can inspire other teachers to adopt similar actions, creating a culture of OCB within the school. SCT further suggests that as teachers with high self-efficacy engage in these behaviors, they often receive positive reinforcement from their peers and administrators, further strengthening their belief in their capabilities. This ongoing feedback loop reinforces the connection between self-efficacy and OCB, creating a sustainable culture of mutual support and collaboration [52, 53]. Thereby, the following hypothesis is proposed.

Hypothesis 3

Teacher’s self-efficacy is positively related to organizational citizenship behavior.

As noted earlier, teachers are keen to learn from each other in a trusting atmosphere and develop their sense of efficacy. Similarly, teachers with high self-efficacy often show citizenship behavior. However, we contend that teachers who trust their colleagues may not necessarily demonstrate extra-role behavior if they do not have adequate confidence and skill to help others [22]. On the contrary, teachers with high self-efficacy are more eager to help those authentic colleagues. In short, trust can foster and sustain a quality relationship between colleagues by encouraging them to have healthy communication that further stimulates cooperation and knowledge sharing. This, in turn, will lead them to learn from each other. Subsequently, this enhances their confidence and capability to extend their helping hands to others who face difficulties in their job. Otherwise, an untrustworthy relationship will discourage teachers, more self-serving and not willing to help others. Zheng et al. [34] indicated that teachers’ confidence and capability are the pre-conditions for effective task accomplishment. Moreover, Huang et al. [32] as well as Yin et al. [56] connoted that trust in colleagues could be a form of support that triggers more collaboration and creates a mutual learning community in the workplace. This could serve as a platform for teachers to learn from each other and enhance individual self-efficacy, which eventually encourages them to help others and share their valuable knowledge. As indicated by SET, teachers who trust their colleagues and feel efficacious are more likely to engage in OCB, which in turn reinforces trust and further enhances self-efficacy (53). As they help others and share their knowledge, they reinforce a positive cycle where trust is continually built, and self-efficacy is further enhanced [70]. This reciprocal dynamic creates a supportive and collaborative work environment where OCB thrives, and teachers are more willing to contribute beyond their formal responsibilities. Therefore, trust and self-efficacy work together to foster a culture of collaboration and mutual aid among teachers. Trust facilitates the exchange of knowledge and the development of self-efficacy, while self-efficacy empowers teachers to engage in OCB, which in turn reinforces trust. Thus, we propose the following mediating hypothesis:

Hypothesis 4

Teacher’s self-efficacy mediates the relationship between trust in colleagues and organizational citizenship behavior.

Collective efficacy and moderator

Collective efficacy is defined as “an individual teacher’s beliefs that the school as a whole can implement and organize courses of actions affecting students and their levels of attainments” [71]. The strength of the relationship between teacher self-efficacy and OCB is stronger in a higher collective efficacy environment, while the relationship is weaker when there is low collective efficacy in a school milieu. Likewise, we also postulated that the strength of the relationship between trust in colleagues and OCB is stronger when collective efficacy among school teachers is high. On the contrary, this relationship will be weaker if the teacher perceives a lower sense of collective efficacy.

SCT posits that individual self-efficacy is influenced by collective efficacy, which is the group’s shared belief in its conjoint capabilities to organize and execute actions required to achieve goals [72]. Teachers with high self-efficacy are more likely to engage in OCB if they are part of a group that believes in its collective power to effect change. Lev and Koslowsky [40] argued that teachers are more willing to assist and support others if they have a common belief and are willing to pool their resources and share useful skills with others. Conversely, if teachers do not have confidence in their teams’ or colleagues’ capabilities in achieving the common objective, they are less likely to help others even though they have the resources such as skills, knowledge, experiences, and time. Goddard et al. [73] explain that an individual’s perceived collective efficacy would strongly influence faculty members’ effort and persistence. Teachers will not work beyond their formal job description if they find that their members do not put effort and lack of persistence in performing their tasks. Therefore, we argue that in an environment of high collective efficacy, there is a stronger sense of trust and mutual benefit among teachers (74).

Schools with a high sense of collective efficacy tend to have a stronger sense of trust and mutual benefit among teachers [36]. SET suggests that this trust fosters social exchanges that promote OCB, as teachers feel more secure in their roles and valued by their colleagues. In such environments, teachers are more likely to go above and beyond their formal roles, knowing that their contributions will be acknowledged and reciprocated by their peers [22]. Thus, we propose the following hypotheses:

Hypothesis 5

Collective efficacy moderates the relationship between teacher’s self-efficacy and organizational citizenship behavior, such that the relationship is stronger at high than low level of collective efficacy.

Hypothesis 6

Collective efficacy moderates the relationship between trust in colleague and organizational citizenship behavior, such that the relationship is stronger at high rather than low level of collective efficacy.

Proposed research model

A research model is proposed and shown in Fig. 1. Both SET and SCT are used to support the proposed research model. Overall, the aim of this study is twofold. First, we postulated that teacher self-efficacy significantly mediates the relationship between trust in colleague and OCB. Second, individual level of collective efficacy will significantly moderate the relationship between teacher self-efficacy and OCB as well as between trust in colleagues and OCB.

Fig. 1
figure 1

Proposed research model

Research methodology

Procedures and participants

Respondents were full-time teachers from Malaysian government schools. A paper-based questionnaire was used to collect the data on teachers’ perceptions toward trust in colleagues, efficacy, and citizenship behavior in the workplace. The fieldwork took place from September 2019 to October 2019 in 26 government secondary schools in Malaysia. Five well-trained research assistants were recruited to assist in data collection and they were briefed on the nature of the study, structure, and content of the survey and do and don’ts while approaching respondents. A quota sampling technique was used to select respondents, ensuring an equal sample from each school was approached and included in the study. We invited 20 teachers from each school to participate in our survey. Prior to fieldwork, ethical clearance was obtained from the research director of the institution and permission was granted by the Ministry of Education to conduct the survey in schools. A total of 520 teachers were invited to partake in the survey anonymously. Out of 520 teachers, 438 teachers agreed to respond to the survey. However, only 408 sets of questionnaires were usable which yielded a 78.46% response rate. Mellahi and Harris [74] highlighted that the acceptable range of response rates for top-tier journals in the areas of general management is 50%. Therefore, the response rate of 78.46% is good and acceptable. G*power software was used to check the sufficiency of sample size for data analysis [75]. With type-1 error probabilities of 0.05, the sample of 408 is also deemed to be sufficient to produce a statistical power of 80% for a moderate effect size of 0.15 [76].

The sample comprised of 162 (40%) male teachers and 246 (60%) female teachers. Most of teachers were married (n = 271, 66%), and earned a bachelor’s degree (n = 282, 69%). Out of 408 teachers, 152 (37%) teachers were less than 30 years old, 112 (27%) teachers fall within the range of 31 to 40 years old, 102 (25%) teachers aged from 41 to 50 years old and 42 (11%) teachers age more than 50 years old. Regards to teaching experience, 126 (31%) of them with less than 5 years of teaching experience, 76 (19%) teachers with 5 to 10 years, 83 (20%) teachers with 11 to 15 years, 81 (20%) teachers with 16 to 20 years, 11 (3%) teachers with 21 to 25 years and 30 (7%) senior teachers with more than 25 years teaching experience. There were fairly balanced in terms of organizational tenure which 209 (51%) teachers providing their service in their current school for more than 10 years and 199 (49%) teachers serve in their current school for less than 10 years.

Research instruments

The paper-based survey consists of two parts. Part one comprises of 51 items which used to measure trust in colleague, teacher’s self-efficacy, collective efficacy and organizational citizenship behavior. All of these items were adapted from past studies and were measured with a five-point Likert scale ranging from strongly disagree (1) to strongly agree (5). Part two comprised of 6 items pertaining to respondents’ characteristics such as gender, age, marital status, educational background, teaching experience, and organizational tenure. These items were measured with either an ordinal scale or a nominal scale.

Trust in Colleague. The scale was developed by Hoy and Tschnannen-Moran [77] which consists of eight items. Respondents were asked to indicate their level of agreement on the statements which reflect their level of trust towards their colleague. Items include “I am open with each other in my school” and “I have faith in the integrity of my colleague in my school”. The inter-item reliability for the 8-item scale was 0.85.

Teacher Self-Efficacy. We measured teacher self-efficacy with a 16-item measurement scale advanced by Gibson and Dembo [78]. Respondents were asked to indicate their level of agreement on the statements that describe their efficacy in performing teaching tasks. For instance, “When a student gets a better grade than he usually gets, it is common because I found better ways of teaching that student”. The internal consistency of this scale was 0.87.

Collective Efficacy. A twelve-item scale from Goddard [79] was adapted to measure collective efficacy. Respondents were requested to assess the extent to which the listed statements described their perception towards team or school conjoint capability in dealing with school common goals. An example of the item is “Teachers here are confident because they able to motivate their students.” The inter-item reliability for the 12-item scale was 0.91.

Organizational Citizenship Behavior. Organizational citizenship behavior was assessed with a single dimension comprised of 15 items developed by Dipaola and Tschannen-Moran [80]. Respondents were requested to assess the extent to which the listed statements described their willingness to exercise citizenship behavior in the school. Sample items include “I help teachers voluntarily” and “I take the initiative to introduce myself to assist teachers”. The Cronbach’s alpha of the scale was 0.96.

Several control variables were included in this study, such as gender, age, marital status, teaching experience, and organizational tenure. Marinova et al. [81] indicated that male married employees have higher tendencies to engage in OCB than female married employees or male non-married employees. Furthermore, Caesens and Stinglhamber [82] highlighted that senior employees with longer organizational tenure and more extensive work experience are more willing to help others.

Data analysis

Two software were used to analyze the data: Statistical Package of Social Science (SPSS V25) and Smart PLS version 3. Specifically, the descriptive analysis includes means, standard deviation, inter-correlations, and Harman Single factor test were conducted using SPSS software, whereas construct validity, reliability and structural model analysis were examined through Smart PLS software. The Smart PLS software was used as the main statistical tool to examine the research model as the direct paths, indirect path and moderation path can be tested together by using a structural equation modeling technique. Based on Hair et al. [83], the PLS-SEM approach is superior to regression analysis when assessing mediation.

The data analysis was divided into four parts: descriptive analysis, preliminary analysis, measurement model analysis and structural model analysis, which includes the testing of direct effect, mediating effect, and moderating effect paths analysis.

Descriptive analysis

Table 1 reveals the mean, standard deviation, and inter-correlation scores. Based on the inter-correlation analysis, all the variables are inter-correlated with each other. In contrast, none of the control variables (gender, age, marital status, teaching experience, and organizational tenure) are correlated with the study variables. This shows that the control variables did not significantly influence the outcome variable of this research (i.e., OCB).

Table 1 Mean, Standard Deviation and inter-correlations

Preliminary analysis

Due to the nature of the study, the data was collected through a single source which may raise the concern of common method bias [84]. Therefore, a Harman single factor test was pursued to ensure the data set was free from common method bias. An un-rotated factor analysis was performed using SPSS software. The first factor accounted 23.1 per cent of the variance which was well below the threshold value of 50 per cent [84]. In addition, we tested the Variance Inflation Factor (VIF), ensuring that all VIF scores were not more than 3.3, as recommended by Kock [85]. The VIF scores range from 1.004 for collective efficacy to 1.580 for trust in colleague. Therefore, the common method bias is not a serious threat in this study whereby the variations in responses may be caused by the actual predispositions of the respondents. For the normality of the data, both kurtosis and skewness were analyzed. It’s indicated that the data was normally distributed with less than the cut-off value of 2 [86].

Measurement model analysis

For the evaluation of the measurement model, the loadings, average variance extracted (AVE) and composite reliability were assessed. Table 2 shows the factor loadings score for items, average variance extracted (AVE) score and composite reliability score for each construct. The majority of the items were with factor loadings of 0.70 by Hair et al. [83]. However, several items’ loadings: two items from trust in colleagues and two items from teaching self-efficacy were lower than 0.70 which have been removed from the measurement model. All constructs’ AVE scores were greater than the threshold value of 0.50, ranging from 0.57 for teacher self-efficacy to 0.81 for OCB. At the same time, the composite reliability scores for constructs exceeded the minimum recommended value of 0.70 by Hair et al. [83]. Thus, it can be concluded that the measurement model possesses adequate convergent validity.

Table 2 Factor loadings, average variance extracted and Composite Reliability

The Fornell and Larcker criterion and Heterotrait-Monotrait (HTMT) criterion were used to confirm the discriminant validity of the measurement model. Table 3 reveals that none of the correlation values are greater than the scores on the diagonal (i.e. square root of AVE). Table 4 demonstrates that none of the HTMT criterion scores exceeded the conservative standard rule of thumb (HTMT0.85) [87]. As such, all the adopted constructs were distinct, and discriminant validity was well affirmed.

Table 3 Fornell and Lacker Criterion
Table 4 Heterotrait-Monotrait Criterion
Table 5 Path coefficient, t-Statistics and confidence interval

Structural model analysis

Following Hair et al.’s [83] recommendations, a bootstrapping technique with 5000 re-sample were conducted to generate path coefficients score, t-statistics, p-values, confidence intervals and effect sizes. The explanatory power for OCB was 0.80 (R2) and teacher self-efficacy was 0.60 (R2). Table 4; Fig. 2 demonstrate that trust in colleague is positively related to OCB (β = 0.12, t = 1.75, p < 0.05) and teacher self-efficacy (β = 0.77, t = 22.39, p < 0.001). The relationship between teacher self-efficacy and OCB was also shown positively significant (β = 0.38, t = 4.59, p < 0.001). Thus, hypotheses 1 to 3 were supported by the data. For mediation analysis, the relationship between trust in colleague and OCB is significantly mediated by teacher self-efficacy (β = 0.29, t = 4.72, p < 0.001), thereby supporting hypothesis 4. Since the direct path of trust in colleague and OCB is also significant, therefore, the mediation path is considered partial mediation [88]. The moderation analysis showed that collective efficacy significantly moderates the relationship between teacher self-efficacy and OCB. Figure 3 depicts that teacher self-efficacy is positively related to OCB when collective efficacy is high. Nevertheless, when collective efficacy is low, teacher self-efficacy leads to a decline in OCB. Thus, hypothesis 6 is supported. On the other hand, hypothesis 7 is not supported, as collective efficacy did not moderate the relationship between trust in colleagues and OCB (Table 5).

Fig. 2
figure 2

Path model statistical results

Fig. 3
figure 3

Moderation graph for Hypothesis 5

Teacher self-efficacy has the strongest impact on teacher self-efficacy, with an effect size (f2) of 1.47, exceeding 0.35, which indicates a large effect size [89]. The effect size for the relationship between teacher self-efficacy and OCB was at a moderate level (> 0.15). The remaining relationships fall within the small effect size range (> 0.02), except for the relationship between trust in colleague and OCB.

Discussion

Despite earlier studies have examined the relationship between trust, teacher self-efficacy and OCB [22, 35, 51, 53], little is known about the mediating mechanism of teacher self-efficacy and moderating effect of collective efficacy. Our present study reveals that trust in colleagues is positively related to OCB. This finding is consistent with past studies [1, 34]. As contended by Zheng et al. [34] (2019), trust could lead employees to perform both in-role and extra-role behaviors. Teachers tend to share their genuine feelings during their interpersonal interactions in a trustful environment [90]. It’s even encouraged them to openly share their knowledge with colleagues, and subsequently prompts them to repay a favor from one another by performing extra-role behavior [44, 51].

The result of this study further demonstrated that teacher self-efficacy mediates the relationship between trust in colleagues and OCB. Choong et al. [22] posited that trust in colleagues has a positive role in improving teacher self-efficacy. This is affirmed by Bandura [59] and Zheng et al. [34] that trust can serve as a source of self-efficacy by persuading someone to believe that they can perform difficult task successfully. An authentic kind of collaboration would strengthen the teacher’s efficacy by sharing and learning from others. A capable teacher would then be more willing to help others [35]. Ng and Lucianetti [91] further argued that trust creates an environment that enhances individual self-efficacy. Trust is a form of positive emotional signal to self-efficacy that impel innovative behavior. Teachers tend to be supportive and create a mutual learning community by encouraging more collaborations and sharing which further enhance each other efficacy level [56]. A trustful climate not only enhances self-efficacy but also stimulates teachers to actively practice citizenship behavior [35]. As denoted by Choong et al. [22], teachers would not necessarily exhibit helping behavior in a trustful environment, unless they are confident and with adequate skills in helping others.

The moderating role of collective efficacy on the relationship between teacher self-efficacy and OCB is an intriguing result of this study. As speculated, the strength of the relationship between teacher self-efficacy and OCB is stronger in a high collective efficacy environment than low collective efficacy environment. Hence, one of the valuable contributions of this study is it extends the literature on teacher self-efficacy and OCB. Teachers with high self-efficacy are more eager to support others if they share a common bond of interest and belief in their conjoint capability to achieve their common goal [40, 92, 93]. In contrast, low collective efficacy indicates a lack of cooperative and supportive group dynamics, which can result in negative emotions among teachers, thus reducing their desire to engage in OCB even if they believe in their abilities. The adverse relationship between teacher self-efficacy and OCB when collective efficacy is low provided an interesting insight. This further reinforces the argument that collective efficacy is an important asset of a school [73] as it is a condition that enables teachers to leverage their self-efficacy and demonstrate extra-role behavior. On the other hand, there is no moderating effect of collective efficacy on the relationship between trust in colleagues and OCB. This demonstrates that regardless of high or low degree of collective efficacy environment, teachers would engage themselves to help those who always show truthfulness and sincerity [51].

Theoretical implication

Several implications can be inferred based on the research findings. First, this study examined the mediating effect of teacher self-efficacy on the relationship between trust in colleague and OCB. The results showed that a partial mediation exists on the proposed mediating path. Thus, we can treat teacher self-efficacy as a complementary construct when explaining the relationship between trust in colleague and OCB. This implies that trust in colleague can influence OCB directly as well as influence through teacher self-efficacy on OCB.

Next, this study also inferred that collective efficacy could be treated as a moderator. Past studies have examined collective efficacy as an antecedent and as an outcome variable of OCB, but the research that treats collective efficacy as a moderator is sparse. Thus, this study offered a valuable contribution by affirming that collective efficacy is able to foster a positive interpersonal climate of cooperation among school members. That is, the perception of low collective efficacy would undermine the development of a supportive work environment in the school, thus adversely affecting teachers’ ability to handle challenging projects and achieve the common school objectives [94].

Practical implications

Two practical implications can be derived from the findings of this study. First, school management should actively organize several programs to enhance and promote a trusting atmosphere in the school workplace. The mean score for trust in colleagues is the lowest as compared with other constructs (mean = 3.62). Thus, it is recommended that school management should arrange a socialization program more regularly for existing teachers as well as newcomers or newly assigned teachers to the group [95]. Homans [96] indicates that a positive socialization experience and a forum for employees to interact with each other could strengthen peer relationships and eventually encourage trusting behavior. During the socialization program, teachers and newcomers are being informed with the group expectation and familiarize with the group members before they could work together effectively to accomplish the group objective [97].

Second, the finding revealed that efficacy: teacher self-efficacy and collective efficacy are one of the crucial elements to motivate teachers to exhibit citizenship behavior. Teacher self-efficacy could be improved through the development of the four primary sources of efficacy: mastery experience, vicarious experience, social persuasion, and affective states [48]. Mastery experience could be enhanced by implementing and building a culture of recognition, either monetary or non-monetary. This could be a form of motivation, engage and make them feel special and further improve their self-confidence. Whereas for vicarious experience, teachers are given opportunities to observe and understand how a top performer provides their secret recipe for achieving high performance. Next, teachers are also encouraged to update their knowledge and skills by attending regular workshops and trainings, thereby improving their ability to perform critical tasks [1]. For social persuasion, every team leader or principal played an important role by acting as a positive persuader which to convince and motivate team members to believe in their self-capability as well as conjoint capabilities in order to achieve the school goal. Lastly, for affective states, it is very common that teachers may face failure and disappointment in their job performance. This would influence teachers’ emotions negatively and discourage them to strive harder and work energetically. Therefore, a wellness program should be offered to teachers including stress management, time management, and fitness program, health management.

Limitations and future research

The first limitation of this study was its reliance on cross-sectional data which does not permit causal inferences. In the future, a more comprehensive longitudinal design approach should be adopted to establish sufficient causal relationships. Second, this study was conducted in the context of public schools, thus the findings cannot be generalized to private school settings. Future studies should extend the present research model to the private school context which may provide different insights to different stakeholders: school management and academics. Thirdly, since this study was conducted before the COVID-19 pandemic, it may not fully reflect the current organizational dynamics. Therefore, we propose that similar or more advanced studies be conducted in the post-pandemic era. Such studies could yield different results that would benefit the relevant stakeholders. Next, we suggest including responsible leadership or supportive leadership in future studies as leadership is an important source of professional learning among teachers [98]. With the support of professional learning, the efficacy level of teachers can be further enhanced, enabling them to perform OCB in the school context [99]. Lastly, while this study focused on teachers’ self-efficacy in general, future research can specifically evaluate the role of creative self-efficacy, a precursor of innovative behavior [5], and it is likely to foster voluntary initiatives and the sharing of creative teaching approaches among colleagues.

Conclusion

The present study provides significant contributions in both theoretical and practical aspects. It provides useful insights to school management and academics on the importance of promoting trust among teachers and developing self-efficacy and collective efficacy in a school context. Two key contributions are highlighted in this study: (1) teacher self-efficacy partially mediates the relationship between trust in colleague and OCB and (2) collective efficacy significantly mediates the relationship between teacher self-efficacy and OCB. The current study concludes that trust and efficacy should not be neglected if we intend to ingrain the long-standing of helping attitudes.