The bipolar resistive switching (BRS) characteristics in the magnesium titanate nickelate (MTN) films synthesized by the sol-gel method have been investigated. The BRS characteristics without forming process are fitted by the ohmic transport and the F-P emission mechanism. The ON/OFF current ratio is more than 108, better than other perovskite films. In addition, the titanium (Ti) atom combines the bidentate ligands of nickel (II) acetylacetone to form the compound Ti acetylacetone chelate, which further improves the moisture resistivity of MTN films and maintains a coefficient of variation (CV) of less than 30% after 28 d under an atmospheric environment. Furthermore, good retention properties (two different resistance states can be maintained at a ratio of 106 up to 105 s at 85 °C) are observed. Given its thermal stability and good performance, MTN is a promising candidate for use in memory devices.