The Book of Armagh or Codex Ardmachanus (ar or 61), also known as the Canon of Patrick and the Liber Ar(d)machanus, is a 9th-century Irish illuminated manuscript written mainly in Latin. It is held by the Library of Trinity College, Dublin (MS 52). The document is valuable for containing early texts relating to St Patrick and some of the oldest surviving specimens of Old Irish, and for being one of the earliest manuscripts produced by an insular church to contain a near complete copy of the New Testament.
The manuscript was once reputed to have belonged to St. Patrick and, at least in part, to be a product of his hand. Research has determined, however, that the earliest part of the manuscript was the work of a scribe named Ferdomnach of Armagh (died 845 or 846). Ferdomnach wrote the first part of the book in 807 or 808, for Patrick's heir (comarba) Torbach. Two other scribes are known to have assisted him.
The people of medieval Ireland placed a great value on this manuscript. Along with the Bachal Isu, or Staff of Jesus, it was one of the two symbols of the office for the Archbishop of Armagh. The custodianship of the book was an important office that eventually became hereditary in the MacMoyre family. It remained in the hands of the MacMoyre family in the townland of Ballymoyer near Whitecross, County Armagh until the late 17th century. Its last hereditary keeper was Florence MacMoyer. By 1707 it was in the possession of the family of Lurgan. It remained in the Brownlow family until 1853 when it was sold to the Irish antiquary, Dr William Reeves. In 1853, Reeves sold the Book to John George de la Poer Beresford, Archbishop of Armagh, who presented it to Trinity College, Dublin, where it can be read online using the Digital Collections portal of the Trinity College library.