Patient education is a crucial strategy for promoting prevention and diabetes self-management since glycemic control achievement involves taking medications, medical nutrition therapy, physical exercise, and behavior changes. However, patient education programs are still barely implemented in low- and middle-income countries. This trial aims to investigate whether a lifestyle education intervention added to physical exercising is superior to sole physical exercising regarding functional capacity, disease-related knowledge, health behaviors, cardiometabolic health parameters, quality of life, depression, and diet quality in individuals with prediabetes or diabetes. Multicenter double-blinded randomized controlled trial with two parallel arms involving 12-week intervention and 6-month follow-up. The eligible individuals (≥ 18years, living with prediabetes or diabetes, literate, no clinical decompensation and/or physical and/or mental limitations that contraindicate physical exercising, written physician permission for exercise, no cognitive impairment, no vision limitations for reading, no confirmed diagnosis of unstable coronary disease or heart failure, no pacemaker and/or implantable cardioverter-defibrillator, no complex ventricular arrhythmias, no intermittent claudication, no recent cardiovascular event or cardiac surgery, and no currently enrolled in a structured exercise program) were recruited from two Brazilian cities and randomized to either (1) an Exercise and Lifestyle Education Program (ExLE) or (2) an Exercise Program (Ex), which can be delivered on-site or remotely based on the participants' internet access and technology literacy. The primary outcomes will be changes in functional capacity and disease-related knowledge. The secondary outcomes will involve changes in health behaviors (health literacy, physical activity level, exercise self-efficacy, and medication adherence) and cardiometabolic health parameters (glycemic control, anthropometric measures, and cardiac autonomic control). Program adherence, satisfaction with the program, diabetes-related morbidity, and changes in quality of life, depression, and diet quality will be the tertiary outcomes. Assessments will occur at baseline, post-intervention, and after 6-month follow-up. If superior effectiveness of ExLE compared to Ex program to improve the outcomes measures is found, this program could be delivered broadly in the Brazilian health system, especially in the primary care facilities where most individuals living with prediabetes and diabetes in our country are assisted. ClinicalTrials.gov, NCT03914924 . Registered on April 16, 2019.