Electrical – How to safely install drywall anchors near wiring

drilldrywall-anchorelectricalsafetywiring

I need to hang a rack on a pantry wall, the other side of which has a light-switch. The rack will be holding quite a bit of weight (well-distributed, and close to the wall, though), and I need to install drywall anchors at several (~9, maybe less) points along the vertical extent of the rack:

However, there's a light-switch on the other side of the pantry's (thin) wall. It's not precisely where the drywall mounts would need to be installed, but it's close enough to worry me in my inexpertise:

The wiring for the switch appears to run vertically from the switch (it controls a light in the inner wall of the pantry itself, so that makes sense.):

So: Can I safely drill for, and install, shallow (but metal.) drywall anchors for this thing? How can I do so in the safest way? I've got a wireless voltage-sensor, but it doesn't pick anything up anywhere on the wall even with that light turned on, so that's no help.

Best Answer

Position the rack so you can screw into the studs. If that is not practical then mount a sheet of decent thickness plywood onto the wall surface and fasten that to the studs wherever possible. The rack can then mount onto the plywood. If you use a plywood that is 3/4' inch (19 or 20mm) thick then the screws for the rack need not even penetrate the drywall at all.

BTW. It is generally (if not always) discouraged to mount anything that will carry significant weight just on drywall anchors.