This study reports the behavior of the Ni20Cr alloy in molten nitrate salts. Its behavior was evaluated in the eutectic mixture called Solar Salt (binary salt) and in a ternary mixture (90% Solar Salt and 10% lanthanum nitrate). The addition of lanthanum nitrate was performed to determine if the presence of the La3+ cation could act as a corrosion inhibitor. Through mass loss and potentiodynamic polarization studies, the effects of both electrolytes on the corrosion resistance of the alloy at 300, 400, and 500 °C and at exposure times of 250, 500, 750, and 1000 h were determined. The results showed an increase in the corrosivity of the ternary salt, due to a decrease in its melting point and an increase in the concentration of nitrate ions. However, it was observed that the La3+ cations formed a protective layer (La2O3) on the alloy surface. In both corrosive media, the Ni20Cr alloy showed excellent corrosion resistance, due to its ability to form protective layers of Cr2O3, NiO, and NiCr2O4, in addition to the presence of a layer of La2O3 in the case of the ternary salt.