The aim of this study was to determine the optimal SID Arg: Lys ratio for maximizing the reproductive performance, immunity and biochemical parameters of sows during gestation, the colostrum composition, and the performance of their offspring. A total of 174 multiparous sows were randomly allocated to five treatment groups varying in dietary SID Arg: Lys ratios (0.91, 1.02, 1.14, 1.25 and 1.38) through modification of the levels of Arg or alanine supplementation (the total level of nitrogen was the same in all treatments). The results showed that increasing the dietary SID Arg: Lys ratio increased the number of piglets born alive (p < 0.05, linear and quadratic). The number of stillborn piglets, the birth weight variation of born alive piglets, the birth interval (p < 0.05, linear and quadratic) and the number of mummies (p < 0.05, quadratic) reduced with increasing the dietary SID Arg: Lys ratio. Broken-line regression analysis indicated that the optimal SID Arg: Lys ratio requirement for gestating sows to maximize the number of piglets born alive was 1.25. The content of non-fat solid, total solid, protein, and energy in colostrum increased linearly and quadratically (p < 0.05) with increasing dietary SID Arg: Lys ratio. Additionally, when increasing the dietary SID Arg: Lys ratio, the concentration of IgA (p < 0.05, quadratic) and IgM (p < 0.05, linear and quadratic) of plasma increased at day 90 of gestation; IgG (p < 0.05, linear and quadratic) concentration increased at day 110 of gestation of sows. The dietary SID Arg: Lys ratio had an increasing effect (p < 0.05, linear and quadratic) on plasma insulin levels at day 90 of gestation. Furthermore, there were increases in plasma concentrations of nitric oxide and ornithine at day 110 of gestation, Arg at day 90 and 110 of gestation (p < 0.05, linear and quadratic) and total protein at day 110 of gestation (p < 0.05, linear) with increasing dietary SID Arg: Lys ratio. The results of our study indicated that increases in the dietary SID Arg: Lys ratio during gestation resulted in an increase in the number of piglets born alive, a decrease in birth intervals, and an improvement in immunity and colostrum composition. The optimal SID Arg: Lys ratio for gestating sows to maximize the number of piglets born alive was 1.25.