A tongue and groove gasket seals a custom enclosure when you get four numbers right: cord diameter, squeeze, groove width and groove depth. Run a solid silicone or EPDM cord in a machined groove, squeeze it 20 to 30 percent when the door closes, and give the compressed gasket 30 to 40 percent more groove width than its cross-section so it has room to flow. Everything else on the flange is detail work, and this article covers that detail work.
Why a lip and groove seal works
A tongue and groove joint does two jobs a flat flange with a strip gasket cannot. The tongue walls confine the gasket so it cannot extrude sideways under bolt load or wash-out under a hose, and the mechanical interlock takes the bending out of the door, so the compression stays even around the perimeter. That is why most sealed aluminum and stainless boxes use one.
The trade-off is tolerance. A flat flange forgives a warped door because you just tighten the bolts more. A groove does not: if the groove is too shallow the joint bottoms out metal-to-metal and the gasket does nothing, and if it is too deep the cord never reaches its target squeeze. You are machining a dimension, not sticking on a strip.
Choose the gasket material first
The cord material sets every dimension that follows, so pick it before you draw the groove.
- Solid silicone cord is the default for sealed electronics. It needs low closing force, recovers well after repeated openings, and stays elastic from roughly -60 to 200 C. Standard cords come in 2, 3, 4 and 6 mm diameters.
- EPDM cord is the choice for sustained water, steam and UV exposure, and it costs less than silicone. It swells in oils and coolants, so keep it away from gearboxes and hydraulics.
- Sponge (foam) silicone compresses at very low loads but takes a set faster. Use it only where the door closes by hand without fasteners.
- Adhesive foam strips do not belong in a machined groove. They have no recovery, and one door cycle can end the seal.
If the door is opened daily, silicone. If it is opened twice a year and the site is a washdown or coastal one, EPDM earns its keep. More on the material families sits in the comparison of foam and rubber door seals at foam versus rubber gasket choice.
Work out the compression you need
Target 20 to 30 percent squeeze of the cord diameter. That is the range where a solid elastomer fills the surface finish of both faces and still keeps a restoring force. The arithmetic:
- 3 mm cord at 25 percent: compressed height 2.25 mm
- 4 mm cord at 25 percent: compressed height 3.0 mm
- 6 mm cord at 25 percent: compressed height 4.5 mm
Below about 15 percent squeeze, the gasket stops following machining marks and dust tracks in. Above about 35 percent, compression set accelerates and the cord flattens permanently, so every opening after the first leaks. Silicone tolerates the upper end better than EPDM.
Size the groove
With the cord and compression fixed, the groove follows:
- Groove width: 1.3 to 1.4 times the cord diameter. A 3 mm cord needs roughly a 4 mm groove; a 6 mm cord needs roughly an 8 mm groove. The extra width gives the rubber somewhere to go as it squashes; a groove exactly the cord width hydraulically locks the gasket and can bow the flange.
- Groove depth: cord diameter minus the target compressed height, minus any gasket protrusion you want above the groove. A common arrangement lets the cord stand 0.3 to 0.5 mm proud of the groove edge in the open position, so the closing gap between tongue face and groove floor equals the compressed height. For the 3 mm cord at 25 percent, machine the gap at 2.25 mm (about 0.089 in).
- Tongue fit: give the tongue a clearance fit in the groove, 0.2 to 0.3 mm per side. A push fit scraps the gasket every time the door slides shut; a sloppy fit lets the cord roll instead of compress.
- Corner radius: the cord has a minimum bend radius of roughly two cord diameters. Radius the groove corners accordingly or the cord kinks at the corners and leaves a gap.
- Cord length: cut ends should be butt-joined with the manufacturer's adhesive or vulcanized splice, placed in a straight run, never in a corner.
For reference dimensions on a typical small build, a 3 mm silicone cord in a 4.0 mm wide, 0.8 mm deep rebated groove with a 2.25 mm closing gap is a proven starting point on boxes in the 150 to 300 mm class.
Fastener pitch and flange stiffness
The gasket only seals where the flange stays flat, and the flange stays flat between the bolts. As a rule of thumb for a 2 to 3 mm aluminum or stainless flange, keep fastener pitch at 100 to 150 mm (4 to 6 in) and no more than about 80 mm (3 in) from each corner. Wider pitch works with a thicker flange; work the numbers from the flange bending between bolts, not from habit.
- Torque the fasteners evenly, in a cross pattern, to a modest, consistent load. Silicone needs very little; crushing it adds nothing.
- Use captive fasteners or shoulder screws so the door cannot be overtightened against the groove floor.
- If the box has a hinged door, add a latch that pulls the door evenly, not a single over-center catch at one corner.
Cable entries decide the rating as much as the door does, so spec glands and drip loops before the drawing is finalized; the outdoor junction box sealing guide covers the entry details at sealing outdoor cable entries, and the gland-versus-grommet question is handled in rubber grommet versus cable gland.
Steps to spec the seal on a drawing
- Fix the duty: how often the door opens, the ambient temperature range, and whether oils, UV or washdown chemicals touch the gasket. Pick silicone or EPDM from that.
- Choose the cord diameter from the closing force you can apply and the flange width available. 3 mm suits small hand-closed covers; 4 to 6 mm suits bolted doors.
- Calculate compressed height at 25 percent squeeze, then set groove width (1.3 to 1.4 times cord), groove depth and closing gap so the joint reaches that height with 0.3 to 0.5 mm of cord protrusion at rest.
- Add clearance fit on the tongue, corner radii of at least two cord diameters, and a splice position in a straight run.
- Lay out fasteners at 100 to 150 mm pitch, tighter at corners, and note an even cross-pattern tightening sequence on the drawing.
- Route every cable entry through glands sized to the cables actually used, and add a drain provision if the box can ever see condensation; the condensation guide explains why a fully sealed box still breathes at why sealed enclosures get condensation.
- Send the flange section, groove dimensions and cutout schedule for review before machining anything.
Checks before you call it sealed
- Paper test: close the door on a strip of paper at several points around the perimeter. It should pull out with firm, even resistance everywhere.
- Gap check: with the door closed, feeler gauges should show an even gap around the tongue, within about 0.2 mm (0.008 in) all round.
- Light test in reverse: in a dark box with a bright exterior lamp, no light lines should show along the seal line.
- Compression set check after a month: open the door and look at the cord. A flat-sided cord that has not recovered means the squeeze is too high or the material is wrong.
Mistakes that cost you the rating
- Groove too shallow: the tongue bottoms out and the gasket floats. Always check the closing gap against the compressed height, not the drawing alone.
- Groove too narrow: the cord hydraulically locks, bolt loads spike, and the flange bows between fasteners.
- Corners tighter than the cord allows: kinked cord, guaranteed leak at every corner.
- New cutouts added after the fact: each new port is a new leak path, and the enclosure keeps its rating only for the design actually tested or specified; a modified enclosure is rated by the manufacturer for the specified design, not UL listed. The rules around modifications are covered in what rating survives cutting and mounting devices.
- One latch on an unhinged cover: even gasket compression needs even pull-up, or the corner opposite the latch leaks first.
A fully machined tongue-and-groove body makes sense when the box takes impact, needs a specific shape, or must carry a look of strength along with the seal. Where the sealing requirement is ordinary and the shape is standard, a catalog wall-mount box with a good door gasket is faster and cheaper; start from the custom enclosure options at custom enclosures or configure your own geometry at the custom enclosure builder. If you do go custom, the drawing checklist at how to specify a custom enclosure is the shortest path from sketch to a quote, and the flange and cutout review on the stainless side is covered at custom stainless cutouts.
Questions
What compression should a tongue and groove gasket have?
Aim for 20 to 30 percent squeeze on a silicone or EPDM cord: a 3 mm cord should sit at roughly 2.1 to 2.4 mm after the door is closed. Silicone tolerates a little more, EPDM a little less. Too little squeeze leaks; too much sets the cord permanently and the seal relaxes within a season.
How deep and wide should the gasket groove be?
Make the groove width about 1.3 to 1.4 times the cord diameter so the compressed gasket has somewhere to flow, and set the groove depth so the remaining gap between groove floor and the mating lip equals the target compressed height. For a 3 mm cord with 25 percent squeeze, leave about 2.25 mm of gap.
Which gasket material suits a sealed enclosure best?
Solid silicone cord is the default: it seals at low bolt load, handles -60 to 200 C, and recovers after every opening. EPDM is a good alternative outdoors and resists water and steam, but avoid it around oils. Never rely on an adhesive-backed foam strip in a machined groove; it cannot recover.
Can a field-machined groove keep the enclosure rating?
The rating of a modified enclosure is a manufacturer rating for the specified design, not a certification, and cutting a new groove or ports can void the original rating. Have the groove and every cutout reviewed on the approval drawing before machining, and re-check gasket contact around each new opening.





