The effect of hydrostatic pressure (p<= 1.8 GPa) on the non-Fermi liquid state of U_2Pt_2In is investigated by electrical resistivity measurements in the temperature interval 0.3-300 K. The experiments were carried out on single-crystals with the current along (I||c) and perpendicular (I||a) to the tetragonal axis. The pressure effect is strongly current-direction dependent. For I||a we observe a rapid recovery of the Fermi-liquid T^2-term with pressure. The low-temperature resistivity can be analysed satisfactorily within the magnetotransport theory of Rosch, which provides strong evidence for the location of U_2Pt_2In at an antiferromagnetic quantum critical point. For I||c the resistivity increases under pressure, indicating the enhancement of an additional scattering mechanism. In addition, we have measured the pressure dependence of the antiferromagnetic ordering temperature (T_N= 37.6 K) of the related compound U_2Pd_2In. A simple Doniach-type diagram for U_2Pt_2In and U_2Pd_2In under pressure is presented.