Alf Mac Lochlainn was born in Dublin in 1926, studied at University College, Dublin, and became a librarian, with internships at the Library of Congress and Simmons College in Boston. He was Director of the National Library of Ireland and Librarian of University College, Galway, chairman of the James Joyce Institute of Ireland, and a trustee of the Chester Beatty Library. He was inaugural holder of the Visiting Chair of Irish Studies at Burns Library, Boston College, from 1991 to 1992.
He wrote film scripts for radio, television, and short films and published numerous essays in bibliography, film criticism, and social and intellectual history, as well as satirical verse published in limited editions. His first book was a novella entitled Out of Focus, and his second was the story collection The Corpus in the Library.