A mounting bracket for mounting a junction box to a stud of a wall includes a face plate having opposite left and right edge margins. The face plate attaches to the junction box. A stud mounting flange is coupled to one of the left and right edge margin of the face plate and engages the stud. At least one clamping flange is coupled to the stud mounting flange and is configured to engage the stud. The at least one clamping flange is resiliently deflectable and applies a force to the stud to hold the mounting bracket on the stud when the mounting bracket is mounted to the stud.