The objective is to assess the impact of anticoagulant treatment in non-valvular atrial fibrillation (AF) and different categories of renal dysfunction in real world. Electronic Health recordings of patients with diagnosis of AF and renal function collected throughout 5 years and classified according to KDIGO categories. Stroke, transitory ischemic attack (TIA), intracranial hemorrhage and all-cause mortality were identified. Anticoagulant treatments during the study period were classified in untreated (never received therapy), VKA, NOAC and Aspirin. The risk of events was calculated by Cox-proportional hazard models adjusted by confounders. A total of 65,734 patients with AF, mean age 73.3 ± 10.49 years old and 47% females and follow-up of 3.2 years were included. KDIGO classification were: G1 33,903 (51.6%), G2 17,456 (26.6%), G3 8024 (12.2%) and G4 6351 (9.7%). There were 8592 cases of stroke and TIA, 437 intracranial hemorrhage, and 9603 all-cause deaths (incidence 36, 2 and 38 per 103 person/year, respectively). 4.1% of patients with CHA2DS2-VASc Score 2 or higher did not receive anticoagulant therapy. Risk of stroke, TIA, and all-cause mortality increased from G1 to G4 groups. Anticoagulant treatments reduced the risk of events in the four categories, but NOAC seemed to offer significantly better protection. Renal dysfunction increases the risk of events in AF and anticoagulant treatments reduced the risk of stroke and all-cause mortality, although NOAC were better than VKA. Efforts should be done to reduce the variability in the use of anticoagulants even in this high risk group.