Resistive switching phenomena form the basis of competing memory technologies. Among them, resistive switching, originating from oxygen vacancy migration (OVM), and ferroelectric switching offer two promising approaches. OVM in oxide films/heterostructures can exhibit high/low resistive state via conducting filament forming/deforming, while the resistive switching of ferroelectric tunnel junctions (FTJs) arises from barrier height or width variation while ferroelectric polarization reverses between asymmetric electrodes. Here the authors demonstrate a coexistence of OVM and ferroelectric induced resistive switching in a BaTiO3 FTJ by comparing BaTiO3 with SrTiO3 based tunnel junctions. This coexistence results in two distinguishable loops with multi-nonvolatile resistive states. The primary loop originates from the ferroelectric switching. The second loop emerges at a voltage close to the SrTiO3 switching voltage, showing OVM being its origin. BaTiO3 based devices with controlled oxygen vacancies enable us to combine the benefits of both OVM and ferroelectric tunneling to produce multistate nonvolatile memory devices.