The potential of Raman hyperspectral imaging with a 785 nm excitation line laser was examined for the detection of aflatoxin contamination in corn kernels. Nine-hundred kernels were artificially inoculated in the laboratory, with 300 kernels each inoculated with AF13 (aflatoxigenic) fungus, AF36 (nonaflatoxigenic) fungus, and sterile distilled water (control). One-hundred kernels from each treatment were subsequently incubated for 3, 5, and 8 days. The mean spectra of single kernels were extracted from the endosperm side and the embryo area of the germ side, and local Raman peaks were identified based upon the calculated reference spectra of aflatoxin-negative and -positive categories separately. The principal component analysis-linear discriminant analysis models were established using different types of variable inputs including original full spectra, preprocessed full spectra, and identified local peaks over kernel endosperm-side, germ-side, and both sides. The results of the established discriminant models showed that the germ-side spectra performed better than the endosperm-side spectra. Based upon the 20 ppb-threshold, the best mean prediction accuracy of 82.6% was achieved for the aflatoxin-negative category using the original spectra in the combined form of both kernel sides, and the best mean prediction accuracy of 86.7% was obtained for the -positive category using the preprocessed germ-side spectra. Based upon the 100 ppb-threshold, the best mean prediction accuracies of 85.0% and 89.6% were achieved for the aflatoxin-negative and -positive categories separately, using the same type of variable inputs for the 20 ppb-threshold. In terms of overall prediction accuracy, the models established upon the original spectra in the combined form of both kernel sides achieved the best predictive performance, regardless of the threshold. The mean overall prediction accuracies of 81.8% and 84.5% were achieved with the 20 ppb- and 100 ppb-thresholds, respectively.