Electrical and reliability characteristics of hafnia ferroelectric capacitor are influenced by a capping electrode layer which controls the type of stress and the amount of oxygen vacancy inside hafnia. Here, we present the impact of metal nitride and metal oxide electrode on the ferroelectricity of a Hf0.5Zr0.5O2 (HZO) capacitor. For comparison, we employed two different top electrodes (RuO2 and TiN) with hafnia ferroelectric layer, forming RuO2/HZO/TiN and TiN/HZO/TiN capacitors. The RuO2 top electrode provides additional oxygen to the HZO film, lowering the amount of oxygen vacancies in the film. From material analysis, we found that the top RuO2/HZO interface exhibits less oxygen vacancy in comparison to the top TiN/HZO interface. In addition, for RuO2/HZO/TiN, due to different thermal expansion coefficient between top and bottom electrodes, the HZO film experiences significant tensile stress, resulting in the high o-phase formation and remnant polarization (similar to 20 mu C/cm(2)) as compared with that of TiN/HZO/TiN capacitor (similar to 13 mu C/cm(2)). This article suggests an efficient solution to reduce the interfacial defects and oxygen vacancies as well as to enhance o-phase formation and ferroelectricity.