We determined radiogenic and cosmogenic noble gases in a mudstone on the floor of Gale Crater. A K-Ar age of 4.21 ± 0.35 billion years represents a mixture of detrital and authigenic components and confirms the expected antiquity of rocks comprising the crater rim. Cosmic-ray-produced (3)He, (21)Ne, and (36)Ar yield concordant surface exposure ages of 78 ± 30 million years. Surface exposure occurred mainly in the present geomorphic setting rather than during primary erosion and transport. Our observations are consistent with mudstone deposition shortly after the Gale impact or possibly in a later event of rapid erosion and deposition. The mudstone remained buried until recent exposure by wind-driven scarp retreat. Sedimentary rocks exposed by this mechanism may thus offer the best potential for organic biomarker preservation against destruction by cosmic radiation.