PurposeWhile the performance consequences of workplace ostracism (WO) have been examined in many studies, relatively little is known about WO's relationship with work effort (WE), which is a vital part of the performance domain. Moreover, the literature is largely silent regarding how WO translates into reduced effort and when such effects are less likely. The purpose of the study is to bridge these gaps. Specifically, the paper examines the relationship between WO and WE, taking into account the mediating role of emotional exhaustion (EE) and the moderating role of work centrality (WC).Design/methodology/approachData for the study came from an online survey of 310 full-time employees of service-sector organizations in Pakistan. The PROCESS macro, a robust computational tool for research models involving both mediating and moderating mechanisms, was used for analysis.FindingsWO was found to be a risk factor for organizations in that it not only induces/aggravates strain in employees, but also hampers them in expending effort in given roles. Findings further highlight that the negative relationship between WO and WE is mediated by EE and moderated by WC.Research limitations/implicationsOwing to the cross-sectional data and correlational research design, the study has limited power to make causal inferences about the relationships between the constructs (e.g. WO and WE). Further, the study is conducted in a collectivist culture where people are particularly sensitive to WO; it is, therefore, possible that the strength of relationships between the constructs might differ in individualistic cultures.Practical implicationsApart from informing management practices in relation to minimizing the occurrence of WO, the study also offers valuable insights into how employees can protect themselves from the negative effects of WO.Originality/valueThe study is among the very few empirical works that simultaneously explicate how and when WO jeopardizes employees' WE.