Chronic kidney disease (CKD) and type 2 diabetes mellitus (T2DM) are highly prevalent chronic diseases that represent a significant public health problem and require multidisciplinary management. T2DM is the main cause of CKD in our setting and it is also a major comorbidity of non-diabetic nephropathy. Patients with diabetes and renal failure represent a special risk group as they have higher morbidity and mortality and are at a higher risk of hypoglycaemia than diabetic individuals with normal renal function. Treatment of T2DM in patients with CKD is controversial because of the scarcity of evidence available. This consensus document aims to facilitate the appropriate selection and dosage of anti-diabetic drugs as well as establishing glycaemic control safety targets in patients with CKD.