In this letter we optimize Ta 2 O 5 -based resistive-switching memory cells for improved retention properties. We show that the electrode material used as oxygen-scavenging element directly controls the state stability. As compared to TiN\Ta 2 O 5 \Ti cells the conductive filament retention is improved for TiN\Ta 2 O 5 \Ta cells due to the lower oxygen affinity of Ta. The oxygen chemical potential profile along the filament is also modulated by the Ta thickness, allowing reaching excellent retention of both low-and high-resistance states for several weeks at 250 • C. © The Author(s) 2014. Published by ECS. This is an open access article distributed under the terms of the Creative Commons Attribution Non-Commercial No Derivatives 4.0 License (CC BY-NC-ND, http://creativecommons.org/licenses/by-nc-nd/4.0/), which permits non-commercial reuse, distribution, and reproduction in any medium, provided the original work is not changed in any way and is properly cited. For permission for commercial reuse, please email: oa@electrochem.org. [DOI: 10.1149/2.0011412ssl] All rights reserved. The resistive-switching memory (RRAM) technology has recently gained a lot of interest due to promising scalability, low-voltage and fast programming, as well as impressive progress in terms of reliability.1-6 Typical cells consist of an oxide layer sandwiched between metal electrodes. After a so-called forming process generally required to create a conductive filament (CF) through the oxide, the cell may be reversibly reset-switched to a high-resistance state (HRS) and set-switched to a low-resistance state (LRS).It is generally accepted that the CF consists of a chain of oxygen-vacancy defects (V o ) bridging both electrodes. For an optimum bipolar-switching operation, asymmetric cells are typically used whereby one of the electrodes shows high oxygen affinity in order to increase the oxygen-vacancy profile from the low-affinity electrode toward the so-called oxygen-scavenging electrode.6,7 Based on this guideline, excellent switching control has been reported in HfO 2 -based cells using either Ti 2 or Hf 1,7 scavenging metals. Recently, promising switching and reliability properties have also been demonstrated in Ta 2 O 5 -based cells. [3][4][5] Reliability studies are however still scarce in the literature, which limits the visibility on the future of this technology. In particular, although some models have been proposed to describe retention failure mechanisms, 8,9 there is still no clear understanding of the microscopic origin of retention loss. It is indeed generally accepted that the increase of the state resistance is related to a decrease of number of V o defects in the CF, however the dominant mechanism leading to this decrease is still debated. While some reports claim that the resistance increase is due to lateral diffusion and redox processes of O-species between the CF and the surrounding oxide material, 4,5,8 other works point to vertical processes between the CF and the scavenging metal.6,10 The purpose of this letter is...