IntroductionDiabetes is a highly prevalent disease that negatively impacts people’s health and quality of life. It can result in diabetic peripheral neuropathy (DPN) and foot complications, which in turn lead to ulcers and amputations. The international guidelines on diabetic foot included specific foot-ankle exercises as preventive strategy capable of modifying the risk factors for ulcers. Our aim is to test the effectiveness and to implement a contextually appropriate preventive intervention—a foot-ankle exercises programme alongside educational strategies—in a primary care setting to improve range of motion (ROM), strength, functionality of foot-ankle, and quality of life in people with diabetes.Methods and analysisThis is a hybrid type 2 implementation-effectiveness study organised in four phases, being undertaken in Limeira, São Paulo. Phase 1, preimplementation, aims to gather information about the contextual characteristics, barriers, and facilitators and to form the implementation team. In phase 2, the implementation team will structure the foot-ankle programme, adapting it to the context of primary healthcare, and develop the training for health professionals. In phase 3, effectiveness of the 12 week group-based intervention will be tested by a cluster randomised controlled trial. Primary care units (18 clusters) will be randomly allocated to a control or intervention group, with a total sample of 356 people. Primary outcomes will be DPN symptoms and ankle and first metatarsal phalangeal joint ROM. Reach, adoption, and implementation will be evaluated by Reach, Effectiveness, Adoption, Implementation, and Maintenance framework. In phase 4, maintenance and expansion of the programme in the municipality will be assessed.Ethics and disseminationThis protocol and the informed consent to be signed by the participants were approved by the Ethics Committee of the School of Medicine of the University of São Paulo (CAAE:63457822.0.0000.0068, 29 November 2022). The project will generate and share data in a public repository. Results will be disseminated through peer-reviewed journals, conference proceedings, and electronic communications for health professionals.Trial registration numberNCT05639478.