BackgroundAntibiotics are increasingly becoming ineffective as antimicrobial resistance (AMR) continues to develop and spread globally—leading to more difficult to treat infections. Countries such as Uganda are still challenged with implementation of AMR related strategies due to data paucity. This includes a lack of data on the prevailing knowledge and awareness of antimicrobial resistance and antibiotic use among farming communities, both commercial and subsistence, which are instrumental in the implementation of targeted interventions. The aim of our study was to assess the knowledge, attitudes and practices on AMR among subsistence and commercial farmers in Wakiso district, central Uganda.MethodsA cross-sectional study was conducted using a semi-structured questionnaire in Wakiso district, Central Uganda in between June and September 2021. Polytomous latent class analyses were performed to group participants based on their responses. Multivariable regression and conditional inference trees were used to determine the association between demographic factors and knowledge on antibiotics and AMR.ResultsA total of 652 respondents participated in the study among whom 84% were able to correctly describe what antibiotics are. Subsistence farmers (OR = 6.89, 95% CI [3.20; 14.83]), and to a lesser extent, farming community members which obtained their main income by another business (OR = 2.25, 95% CI [1.345; 3.75]) were more likely to be able to describe antibiotics correctly than individuals involved in commercial farming. Based on the latent class analysis, three latent classes indicating different levels of knowledge on AMR, were found. Subsistence farming, higher educational level and younger age were found to be associated with belonging to a class of better knowledge.ConclusionThe majority of participants were able to correctly describe antibiotics and aware of AMR, however there was some degree of misunderstanding of several AMR concepts. Targeted AMR interventions should improve awareness and also ensure that not only subsistence farmers, but commercial farmers, are included.