An earplug dispensing system (10), comprising an earplug dispenser (11) and a support plate (12), wherein the dispenser (11) comprises a container (13) for earplugs, a dispensing mechanism having a dispensing aperture (14) and a movable element operably arranged for selectively dispensing earplugs from the container (13) through the aperture (14), and a control device (15) for operating the dispensing mechanism, wherein the support plate (12) on a front side (17) is provided with the earplug dispenser (11) and on a back side (19) is provided with one or more fastening devices (20) for fastening the support plate (12) to a vertical surface. The fastening devices (20) comprise a permanent magnet (21) for fastening the system to the vertical surface, wherein the magnet (21) has a back side provided with a friction-increasing material (22) for preventing the earplug dispensing system (10) from displacement in a plane of the vertical surface.