James Adam was born on 7 April 1860 in the small parish of Keithhall, near Aberdeen, Scotland, the second child of James and Barbara (Anderson) Adam. His father died in 1866, leaving his mother to run the family’s countryside shop while raising six children. She sent Adam to the local parish school, and then to the Old Aberdeen grammar school, where he won a bursary to enter the University of Aberdeen in 1876.