Avirett was a priest of the Episcopal Church.
During the American Civil War of 1861-1865, he served as a chaplain in the Confederate States Army in Alabama, under General Turner Ashby.
He was the first chaplain to be commissioned to serve in the CSA in 1861.

Avirett served as the president of the Dunbar Institute, an Episcopal female seminary in Winchester, Virginia from 1865 to 1871.
For the next twenty-five years, he was a priest in Sligo, North Carolina, Upper Marlboro and Silver Spring, Maryland, followed by Waterville, New York.
He served as the rector of St Paul's Church Louisburg, North Carolina from 1894 to 1899.

Avirett was the author of several books.
As early as 1867, he wrote a memoir of General Turner Ashby, after he had given a speech about Ashby at the University of Virginia.
By 1897, he wrote two religious pamphlets.

Avirett published  The Old Plantation: How We Lived in Great House and Cabin before the War in 1901.
He had been encouraged to write about plantation life by Senator Zebulon Baird Vance.
Prefaced by Hunter McGuire, it was presented as a response to Uncle Tom's Cabin.
For David Anderson, a Senior Lecturer in Cultural and Political Studies at Swansea University, the book was emblematic of nostalgic memoirs about the Old South, which was lost forever except in writing and memories.
However, David Goldfield, a Professor of History at the University of North Carolina at Charlotte, suggests that it was "much less a re-creation of plantation life than a fantasy, part of the full-blown rehabilitation of the Old South that had been underway since the end of Reconstruction."

Avirett was a regular contributor to the Cumberland Evening Times, a newspaper in Cumberland, Maryland.
Avirett was a priest of the Episcopal Church. During the American Civil War of 1861-1865, he served as a chaplain in the Confederate States Army in Alabama, under General Turner Ashby. He was the first chaplain to be commissioned to serve in the CSA in 1861.
Avirett served as the president of the Dunbar Institute, an Episcopal female seminary in Winchester, Virginia from 1865 to 1871. For the next twenty-five years, he was a priest in Sligo, North Carolina, Upper Marlboro and Silver Spring, Maryland, followed by Waterville, New York. He served as the rector of St Paul's Church Louisburg, North Carolina from 1894 to 1899.
Avirett was the author of several books. As early as 1867, he wrote a memoir of General Turner Ashby, after he had given a speech about Ashby at the University of Virginia. By 1897, he wrote two religious pamphlets.
Avirett published  The Old Plantation: How We Lived in Great House and Cabin before the War in 1901. He had been encouraged to write about plantation life by Senator Zebulon Baird Vance. Prefaced by Hunter McGuire, it was presented as a response to Uncle Tom's Cabin. For David Anderson, a Senior Lecturer in Cultural and Political Studies at Swansea University, the book was emblematic of nostalgic memoirs about the Old South, which was lost forever except in writing and memories. However, David Goldfield, a Professor of History at the University of North Carolina at Charlotte, suggests that it was "much less a re-creation of plantation life than a fantasy, part of the full-blown rehabilitation of the Old South that had been underway since the end of Reconstruction."
Avirett was a regular contributor to the Cumberland Evening Times, a newspaper in Cumberland, Maryland.
James Battle Avirett