Cairbre Nia Fer (also Corpri, Coirpre, Cairpre; Nioth Fer, Niafer, Niaper), son of Rus Ruad, was, according to medieval Irish legend and historical tradition, a King of Tara from the Laigin.
The earliest reference to Cairbre is in Tírechán's Memoir of St. Patrick, a 7th-century Latin text found in the Book of Armagh. Patrick finds an enormous grave and raises its giant occupant from the dead. The giant says he was killed by the sons of Mac Con during the reign of Cairbre Nia Fer, a hundred years previously – i.e. in the 4th century. Another early reference is in the annotations to the 7th-century Amra Choluim Chille (eulogy of Colm Cille) by Dallán Forgaill. Here, the saint's mother Eithne is said to be a descendant of Cairbre, and Cairbre a descendant of Cathair Mór.
The 11th century Lebor Gabála Érenn places him during the reign of the High King Eterscél, which it synchronises his reign with that of the Roman emperor Augustus (27 BC - AD 14) and the birth of Christ, and makes him a contemporary of the provincial kings Conchobar mac Nessa of the Ulaid, Cú Roí of Munster and Ailill mac Máta of Connacht. Mac Con of the Dáirine, placed a generation before Cairbre by Tírechán, is dated many generations after him, to the late 2nd century, in the Lebor Gabála, while Cathair Mór, his ancestor in the Amra Choluim Chille, is placed many generations later.