Electrical – “Old Work” electrical box: should it be screwed into the stud

electricaljunction-boxold-work

I'm interested in replacing an existing outlet (in a wall that's finished with drywall) with a two-gang duplex (four outlets total), using an "old work" box. This box is located in the garage, so I'd like it to be sturdy.

Is it considered good practice to screw the box sideways into the stud?

Photo and diagram of old work 2-gang box

It appears from another forum that this might violate electrical codes.
In the US, where I am:

NEC 314.23. Supports.
(B) Structural Mounting.
(1) Nails and Screws. Nails and screws, where used as a
fastening means, shall be attached by using brackets on the
outside of the enclosure, or they shall pass through the
interior within 6 mm (1/4 in.) of the back or ends of the
enclosure. Screws shall not be permitted
to pass through the
box unless exposed threads in the box are protected using
approved means to avoid abrasion of conductor insulation.

If so, is there a better way to support old work boxes than just relying on the drywall tabs?

Best Answer

Junction boxes are not to have additional holes drilled into them for securing them to studs. The box you have shown can be used and mounted fairly secure if you take the time to cut the opening as small as possible so the box tabs have more drywall to support it.

A better solution is to get a box similar to the one below with side screws already included to be mounted to the stud. This is the same size as the old work box but allows you to screw directly into the stud.

enter image description here

Southwire Smart Box 2-Gang Adjustable Depth Device Box #MSB2G