Topological protection of chiral magnetic structures is investigated by taking a two-dimensional magnetic skyrmion as an example. The skyrmion lifetime is calculated based on harmonic transition state theory for a discrete lattice model using various values of the ratio of the lattice constant and the skyrmion size. Parameters of the system corresponding to exchange, anisotropy and Dzyaloshinskii–Moriya interaction are chosen in such a way as to keep the energy and size of the skyrmion unchanged for small values of the lattice constant, using scaling relations derived from continuous micromagnetic description. The number of magnetic moments included in the calculations reaches more than a million. The results indicate that in the limit of infinitesimal lattice constant, the energy barrier for skyrmion collapse approaches the Belavin–Polyakov lower bound of the energy of a topological soliton in the -model, the entropy contribution to the pre-exponential factor in the Arrhenius rate expression for collapse approaches a constant and the skyrmion lifetime can, for large enough number of spins, correspond to thermally stable skyrmion at room temperature even without magnetic dipole–dipole interaction.