Memristors, which are utilized in the development of memory devices, exhibit remarkable scalability, enhanced switching speed, and reduced power consumption. Native point defects regulate resistive switching, and therefore, memristive devices’ atomic-level conduction processes demand investigation. The feasibility of memristive behavior is expected to be dependent on the growth environment of materials, which actually controls the stability of specific types of defects. Here, we have carried out the analysis of resistive switching mechanism in ZnO- (n-type) and CuO (p-type)-based native point defects under various growth conditions to elucidate the resistive switching mechanism. The activation energy of the defects and the self-connected point-defect migration paths for the formation of filaments have been investigated using density functional theory (DFT) calculations. In the case of ZnO, oxygen vacancy ( ${V}_{\text {O}}$ ) defects under O-poor conditions exhibit low formation energy, whereas our investigations also demonstrate that copper vacancy ( ${V}_{\text {Cu}}$ ) and ${V}_{\text {O}}$ defects in CuO are the most favorable under O-rich and O-poor conditions, respectively. In ZnO, threefold and fourfold ${V}_{\text {O}}$ -sites contribute significantly in resistive switching, while only fourfold coordinated ${V}_{\text {O}}$ -sites are critical for CuO. It is evident that under O-poor conditions, ZnO and CuO have activation energies of 0.65 eV and 0.42 eV for +2q charged ${V}_{\text {O}}$ , respectively. Finally, ${I}$ – ${V}$ characteristics have been plotted for all cases where it is found that ${V}_{\text {O}}$ in O-poor conditions provides the highest resistive window in ZnO- and CuO-based memristive devices. The impact of defect concentration on the transition from analog-to-digital switching behavior is found to play a substantial role in memristive behavior.