Pirie was for some time a minister connected to the Antiburgher Synod of the Presbyterian Church of Scotland. He was appointed in 1760 a teacher of the Philosophical Class in the Theological Seminary in New York City, but was suspended and expelled shortly after. On joining the Burghers, he returned to Scotland and became minister of a congregation in Abernethy. In 1769, he joined the Independents, and was minister of a congregation at Newburgh, Fifeshire. His works include:

  1. Come, Let Us Join Our Songs of Praise
  2. With Mary’s Love Without Her Fear