Gestation length and maternal ability are important to improve the sow reproduction efficiency and their offspring survival. To map quantitative trait loci (QTL) for gestation length and maternal ability related traits including piglet survival rate and average body weight of piglets at weaning, more than 200 F2 sows from a White Duroc × Erhualian resource population were phenotyped. A genome-wide scan was performed with 194 microsatellite markers covering the whole pig genome. QTL analysis was carried out using a composite regression interval mapping method via QTL express. The results showed that total number of born piglets was significantly correlated with gestation length (r = −0.13, P < 0.05). Three QTL were detected on pig chromosome (SSC)2, 8 and 12 for gestation length. The QTL on SSC2 achieved the 5% genome-wide significant level and the QTL on SSC8 was consistent with previous reports. Four suggestive QTL were identified for maternal ability related traits including 1 QTL for survival rate of piglets at weaning on SSC8, 3 QTL for average body weight of piglet at weaning on SSC3, 11 and 13.