Strong seedling vigor is imperative to achieve stable seedling establishment and enhance the competitiveness against weeds in rice direct seeding. Shoot length (SL) is one of the important traits associated with seedling vigor in rice, but few genes for SL have been cloned so far. In the previous study, we identified two tightly linked and stably expressed QTLs for SL, qSL-1f and qSL-1d by genome-wide association study, and cloned the causal gene (LOC_Os01g68500) underlying qSL-1f. In the present study, we identify LOC_Os01g66100 (i.e. the semidwarf gene SD1), a well-known gene controlling plant height (PH) at the adult-plant stage, as the causal gene underlying qSL-1d through gene-based haplotype analysis and knockout transgenic verification. By measuring the phenotypes (SL and PH) of various haplotypes of the two genes and their knockout lines, we found SD1 and LOC_ Os01g68500 controlled both SL and PH, and worked in the same direction, which provided the directly genetic evidence for a positive correlation between SL and PH combined with the analysis of SL and PH in the diverse natural population. Moreover, the knockout transgenic experiments suggested that SD1 had a greater effect on PH compared with LOC_ Os01g68500, but no significant difference in the effect on SL. Further investigation of the pyramiding effects of SD1 and LOC_Os01g68500 based on their haplotype combinations suggested that SD1 may play a dominant role in controlling SL and PH when the two genes coexist. In this study, the effect of SD1 on SL at the seedling stage is validated. In total, two causal genes, SD1 and LOC_ Os01g68500, for SL are cloned in our studies, which controlled both SL and PH, and the suitable haplotypes of SD1 and LOC_ Os01g68500 are beneficial to achieve the desired SL and PH in different rice breeding objectives. These results provide a new clue to develop rice varieties for direct seeding and provide new genetic resources for molecular breeding of rice with suitable PH and strong seedling vigor.