He passed his matriculation examination from the Albert School and was subsequently educated at the Scottish Church College, and at the Ravenshaw College, from where he graduated. Subsequently he studied law at the University of Calcutta.
In 1885, he joined the bar in the court of Cuttack, where he practised, and went on to become an advocate. He was appointed Government Pleader and later given the title Rai Bahadur, which he relinquished in protest. His career as an advocate made him come in contact with various religious, and political personalities of the Indian Independence movement.