Policymakers concerned about maintaining the integrity of science have recently expanded their attention from a focus on misbehaving individuals to characteristics of the environments in which scientists work. Little empirical evidence exists about the role of organizational justice in promoting or hindering scientific integrity. Our findings indicate that when scientists believe they are being treated unfairly they are more likely to behave in ways that compromise the integrity of science. Perceived violations of distributive and procedural justice were positively associated with self-reports of misbehavior among scientists.