Mg
2(Si,Sn)-based thermoelectric materials, which are environmentally friendly and low-cost, have great development potential in a moderate temperature range. Electronic transport properties of Mg
2Si
1-xSn
xalloys can be optimized by doping elements. Doping is still one of the most effective methods of optimizing electronic transport performance, such as carrier concentration, mobility, and effective mass. The most effective doping elements are Sb and Bi. Much attention has been paid to the influence of element type and doping content. Different substitution sites will also greatly affect the electronic transport parameters. In this work, the defect formation energy value of Mg
2Si
0.375Sn
0.625alloy for substituting Sb atoms and Bi atoms for Sn sties and Si sites, respectively, are calculated by first-principles calculations. The influence on electronic transport parameters is systematically analyzed by combining the calculated results of band structures and density of states. Corresponding component Sb and Bi atoms doped Mg
2Si
0.375Sn
0.625alloys are prepared by rapid solidification method, and microstructures, Seebeck coefficients, and electrical conductivities of the alloys are measured. Combined with the predicted results by solving the Boltzmann transport equation, electronic transport performances are compared and analyzed. The results indicate that both Sn and Si sites are equally susceptible to Sb and Bi doping, but the Si sites are preferentially substituted due to their lower ∆
E
fvalues. Doped Bi atoms provide a higher electron concentration, and Sb atoms offer higher carrier effective mass. Thus, the maximum
σvalue of the Mg
2Si
0.375Sn
0.615Bi
0.01alloy is 1620 S/cm. The maximum
Svalue of the Mg
2Si
0.365Sn
0.625Sb
0.01alloy is –228 μV/K. Correspondingly, the highest
PFvalue for this alloy is 4.49 mW/(m·K) at
T= 800 K because of the dominant role of
Svalues. Although its power factor is slightly lower, the Mg
2Si
0.375Sn
0.615Sb
0.01alloy is expected to exhibit lower lattice thermal conductivity due to the lattice shrinkage caused by substituting Sb sites for Sn sites. The optimal doping concentration of the Bi-doped alloy is lower than that of the Sb-doped alloy. These results are expected to provide a significant reference for optimizing the experimental performance of Mg
2(Si, Sn)-based alloys.