A universal DIN rail mounting bracket that accommodates various types of devices and enclosures is equipped with multiple holes and slots for versatile enclosure attachment. Two plastic pins located at the bottom of the bracket secure the device and can be positioned at different distances to allow for cable connections. The bracket also includes velcro tape to secure the enclosure onto the plate.