The type-II Dirac fermions are characterized by a tilted Dirac cone and sustain exotic quantum transport phenomena. Here, we show the emergence of a type-II Dirac nodal loop in the SrVO3/SrTiO3 quantum well structure by density functional theory calculations and symmetry arguments. When the spin–orbit coupling (SOC) is neglected, the unavoidable crossing between two t2g bands gives rise to a nodal loop in the Brillouin zone, which is protected by the mirror symmetry. Such a nodal loop is fully gapped by including SOC, which results in a large spin Hall effect due to large spin Berry curvatures. Our findings add the unexplored functionality to oxide quantum wells and offer a practical platform to explore the interplay between topological fermions and spin transport phenomena.