Hundreds of impact craters on Mars contain diverse phyllosilicates, interpreted as excavation products of preexisting subsurface deposits following impact and crater formation. This has been used to argue that the conditions conducive to phyllosilicate synthesis, which require the presence of abundant and long-lasting liquid water, were only met early in the history of the planet, during the Noachian period (> 3.6 Gy ago), and that aqueous environments were widespread then. Here we test this hypothesis by examining the excavation process of hydrated minerals by impact events on Mars and analyzing the stability of phyllosilicates against the impact-induced thermal shock. To do so, we first compare the infrared spectra of thermally altered phyllosilicates with those of hydrated minerals known to occur in craters on Mars and then analyze the postshock temperatures reached during impact crater excavation. Our results show that phyllosilicates can resist the postshock temperatures almost everywhere in the crater, except under particular conditions in a central area in and near the point of impact. We conclude that most phyllosilicates detected inside impact craters on Mars are consistent with excavated preexisting sediments, supporting the hypothesis of a primeval and long-lasting global aqueous environment. When our analyses are applied to specific impact craters on Mars, we are able to identify both pre- and postimpact phyllosilicates, therefore extending the time of local phyllosilicate synthesis to post-Noachian times.