James McHugh studied philosophy at the University of Cambridge before becoming interested in the study of Sanskrit and religion in India. After pursuing a master's degree in Indian religions at the University of Oxford, he received a Ph.D. from Harvard, researching the history of smell and perfumery in pre-modern India.