The effect of a defect concentration-modified top electrode on the bipolar resistance switching of transparent Al-doped ZnO/ZnO/ITO [AZO(TE)/ZnO/ITO(BE)] devices was investigated. Different oxygen vacancy concentrations in the top electrode, Al-doped ZnO, can be simply controlled by modulating the sputtering working pressure condition from 1.2 to 12 mTorr. The oxygen vacancy concentration between AZO and ZnO may trigger oxygen diffusion at the interface and affect the switching characteristic. High oxygen release from a ZnO resistive layer caused by excessive oxygen vacancy concentration at the top electrode is responsible for reducing the memory window as a result of reduced oxygen available to rupture the filament. Top electrode based on lower oxygen vacancy concentration has a higher memory window and an asymmetric resistive switching characteristic. However, all set of devices have excellent endurance of more than 104 cycles. This study showed that an Al-doped ZnO top electrode helps not only to achieve a transparent device but also to enhance memory properties by providing a suitable oxygen vacancy concentration.