A comparative study of the gettering efficiency of the twin grain boundaries Σ=25, Σ=13, and Σ=9 has been carried out by means of electron-beam-induced current measurements performed on quenched silicon bicrystals precontaminated by Cu or Ni. The extent of the denuded zone appearing on both sides of each interface type has been considered as the ‘‘rating’’ of its gettering efficiency. For both contaminants, the same scaling of the gettering efficiencies of the boundaries has been observed and was found to be in the order Σ=9≪Σ=13<Σ=25. To account for this ranking, we have correlated the gettering efficiency to the excess energy of the grain boundary with respect to the bulk energy, as theoretically calculated. The computational procedures have been performed by means of molecular-dynamics simulations using several potentials. On the basis of the specific disorder affecting the Σ=25 structure upon heat treatment, our calculations provided the same progression for the interfacial energies as that observed experimentally for the gettering efficiencies of the corresponding grain boundaries according to the extents of the appropriate denuded zones. Calculations of the strain fields developed by the three grain boundaries also support this view.