A marsquake is a quake which, much like an earthquake, would be a shaking of the surface or interior of the planet Mars as a result of the sudden release of energy in the planet's interior, such as the result of plate tectonics, which most quakes on Earth originate from, or possibly from hotspots such as Olympus Mons or the Tharsis Montes. The detection and analysis of marsquakes could be informative to probing the interior structure of Mars, as well as identifying whether any of Mars's many volcanoes continue to be volcanically active.
 Quakes have been observed and well-documented on the Moon, and there is evidence of past quakes on Venus. Marsquakes were first detected but not confirmed by the Viking mission in 1976. Marsquakes were detected and confirmed by the InSight mission in 2019.  Using InSight data and analysis, the Viking marsquakes were confirmed in 2023.  Compelling evidence has been found that Mars has in the past been seismically more active, with clear magnetic striping over a large region of southern Mars.  Magnetic striping on Earth is often a sign of a region of particularly thin crust splitting and spreading, forming new land in the slowly separating rifts; a prime example of this being the Mid-Atlantic Ridge.  However, no clear spreading ridge has been found in this region, suggesting that another, possibly non-seismic explanation may be needed.
 The 4,000 km (2,500 mi) long canyon system, Valles Marineris, has been suggested to be the remnant of an ancient Martian strike-slip fault. The first confirmed seismic event emanating from Valles Marineris, a quake with a magnitude of 4.2, was detected by InSight on 25 August 2021, proving it to be an active fault.
 The first attempts to detect seismic activity on Mars were with the Viking program with two landers, Viking 1 & 2 in 1976, with seismometers mounted on top of the lander. The seismometer on the Viking 1 lander failed.  The Viking 2 seismometer collected data for 2100 hours (89 days) of data over 560 sols of lander recorded. 
 Viking 2 recorded two possible marsquakes on Sol 53 (daytime during windy period) and Sol 80 (nighttime during low wind period).  Due to the inability to separate ground motion from wind-driven lander vibrations and the lack of other collaborating possible marsquakes, the Sol 53 and Sol 80 events could not be confirmed during the Viking mission.  It was possible to rule out frequent and large marsquakes at that time. The low detection rate and evaluation when the windspeed was low at the Viking 2 site, allowed limits to be placed on seismic activity on Mars.
 
In 2013, data from the InSight mission (see below) led to an increased interest in the Viking data set, and further analysis may reveal one of the largest collection of Mars dust devil detections. In 2023, a re-evaluation of Viking 2 using InSight data and analysis, and Viking wind data, confirmed that the two Viking events on Sol 53 and 80 were marsquakes. The InSight Mars lander, launched in May 2018, landed on Mars on 26 November 2018 and deployed a seismometer called Seismic Experiment for Interior Structure (SEIS) on 19 December 2018 to search for marsquakes and analyze Mars's internal structure. Even if no seismic events are detected, the seismometer is expected to be sensitive enough to detect possibly several dozen meteors causing airbursts in Mars's atmosphere per year, as well as meteorite impacts. It will also investigate how the Martian crust and mantle respond to the effects of meteorite impacts, which gives clues to the planet's inner structure. A faint seismic signal, believed to be a small marsquake, was measured and recorded by the InSight lander on 6 April 2019. The lander's seismometer detected ground vibrations while three distinct kinds of sounds were recorded, according to NASA. Three other events were recorded on 14 March, 10 April, and 11 April, but these signals were even smaller and more ambiguous in origin, making it difficult to determine their cause.
 On 4 May 2022, a large marsquake, estimated at magnitude 5, was detected by the seismometer on the InSight lander. In October 2023 the results of a colaborative international project to scan the surface of Mars for a new impact crater created at the time of the 4 May 2022 seismic event, known as S1222a, was published. It was estimated that a crater of at least 300m in diameter would be created to produce the seismic waves, which reverburated round the planet for six hours. The survey of satelitte images from five different orbiters concluded that the event was not the result of an impact event.
 Despite the drawbacks of significant wind interference, on Sol 80 of the Viking 2 lander's mission (roughly November 23, 1976), the on-board seismometer detected an unusual acceleration event during a period of relatively low wind speed. Based on the features of the signal and assuming Mars's crust behaves similar to Earth's crust near the lander's testing site in Southern California, the event was estimated to have a Richter magnitude of 2.7 at a distance of roughly 110 kilometers. However, the wind speed was only measured 20 minutes previously, and 45 minutes after, at 2.6 and 3.6 meters per second, respectively. While a sudden wind gust of 16 m/s would have been required to produce the event, it could not be completely ruled out.  The Sol 80 event was later identified as a marsquake.  The earlier Sol 53 event initially received much interest as a possible marsquake, but was correlated with wind and not considered further.  Following the re-evaluation of the Sol 80 event as a marsquake, a re-evaluation of the Sol 53 event showed that it was unique among all Viking daytime recorded waveforms and the only one with a waveform with a rapid rise time and duration similar to Sol 80.  Consequently Sol 53 was identified as a marsquake. Comparing Viking with InSight events, using technologies 43 years apart is challenging, but comparison of the two Viking events with some InSight events showed that the similarity of waveforms was reasonable.
 On Sol 128 of the InSight lander mission the Seismic Experiment for Interior Structure (SEIS) detected one magnitude 1–2 seismic event on April 6, 2019. Three other unconfirmed candidate seismic events were detected on March 14, April 10 and April 11, 2019. The quake is similar to moonquakes detected during the Apollo program. It could have been caused by activity internal to the planet or by a meteorite striking the surface. The epicenter was believed to be within 100 km of the lander. As of 30 September 2019, SEIS had reported 450 events of various types.
 NASA's Mars Perseverance Rover will act as a seismic source of known temporal and spatial localization as it lands on the surface. The InSight lander will evaluate whether the signals produced by this event will be detectable by 3,452 km away.