<p>While the Mediterranean Sea is, since the Middle Miocene, a nearly completely land-locked basin indeed, it is itself comprised of several smaller semi-enclosed seas. What the Mediterranean Sea as a whole is to the Atlantic Ocean, are the Adriatic Sea or Aegean Sea to the Ionian-Levantine basin, for example. In the discussions regarding the Messinian salinity crisis the marginal basins of the Mediterranean play a prominent role because it is from these parts that the sedimentary record has been uplifted and become exposed.</p><p>In view of this and with an aim to contribute insight from the field of modelling, we focus on the basic element: a single marginal basin, subject to atmospheric forcing and exchanging water through a seaway with an adjacent larger basin. The equations are derived in dimensionless form and a universal, scale-independent, solution for basin salinity obtained. The analysis yields two dimensionless ratios which control basin behaviour in terms of salinity and response time.&#160;</p><p>Application of the theoretical model to the Messinian salinity crisis sheds new light on the formation of gypsum in marginal basins that were separated from the main Mediterranean by a sill, gives insight about the role of atmospheric heat exchange, and underlines the previous finding that, at elevated salinity, marginal basins respond to periodic climate variation (e.g. due to precession) with a significant lag.</p>