ABSTRACT Hair pigmentation is a valuable feature in forensic hair analysis and hair comparisons. Microscopic pigmentation features from participants' hair were classified and documented. The discriminating power of template matching, unsupervised and supervised machine learning methods were compared to determine which method best distinguished between participants and accurately assigned hairto an individual, based on pigmentation features. Template matching analysis revealed a higher frequency of inter-person matches compared to intra-person matches, and the unsupervised model’s predicted labels did not align with true labels. These findings suggest the presence of an unknown dimensionality beyond the observable pigmentation features used in forensic hair classification, highlighting the crucial role of forensic expertise. In contrast, supervised machine learning demonstrated superior accuracy and greater interpretability due to its training on labelled data, making it more appropriate for forensic applications. This research underscores the continued importance of human expertise, particularly in the initial classification of training data for supervised machine learning. The potential applications of supervised machine learning in forensic science include training, competency testing and rapid intelligence as a novel and innovative tool while advancing the field towards more objective methodologies.