The amount of molecular marker information has considerable impact on the results of studies of crop germplasm genetic relationships in crop. The number of alleles required to reveal genetic relationship in maize inbred lines is a theoretical issue that needs to be addressed. In this study, 112 pairs of SSR (simple sequence repeat) primers and 97 maize inbred lines were selected to study the relationship between the number of inbred lines and the number of SSR primers and alleles required for a stable cluster. The results showed that the number of SSR primers is not tightly associated with the stability of the cluster analysis results, while an increase in the number of alleles can significantly improve the stability of cluster analysis results. The number of inbred lines ( X) is significantly associated with the number of alleles required for stable cluster analysis ( Y), and the regression equation is Y= 600.8×e (-15.9/ x) . This equation can be used to calculate the number of SSR alleles required for a genetic relationship study of maize inbred lines. These results provide a reference for determining of SSR alleles number in genetic relationship analysis of maize inbred line and other crop germplasm.