Gray undertook medical training in Dublin-which at the time involved studying subjects taught at various hospitals around the city, based on the model of medical training in Edinburgh-completing it in around 1846.
On 9 January 1852, Gray passed the examinations for admission to the Royal College of Surgeons of England [REF].