Loose electrical connections cause fires. Are your installers rushing through the final steps? If you ignore proper junction box security now, you risk massive system failures and liability claims later.
To secure a junction box installation properly, you must rigidly fasten the enclosure to a structural member using screws or nails, not just drywall anchors. You need to verify that all cables are clamped within 12 inches of the box to relieve strain, and ensure the cover plate is tightened to prevent accidental contact or dust ingress.

Many people think that once the wires are connected, the job is done. This is a dangerous mindset. If the box itself is not stable, the connections inside will eventually loosen due to vibration or thermal expansion. We need to look closely at how to keep these boxes from moving.
Mounting Techniques for Various Surfaces?
Mounting a box on wood is easy, but what about metal rails or concrete? If you use the wrong fastener, the box will eventually fall off.
For wood, use wood screws through internal mounting holes. For concrete, use masonry anchors or Tapcons. In solar applications, we often mount to aluminum rails; here, you should use stainless steel bolts with locking nuts or specialized rail clips to prevent galvanic corrosion and loosening from wind vibration.

Let’s talk about the specific challenges we face in solar installations. We are not just nailing boxes to a wooden stud in a dry living room. We are dealing with outdoor environments, high heat, and vibration.
When you mount to a PV module frame or a racking rail, you cannot just use self-tapping screws. They vibrate loose over time. I always recommend using a bolt-and-nut assembly with a split washer or a nylon-insert lock nut.
Here is a simple breakdown of mounting strategies based on the surface:
| Surface Type | Recommended Fastener | Key Precaution |
|---|---|---|
| Wood | #8 or #10 Wood Screws | Ensure screw penetrates at least 1 inch into the wood. |
| Concrete/Brick | Plastic plugs or Tapcon screws | Drill the hole to the exact depth; clean dust before inserting the anchor. |
| Solar Rail (Aluminum) | T-bolts or Rail Clips | Use stainless steel (SS304/316) to avoid rust; use a torque wrench. |
| Drywall (Not Recommended) | Toggle Bolts | Only for very light loads; never trust plastic anchors for heavy DC boxes. |
If you are using our SOWER combiner boxes, you will see we provide external mounting ears1. This means you do not have to drill holes through the back of the box, which keeps the IP65 waterproof rating intact.
Installing Cable Clamps and Strain Relief?
Pulling on a cable should never stress the copper connection inside. If you skip strain relief, you are inviting arcs and sparks.
You must install a cable gland or a clamp connector at every entry point. This device grips the outer jacket of the cable, ensuring that if someone pulls the wire from the outside, the force stops at the box wall and does not reach the terminal block inside.

I have seen too many installations where cables just pass through a raw hole in the plastic or metal box. This is a disaster waiting to happen. The sharp edges will cut into the insulation.
In DC solar systems, we almost always use Cable Glands (like PG or M series)2. These are fantastic because they do two jobs at once: they seal the box against water (IP rating) and they provide mechanical strain relief.
When you install these:
- Match the size: A PG13.5 gland will not seal a thin wire. The rubber seal must compress tightly around the cable jacket.
- Tighten it down: Do not just finger-tighten. Use a wrench. You should not be able to push or pull the cable through the gland once it is tight.
- The "Drip Loop": Even with a good gland, I always tell my clients to leave a "drip loop3" outside. This is a U-shape in the cable before it enters the box. Water flows down to the bottom of the "U" and drips off, rather than flowing right into the seal.
Securing New Work vs. Old Work Boxes?
Are you building a new array or fixing an old one? The approach changes completely depending on whether the walls or rails are already in place.
"New work" boxes attach directly to the framing before the surface material is installed, usually with nails. "Old work" (retrofit) boxes rely on tabs that flip up and clamp against the backside of the drywall or surface material. In solar retrofits, we often simply surface-mount waterproof boxes4.

In the residential building world, the distinction between "new work" and "old work" is huge. In our solar industry, it is a bit different.
Most of our work is essentially "surface mount." We rarely bury PV junction boxes inside a wall because we need airflow for cooling DC components. However, you might run into this when passing DC cables into the house to reach the inverter.
For New Construction:
You mount the box to the stud before the drywall goes up. It is rock solid. You know exactly where the support is.
For Retrofits ("Old Work"):
You cut a hole in the existing wall. You insert a box that has "wings." As you tighten the screws, these wings flip out and grab the drywall from the back.
- My advice: Be careful. Old drywall can crumble. If you are installing heavy DC isolators, do not rely on "old work" drywall wings. Find a stud and use long wood screws. If you cannot find a stud, mount a piece of plywood on the surface first, anchor that to the wall, and then mount your box to the plywood.
NEC Code Requirements for Box Support?
Codes are not just suggestions; they are the law. If you ignore the NEC (National Electrical Code), you will fail inspection and lose money.
The NEC requires boxes to be rigidly supported. Cables must be secured within 12 inches of the box. You cannot bury a junction box behind a finished wall; it must remain accessible. Also, metal boxes must be grounded.

Let’s break down the rules that trip up most installers. I read the codes so you don’t have to guess.
1. Accessibility is Non-Negotiable
NEC prohibits burying junction boxes. You cannot drywall over them. You cannot pour concrete over them. In solar, this means you cannot mount a combiner box underneath a solar panel where it is physically impossible to reach without removing the panel. A technician must be able to open it later.
2. The 12-Inch Rule
This is the most common failure point. The code says you must staple or clip the NM cable within 12 inches (300 mm) of the box. Why? Because the cable’s own weight will eventually pull the wires out of the terminals if you don’t.
3. Grounding Metal Boxes
If you buy our plastic DC boxes, you don’t worry about this. But if you use a metal enclosure, you must connect a ground wire to the box itself using a green grounding screw. If a live wire touches the metal box, it needs to trip the breaker, not electrify the box and wait for you to touch it.
4. Closing Unused Holes
If your box has five holes but you only use two cables, you must plug the other three. You cannot leave open holes. It violates code because it ruins the fire rating and lets mice or sparks escape.
Conclusione
To secure a junction box, firmly anchor it to structure, use proper cable glands for strain relief, ensure accessibility for maintenance, and strictly follow NEC support and grounding rules.
-
See how external mounting ears simplify installation and preserve waterproof integrity, crucial for outdoor applications. ↩
-
Learn how these glands ensure waterproofing and strain relief, essential for safe and compliant solar installations. ↩
-
Find out how a drip loop prevents water ingress, protecting your electrical connections from moisture damage. ↩
-
Understand the advantages of surface-mount boxes for retrofits, especially in outdoor or exposed environments. ↩






