Purpose This study departed from the aim to progress Malaysia as a high-income nation in 2025 via decent work and economic growth (Sustainable Development Goal 8). Thus, this study aims to examine the effects of demographic, experience and organisational factors on the ethical integrity of local enforcement officers from self-proclaim and colleague perception perspectives. Design/methodology/approach The data of this study was collected from Pusat Latihan Penguatkuasa Selangor (PULAPES), a training centre for local enforcement officers in Selangor. Based on a survey in 2019, this study used primary data based on a scenario-based questionnaire survey with a total sample of 535 respondents. Findings From a self-proclaim perspective, the results show that secondment and training factors have a positive relationship with the ethical integrity of local enforcement officers. From a colleague perception perspective, the results indicate that the secondment factor has a positive relationship with ethical integrity. In contrast, the officer rank factor has a negative relationship with the ethical integrity of local enforcement officers. Practical implications This research seeks to develop new theories or refine existing ones to explain how diverse circumstances affect law enforcement ethics. Learning people’s habits through observation and consequences like rewards or punishments impact behaviour recurrence are suggested. Law enforcement ethics can be examined by examining how peers, supervisors and organisational culture shape officers’ ethics. Social implications The finding of this study could serve to evaluate training programmes or rewards and punishments for ethical behaviour including how accountability and community involvement aid to promote law enforcement ethics. Originality/value The survey results of this study are based on local enforcement officers’ ethics that serve to aid in illuminating the elements which affect ethical behaviour among law enforcement personnel and identify the tactics for fostering ethical behaviour.