Latest research in planet formation indicates that Mars formed within a few million years (Myr) and remained as a planetary embryo that never grew to a more massive planet. It can also be expected from dynamical models that most of Mars' building blocks consisted of material that formed in orbital locations just beyond the ice line which could have contained [Formula: see text] of H2O. By using these constraints, we estimate the nebula-captured and catastrophically outgassed volatile contents during the solidification of Mars' magma ocean and apply a hydrodynamic upper atmosphere model for the study of the soft X-ray and extreme ultraviolet (XUV) driven thermal escape of the martian protoatmosphere during the early active epoch of the young Sun. The amount of gas that has been captured from the protoplanetary disk into the planetary atmosphere is calculated by solving the hydrostatic structure equations in the protoplanetary nebula. Depending on nebular properties such as the dust grain depletion factor, planetesimal accretion rates and luminosities, hydrogen envelopes with masses [Formula: see text] to [Formula: see text] could have been captured from the nebula around early Mars. Depending on the before mentioned parameters, due to the planets low gravity and a solar XUV flux that was [Formula: see text] times stronger compared to the present value, our results indicate that early Mars would have lost its nebular captured hydrogen envelope after the nebula gas evaporated, during a fast period of [Formula: see text]. After the solidification of early Mars' magma ocean, catastrophically outgassed volatiles with the amount of [Formula: see text] H2O and [Formula: see text] CO2 could have been lost during [Formula: see text], if the impact related energy flux of large planetesimals and small embryos to the planet's surface lasted long enough, that the steam atmosphere could have been prevented from condensing. If this was not the case, then our results suggest that the timescales for H2O condensation and ocean formation may have been shorter compared to the atmosphere evaporation timescale, so that one can speculate that sporadically periods, where some amount of liquid water may have been present on the planet's surface. However, depending on the amount of the outgassed volatiles, because of impacts and the high XUV-driven atmospheric escape rates, such sporadically wet surface conditions may have also not lasted much longer than [Formula: see text]. After the loss of the captured hydrogen envelope and outgassed volatiles during the first 100 Myr period of the young Sun, a warmer and probably wetter period may have evolved by a combination of volcanic outgassing and impact delivered volatiles [Formula: see text] ago, when the solar XUV flux decreased to values that have been [Formula: see text] times that of today's Sun.
Keywords: Atmospheric escape; Early mars; Evolution; Protoatmospheres.