	Wilson was born in Edinburgh on 30 September 1852 the son of Francis Wilson and Margaret Wilson, nee Spears (1810-1883). He appears to have been the great nephew of the Edinburgh zoologist James Wilson. He was educated at Dollar Academy then the Royal High School, Edinburgh. He studied science and medicine at the University of Edinburgh, graduating with an MB around 1872.