Mesoscopic physics is a sub-discipline of condensed-matter physics that focuses on the properties of solids in a size range intermediate between bulk matter and individual atoms. In particular, it is characteristic of a domain where a certain number of interacting objects can easily be tuned between classical and quantum regimes, thus enabling studies at the border of the two. In magnetism, such a tuning was first realized with large-spin magnetic molecules called single-molecule magnets (SMMs) with archetype Mn 12 -ac. In general, the mesoscopic scale can be relatively large (e.g. micrometre-sized superconducting circuits), but, in magnetism, it is much smaller and can reach the atomic scale with rare earth (RE) ions. In all cases, it is shown how quantum relaxation can drastically reduce classical irreversibility. Taking the example of mesoscopic spin systems, the origin of irreversibility is discussed on the basis of the Landau-Zener model. A classical counterpart of this model is described enabling, in particular, intuitive understanding of most aspects of quantum spin dynamics. The spin dynamics of mesoscopic spin systems (SMM or RE systems) becomes coherent if they are well isolated. The study of the damping of their Rabi oscillations gives access to most relevant decoherence mechanisms by different environmental baths, including the electromagnetic bath of microwave excitation. This type of decoherence, clearly seen with spin systems, is easily recovered in quantum simulations. It is also observed with other types of qubits such as a single spin in a quantum dot or a superconducting loop, despite the presence of other competitive decoherence mechanisms. As in the molecular magnet V 15 , the leading decoherence terms of superconducting qubits seem to be associated with a non-Markovian channel in which short-living entanglements with distributions of twolevel systems (nuclear spins, impurity spins and/or charges) leading to 1/f noise induce t 1 -like relaxation of S z with dissipation to the bath of two-level systems with which they interact most. Finally, let us mention that these experiments on quantum oscillations are, most of the time, performed in the classical regime of Rabi oscillations, suggesting that decoherence mechanisms might also be treated classically.