Purpose: This research investigates safety practice compliance among urban vegetable farmers in Ghana's Ashanti Region and its implications for the environment, farmers' health, and consumer safety. Design/methodology/approach: An empirical approach was adopted, utilizing field survey data from 387 urban vegetable farmers in key vegetable-producing communities. The study employed various data analytical techniques, including frequency distributions, a Bonferroni multiple comparisons test, and ordered logistic regression. Findings: The research emphasizes the need for enhanced awareness and education among farmers to ensure adherence to safety practices. It reveals a significant positive relationship between farmers' awareness and compliance, underlining the role of informed decision-making and knowledge dissemination. Additionally, higher gross margin values are associated with increased compliance, indicating the motivating influence of profitability in allocating resources for safety measures. Furthermore, farming experience is positively linked to compliance, emphasizing the importance of practical knowledge and expertise. Practical implications: Based on the findings, the research offers policy recommendations to promote compliance with safety practices. These include enhancing farmer education and awareness programs, improving profitability and market access, fostering knowledge-sharing platforms, addressing affordability concerns, and strengthening enforcement and monitoring. Implementing these measures will enhance compliance, safeguarding the well-being of farmers, consumers, and the environment, thereby ensuring the long-term sustainability and growth of Ghana's urban vegetable sector. Research limitations/implications: While this study focused specifically on urban vegetable farmers, pesticide usage extends beyond vegetable production in Ghana. Future research should incorporate essential crops like maize, cassava, and rice to provide a more comprehensive assessment of pesticide practices and their implications in the broader agricultural context.