Email us

How to mount a DB9 connector to an enclosure

Use a purpose-built DB9-to-DB9 panel feedthrough with a flange and hardware specified for your panel thickness. Check the cutout, full cable clearance on both sides, and end-to-end pin mapping before installation. An ordinary DB9 feedthrough does not automatically preserve the enclosure's environmental rating.

NEMA4 Enclosure engineering team · Published October 30, 2026 · 6 min read

Use a purpose-built DB9-to-DB9 panel feedthrough with a mounting flange and a documented panel-thickness range. Secure that flange using the specified hardware, while leaving both connector faces accessible to their mating cables. A loose inline adapter is not automatically suitable for panel mounting just because it has threaded hardware.

The mounting drawing must resolve three separate jobs: retaining the feedthrough, retaining each cable plug, and sealing the enclosure opening. Check all three before cutting stainless steel. Also confirm the complete pin mapping; matching connector shapes do not establish electrical compatibility.

What you need

Choose the exact feedthrough before laying out the opening. Its installation drawing should identify the cutout, mounting orientation, permitted wall thickness, and hardware arrangement.

Gather these items:

  • A DB9-to-DB9 panel feedthrough with the required connector gender on each side.
  • Both actual mating cables, including their backshells and captive screws.
  • The manufacturer's cutout drawing and mounting instructions.
  • Specified flange fasteners, jackscrews, washers, and any sealing components.
  • Measuring tools, a suitable cutting process, deburring tools, and stainless-compatible tooling.
  • Internal cable supports and their mounting hardware.
  • A continuity meter or cable tester suitable for the disconnected cable assembly.

For a hand-cut opening, use a securely located template rather than tracing around the connector shell. Follow the enclosure cutout and gland guide for the surrounding panel-work fundamentals.

Disconnect power and isolate connected equipment before cutting or checking continuity. Remove electronics from the cutting area so conductive chips cannot enter connectors or remain inside the enclosure.

Check the flange, hardware, and cable space

A feedthrough needs a defined load path from its body into the panel. Depending on its design, separate screws secure the flange, or specified jackpost hardware clamps the flange against the wall. Use the arrangement shown in its installation instructions.

Cable-retention screws and panel-mounting fasteners are not necessarily the same parts. Some threaded hardware holds the connector assembly together. Removing it without an approved mounting arrangement can loosen the shell rather than create a usable panel mount.

Check the hardware thread on both faces. Common D-sub hardware includes #4-40 and M3 threads, which are not interchangeable. Do not identify a thread by whether a screw starts turning.

Compare the permitted panel thickness with the actual installation stack. For example, a 0.060 in [1.52 mm] wall plus a 0.020 in [0.51 mm] compressed gasket creates a 0.080 in [2.03 mm] stack before other hardware. Whether those layers count toward the connector's thickness limit depends on its mounting design.

Then draw the installed cable envelope on both sides. Include the feedthrough projection, fully seated plug, backshell, cable exit, minimum bend radius, and tool access. Space for the connector shell alone is insufficient.

Do not assume a right-angle backshell solves every clearance problem. Confirm its cable-exit direction with the mating connector fully seated and the door closed.

Mount the feedthrough

  1. Confirm the complete connector arrangement. Record the gender on the outside and inside faces, then check both mating cables. Select a feedthrough intended for panel mounting, not merely a cable-to-cable coupler. Keep its exact installation drawing with the enclosure layout.

  2. Choose a serviceable location. Keep the connector clear of door folds, hinges, latches, gasket lands, and nearby devices. Allow room to turn the cable screws without removing unrelated components. For a door-mounted connector, check the cable path throughout door travel, including the internal service loop.

  3. Dimension the opening from fixed datums. Locate the connector profile and mounting-hole centers from two identified panel edges. Include the required corner radii, dimensional tolerances, mounting face, and installation direction. Do not substitute a generic D-sub outline for the selected feedthrough's drawing. Similar-looking bodies can require different openings and mounting stacks.

  4. Cut and finish the panel. Support the work to prevent distortion, then make the opening using a process suitable for stainless steel. Deburr both faces and remove all chips. Inspect the finished profile and hole positions against the drawing, including its minimum and maximum dimensions. Do not enlarge the opening merely to make misaligned mounting holes fit.

  5. Install the flange and specified hardware. Position any gasket exactly as instructed, keeping its contact surfaces clean and flat. Fit the approved fastener lengths and tighten to the manufacturer's torque. Confirm that screws clamp the intended parts rather than bottoming in blind threads. The feedthrough must not rock or rotate when a mating plug is handled.

  6. Connect and support the internal cable. Fully seat the internal plug before tightening its retention screws. These screws retain an already seated connection; they should not pull a misaligned plug into position. Add cable support so cable weight, servicing movement, and door travel do not load the feedthrough or the circuit-board connector. Observe the cable manufacturer's bend-radius requirement.

  7. Check the complete electrical path. With the cables disconnected from equipment, verify the required pin mapping through the external cable, feedthrough, and internal cable. Inspect for unintended connections between pins and between pins and the shell. Verify shield continuity separately where the design requires it. Reconnect equipment only after completing the mechanical and electrical checks.

If the wall is too thick for full mating engagement, stop and change the mounting arrangement. Longer screws cannot recover connector engagement lost behind an excessive wall thickness.

Verify the pin mapping before applying power

A DB9 connector describes a physical interface, not a guaranteed signal assignment or communication standard. The feedthrough's gender also does not establish whether its wiring is straight-through or crossed.

For a documented straight-through nine-contact assembly, the expected continuity is pin 1 to pin 1 through pin 9 to pin 9. Verify the actual requirement rather than assuming every application needs that arrangement.

An internal extension and an external serial cable must work together as a complete circuit. A crossover in one component can change the required signal routing. Another crossover can change it again. Record the end-to-end mapping instead of relying on labels such as extension or adapter.

Use the pin numbers and viewing direction shown on the connector drawing. The mating-face view and rear view reverse left and right. This matters when checking a drawing against a visible connector face.

Do not use mounting hardware as an assumed protective bonding connection. Follow the enclosure grounding and bonding guide for the enclosure's protective bonding system. Signal-shield termination is a separate design decision that must suit the connected equipment.

Checks when the installation is complete

Check the assembly with the actual cables installed, not just with the bare feedthrough mounted.

  • Both plugs seat fully without interference from the panel or mounting hardware.
  • Retention screws engage correctly and remain accessible for service.
  • The flange sits flat, with no rocking, distorted metal, or trapped debris.
  • Cable bends meet their specified limits on both sides.
  • Internal supports prevent cable weight from loading either connector.
  • Door movement does not pull, pinch, or abrade the internal cable.
  • The measured pin mapping matches the approved wiring drawing.
  • Any specified shield connection remains continuous through the complete assembly.

Finally, unplug and reconnect the external cable once. The feedthrough should remain secure without requiring access inside the enclosure. If normal servicing loosens its mounting hardware, revise the retention arrangement before putting the panel into service.

Mistakes that cost the rating

An ordinary DB9 feedthrough is not automatically sealed against rain or washdown. Gaps can remain around its flange, shell, contacts, or mating cable. A flange gasket addresses only the interface it was designed to seal.

We build stainless enclosures rated NEMA 4X / IP66 by the manufacturer; not UL listed. That enclosure rating does not establish the performance of a newly installed connector opening. Review the enclosure rating after mounting devices before specifying the completed assembly.

Common mistakes include:

  • Treating a standard cable coupler as a sealed bulkhead component.
  • Using adhesive as the primary mounting method without a documented mechanical design.
  • Enlarging a cutout beyond the gasket's permitted sealing boundary.
  • Overtightening hardware until the flange or panel distorts.
  • Assuming a connector's protection applies when it is unmated.
  • Adding sealant to contacts or mating surfaces not intended to receive it.

For wet service, select a connector system whose documentation covers the installation and operating state you need. The requirements for waterproof panel mount connectors include the panel interface, mating cable, and any required closure cap. If those conditions cannot be met, keep the ordinary DB9 connection inside the protected enclosure instead.

What to put on the enclosure drawing

Specify the feedthrough identification, mounting face, panel thickness, cutout profile, hole centers, tolerances, and flange orientation. Attach its installation drawing rather than sending only a photograph.

Show the internal and external cable envelopes, including backshells, bend space, support locations, and access to retention screws. State whether environmental protection is required while connected, disconnected, or both.

Use the cutout designer to position openings and check their spacing against adjacent features. For custom stainless enclosures and factory cutouts, include the connector documentation with the drawing request. Review sealing, mounting hardware, and rear clearance on the approval drawing before cutting; a factory-made opening alone does not establish the completed assembly's rating.

Enclosures for this job

Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.

EnclosureMaterialOutside H x W x D / displayRating
12 × 10 × 6 in304 stainless12 x 10 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
16 × 14 × 8 in304 stainless16 x 14 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
20 × 16 × 8 in304 stainless20 x 16 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Can an ordinary DB9 inline adapter be mounted through a panel?

Only use an inline adapter if its manufacturer documents a suitable panel-mounting arrangement. Threaded cable-retention hardware does not necessarily provide structural mounting. A purpose-built panel feedthrough gives you a defined flange, cutout, thickness range, and hardware arrangement for retaining the connector.

Can the DB9 jackscrews also secure the connector to the enclosure?

Not always. Some feedthroughs use specified jackposts to clamp the mounting flange, while others need separate flange fasteners. Check the installation drawing, thread type, fastener length, and torque. Do not remove connector assembly screws unless the manufacturer permits that mounting arrangement.

What should I do if the enclosure wall is too thick?

Select a feedthrough rated for the actual wall and sealing stack, or use a documented alternative mounting arrangement. Confirm that both mating plugs can seat fully. Longer screws may change clamping reach, but they cannot correct interference between the panel and a recessed mating interface.

Does a panel-mounted DB9 feedthrough keep the enclosure sealed?

No. An ordinary feedthrough may leak around its flange, shell, contacts, or mating connection. A gasket alone does not resolve every path. Wet-service protection requires a documented connector system installed within its specified conditions, including whether it must be mated or capped.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Build it from 12 × 10 × 6 inRequest a custom quote

NEMA 4X enclosures: sizes for this job

Keep reading

More on layout and installation

All articles

Buying guides

The guides behind this answer

All guides