It is known that the edges of a two-dimensional slab of insulating MoS2 exhibit one-dimensional metallic edge states, the so-called "brim states." Here, we find from density-functional theory calculations that several edge structures, which are relevant for the hydrodesulfurization process, are magnetic. The magnetism is an edge phenomenon associated with certain metallic edge states. Interestingly, we find that among the two low-index edges, only the S edge displays magnetism under hydrodesulfurization conditions. In addition, the implications of this on the catalytic activity are investigated. Despite large changes in the magnetic moments, a small influence on the adsorption energies is observed. This has implications on the suitability of magnetic measurements for monitoring the catalytic properties.