The moisture content of maize seed is an important indicator for evaluating seed quality and a fundamental item in grain testing. The experiment used direct drying method to measure the moisture content of 80 different varieties of maize samples, and captured their images using a hyperspectral imaging (HSI) system in the spectral range of 1100~2498nm. By comparing seven spectral preprocessing methods, the PLSR model established after Normalize pretreatment had the best effect. The characteristic wavelengths were selected by Successive Projections Algorithm (SPA), Competitive Adaptive Reweighted Sampling (CARS) and Uninformative Variable Elimination (UVE). Twelve prediction models were established for full band spectra and characteristic wavelengths based on PLSR, PCR and SVM. By comparing the performance of the prediction models, it was found the Normalize-SPA-PLSR algorithm was optimized. The values of RC2 and RP2 in the model were higher, which were 0.9936 and 0.9933, respectively, while the values of RMSEP and RMSECV were lower, which were 0.0357 and 0.0380, respectively. The Normalize-SPA-PLSR model was used as a visual prediction model for moisture content of maize seed, the 20 maize varieties in the prediction set were visualized to obtain visualized color images of moisture content. The color differences between different moisture content images were significant. The result indicated that hyperspectral imaging could accurately, rapidly, and non-destructive predict moisture content of maize seed, which provided technical support for moisture content detection in the process of maize harvest, storage and processing.