Interstitial effects of B and Li on the phase transition and magnetocaloric effect in Gd2In alloys had been studied. The antiferromagnetic (AFM) - ferromagnetic (FM) phase transition was found to be of first-order nature while ferromagnetic - paramagnetic (PM) phase transition was of second-order nature in B- or Li-doped Gd2In alloys. AFM-FM phase transition temperature was increased while FM-PM phase transition was decreased with more doping concentrations. During AFM-FM phase transition, the slope of temperature-dependent critical field (μ0Hcr) was increased by increased doping amounts. The magnetic entropy changes under small field change were enhanced by B and Li addition, which showed the beneficial effects of B and Li additions.