The interplay between the lattice distortion and the electronic contributions to the trapping of migrating hydrogen isotopes by substitutional impurities is investigated. We use a comprehensive calculational scheme incorporating (i) the effective-medium theory for the electronic interaction, (ii) the lattice Greens function for elastic coupling, and (iii) the hydrogen quantum motion. The calculations for Ti and Cr impurities in V host show that lattice strain effects dominate. Cr, which otherwise provides an electronic trap site, does not induce trapping when elastic effects are incorporated. The situation in the case of Ti is just the reverse. We find no isotope dependence of the binding energy of hydrogen.