 He was born in Bailey's Brook, Pictou County, Nova Scotia, the son of John McGillivray of Scottish descent, and moved to Antigonish with his parents while still young.He was educated at Saint Francis Xavier University.McGillivray was called to the Nova Scotia bar in 1874.