Kernel number per spike is one of the most important yield components of wheat. To map QTLs related to kernel number including spike length (SPL), spikelet number per spike (SPN), fertile spikelet number (FSPN), sterile spikelet number (SSPN) and compactness, and to characterize the inheritance modes of the QTLs and two-locus interactions, 136 recombinant inbred lines (RILs) derived from 'Nanda2419' x 'Wangshuibai' and an immortalized F-2 population (IF2) generated by randomly permutated intermating of these RILs were investigated. QTL mapping made use of the previously constructed over 3300 cM linkage map of the RIL population. Three, five, two, two and six chromosome regions were identified, respectively, for their association with SPL, SPN, FSPN, SSPN, and compactness in at least two of the three environments examined. All compactness QTLs but one shared the respective intervals of QSpn.nau-5A and the SPL QTLs. Xcfd46-Xwmc702 interval on chromosome 7D was related to all traits but SSPN and had consistently the largest effects. The fact that not all the compactness QTL intervals were related to both SPL and SPN indicates that compactness is regulated by different mechanisms. Interval coincidence between QTLs of SPL and SPN and between QTLs of FSPN and SSPN was minimal. For all the traits, favorable alleles exist in both