Tunnel devices based on ferroelectric Hf 0.5 Zr 0.5 O 2 (HZO) barriers hold great promises for emerging data storage and computing technologies. The resistance state of the device can be changed by a suitable writing voltage. However, the microscopic mechanisms leading to the resistance change are an intricate interplay between ferroelectric polarization controlled barrier properties and defect-related transport mechanisms. Here is shown the fundamental role of the microstructure of HZO films setting the balance between those contributions. The oxide film presents coherent or incoherent grain boundaries, associated to the existence of monoclinic and orthorhombic phases in HZO films, which are dictated by the mismatch with the substrates for epitaxial growth. These grain boundaries are the toggle that allows to obtain either large (up to ≈ 450 %) and fully reversible genuine polarization controlled electroresistance when only the orthorhombic phase is present or an irreversible and extremely large (≈ 10 3 -10 5 %) electroresistance when both phases coexist.are the resistances after polarizing the junction with writing voltages V W + or V W and R min (V W +,-) is the minimum resistance among these states. Accordingly, binary high (OFF) and low resistance (ON) states can be written in a ferroelectric memory cell and read by probing its resistance. It has also been shown that by performing minor polarization loops, ferroelectric tunnel devices can store information in different resistive states, mimicking the functioning of a memristive element. [4,5] This approach has been successfully achieved by using ferroelectric perovskites such as BaTiO 3 , [6][7][8][9] Pb(Zr 0.2