The Mars' ionospheric behavior during two consecutive solar minima (23/24 and 24/25) is investigated with the same dataset. In particular, we use the Mars Advanced Radar for Subsurface and Ionospheric Sounding (MARSIS) on board Mars Express to investigate the total electron content behavior of the whole atmosphere in relation to the solar irradiance (EUV and X-ray fluxes), the solar zenith angle and the heliocentric distance. The topside variability of the electron density profiles is also investigated through variations in the peak density and neutral scale height. Moreover, the equations of the NeMars empirical model of the Martian ionosphere for low solar activity are tested for both minima. We have found that the topside ionosphere of Mars behaved similarly at both solar minima. However, when considering the bottomside, a pronounced reduction in ionization in particular cases is suggested. In addition, larger TEC values are found during the solar minimum 24/25 in the nightside sector that may indicate possible larger plasma transport than during the minimum 23/24. Finally, this study confirms that the ionospheric empirical NeMars model equations derived by Sanchez-Cano et al. (2016) for the low solar activity period during the solar minimum 23/24 are also valid and accurate for the solar minimum 24/25. The long duration of Mars Express is a critical factor for determining the long-term Martian ionospheric variability, which in turn, is essential for understanding the global evolution of the planet's atmosphere.