BackgroundBias, whether implicit (unconscious) or explicit (conscious), can lead to preferential treatment of specific social groups and antipathy towards others. When healthcare professionals (HCPs), including pharmacists, act on these biases, patient care and health outcomes can be adversely affected. This study aims to estimate implicit and explicit racial/ethnic bias towards Black and Arab people among community pharmacists in Ontario, Canada. MethodsCommunity pharmacists participated in a secure, web-based survey using a cross-sectional design that included Harvard’s Race and Arab Implicit Association Tests (IATs) to examine bias towards Black and Arab people. Explicit (stated) preferences were measured by self-report. Data were analyzed using descriptive and inferential statistics. ResultsThe study surveyed 407 community pharmacists, 56.1 % of whom were women with an average age of 46.9. Implicit Association Test (IAT) results showed a statistically significant moderate preference for white people over both Black (mean IAT = 0.41) and Arab people (mean IAT = 0.35). However, most pharmacists explicitly stated that they had no racial/ethnic preference, with 75.7 % expressing a neutral preference between Black and white and 66.6 % neutral between Arab and white. However, a slight preference for white individuals was observed. Demographic factors such as age, place of birth, race/ethnicity, and experience significantly impacted IAT scores. For example, older, Canadian-born, white pharmacists with more experience displayed higher implicit bias scores. A mild correlation was found between implicit and explicit bias, indicating as implicit bias increases, explicit bias tends to become more negative. ConclusionsThis study is the first to explore the issue of pharmacist bias in Canada and concentrate on anti-Arab bias. Our findings reveal that Ontario community pharmacists tend to have an unconscious inclination towards white people, which calls for further understanding of this matter. Additionally, we discovered a moderate degree of anti-Arab bias, indicating that studies on other HCPs should consider bias against this social group. Educational interventions are needed to address the implicit biases among community pharmacists in Ontario, Canada. These findings should aim to raise self-awareness of biases, educate about the potential implications of these biases on patient care, and provide strategies to reduce bias.