In 1877 he sailed to India as Veterinary Surgeon to the Royal Artillery. From September 1879 to August 1880 he served in the Second Anglo-Afghan War in charge of transport and communications in the Khyber Pass and Lughman valley. He was then placed in charge of the hospital at Gandamak.