The carrier effective mass plays a crucial role in modern electronic, optical, and catalytic devices, and is fundamentally related to key properties of solids such as the mobility and density of states. Here we demonstrate a method to deterministically engineer the effective mass using spatial confinement in metallic quantum wells of the transition metal oxide IrO2. Using a combination of in situ angle-resolved photoemission spectroscopy measurements in conjunction with precise synthesis by oxide molecular-beam epitaxy, we show that the low-energy electronic sub-bands in ultrathin films of rutile IrO2 have their effective masses enhanced by up to a factor of six with respect to the bulk. The origin of this strikingly large mass enhancement is the confinement-induced quantization of the highly non-parabolic, three-dimensional electronic structure of IrO2 in the ultrathin limit. This mechanism lies in contrast to that observed in other transition metal oxides, in which mass enhancement tends to result from complex electron-electron intereactions and is difficult to control. Our results demonstrate a general route towards the deterministic enhancement and engineering of carrier effective masses in spatially confined systems, based on an understanding of the three-dimensional bulk electronic structure.