| Gaelic form | Mac Aodhagáin |
| Meaning | Son of Aodhagán (a diminutive of Aodh, meaning "fire" — the same root as Hugh) |
| Etymology | From Aodh (fire), one of the most common Irish personal names, with the diminutive suffix -agán; Aodhagán means "little fire" or "little Hugh" |
| Province | Connacht (primary); also served in Munster and Leinster |
| Core counties | Leitrim, Galway (Park, east Galway) |
| Rank in Ireland | Outside top 100; spread across multiple provinces due to the family's itinerant legal role |
| Variant spellings | Mac Egan, MacEgan, Egan (the related but distinct Ulster family) |
The surname Keegan derives from the Gaelic Mac Aodhagáin, "son of Aodhagán." The personal name Aodhagán is a diminutive of Aodh — one of the most ancient and common personal names in Irish, connected to the word for fire. Aodh was a divine fire deity in the pre-Christian Irish tradition, and the name was so popular in the early medieval period that it gave rise to numerous anglicisations, most prominently Hugh (through the Latin forms Odo and Hugo that Norman scribes used to render it), but also Eugene and Aidan. Aodhagán — "little fire" or "little Aodh" — is the familiar form, and the family Mac Aodhagáin took their identity from this ancestor.
The Mac Aodhagáin family occupies a unique and distinguished position in Irish history as the foremost hereditary Brehon law family in Connacht. In the Gaelic Irish legal tradition, knowledge of the law was the exclusive hereditary preserve of specific families who transmitted legal learning from father to son — the Brehons. The Mac Aodhagáin were the most celebrated of these hereditary legal families, serving as Brehons (judges and legal scholars) to the kings and lords of Connacht, and subsequently branching out to serve lords in Munster and Leinster as well.
Their primary territory was in the area of Park, County Galway — a small barony in east Galway near the Leitrim border, which gives some sources the identification of Leitrim as a core county alongside Galway. The Mac Aodhagáin school of law at Park produced generations of legal scholars whose manuscripts and legal judgements form an important part of the surviving corpus of Irish legal literature.
The name Mac Aodhagáin has two distinct anglicised forms: Keegan (primarily in Connacht) and Mac Egan or Egan (primarily elsewhere). The Mac Egan family of Tipperary — also a hereditary Brehon law family — are closely related to the Connacht Mac Aodhagáin but are distinguished in the genealogical sources as a separate family. Researchers should note that Keegan (from Mac Aodhagáin) and Egan (from Mac Aodhagáin in another branch) are related but distinct in their anglicised forms, while both share the same original Gaelic root.
The Mac Aodhagáin family's primary territorial base was the barony of Park in east Galway, on the Galway-Leitrim border. This small area — somewhat obscure by the standards of more famous Irish families — was the centre of one of the most intellectually significant families in medieval Ireland. The law school at Park, and related schools operated by the family elsewhere in Connacht, trained the Brehon lawyers who administered Irish law throughout the province for centuries.
The itinerant nature of the Brehon's role — travelling to different lords to provide legal services — meant that Mac Aodhagáin family members were found across multiple provinces. Branches of the family settled in Tipperary (as the Mac Egan family), in Roscommon, and in other counties where they provided legal services to local lords. This distribution makes the Keegan/Mac Egan family unusual among Irish surnames in having a genuinely inter-provincial presence even in the Gaelic period.
Brehon law — the legal system of Gaelic Ireland — was one of the most sophisticated and elaborate legal systems in medieval Europe. It covered every aspect of social life: inheritance, contract, marriage, property, injury compensation, and the obligations of lords to their clients. The system was administered not through courts and judges in the modern sense but through a class of hereditary legal specialists — the Brehons — who memorised vast compilations of legal precedent and were called upon to adjudicate disputes between the parties who engaged them.
The Tudor conquest of Ireland brought with it the systematic destruction of Brehon law — the legal system that underpinned every aspect of Gaelic Irish social organisation. English common law was imposed as the law of the land, and the Brehon lawyers who had administered the old system found their role and status abolished. For the Mac Aodhagáin family, this was the destruction of their hereditary function and identity. The last Mac Aodhagáin Brehons appear in the records in the early seventeenth century; by the time of the Ulster Plantation and the Cromwellian settlement, Brehon law had effectively ceased to operate, and the family that had administered it was reduced to the same condition as other Catholic families — tenant farmers without the legal and scholarly status that had defined them for centuries.
The Mac Aodhagáin family's greatest legacy is the collection of Irish law manuscripts that survive from their scriptoria. The Book of Ballymote (compiled c. 1390–1406) and several other important medieval manuscripts contain material copied or annotated by Mac Aodhagáin scribes, and the family's name appears as scholars, scribes, and legal commentators in the colophons of dozens of surviving manuscripts. These manuscripts are among Ireland's greatest cultural treasures.
Keegan families emigrated from Connacht — primarily Galway and Leitrim — through the nineteenth century. The Famine years drove the largest emigration wave, with families departing through Galway port and through Queenstown. New York, Boston, and the wider northeastern United States were the primary destinations. The legal legacy of the Mac Aodhagáin family did not translate directly into a legal profession among the diaspora, but the name's association with learning and intellectual achievement has been a source of pride in the Irish-American community.
The Keegan name appears throughout the northeastern United States in census records from the 1850s onward. The family's Connacht origin gives it a distinct profile from the Ulster and Munster Keegans that may appear in other regions. Chicago's large Irish-American community also received significant numbers of Connacht emigrants, and Keegan families from Galway and Leitrim appear in the midwestern city's Irish community records.
For Keegan research, the starting assumption for Connacht origin is the Galway-Leitrim border area. Catholic parish registers for east Galway (Diocese of Clonfert) and Leitrim (Diocese of Kilmore) are available through RootsIreland.ie.
For families that may have anglicised as Mac Egan rather than Keegan — particularly those from Tipperary or Munster — the Mac Egan manuscripts and the Egan family history provide additional genealogical context. Edward MacLysaght's The Surnames of Ireland distinguishes between the Connacht Mac Aodhagáin (Keegan) and the Tipperary Mac Aodhagáin (Egan) branches.
Civil registration records from 1864 for Galway and Leitrim are available at IrishGenealogy.ie. The 1901 and 1911 censuses for both counties are searchable at the National Archives of Ireland website.
Love Ireland publishes every morning. Essays about specific places, specific people, and specific moments in Irish history — the kind of history that connects Irish-Americans to the places their ancestors came from. 64,000 readers who take Ireland seriously.
Read Love Ireland — Free →One short email a day for a week — surnames, provinces, the Famine, genealogy tips, and the Ireland your ancestors left. No cost, unsubscribe anytime.
Your email is used only for this course and Love Ireland. Never sold.