An enclosure is the part your customer touches, drops, and judges — and it decides whether the electronics inside survive rain, dust, and a service visit. Most enclosure projects go wrong in the same place: the sealing target and the assembly method are decided after the shape is drawn, when the wall is already too thin for a gasket groove and the bosses are in the wrong place. Get those two decisions right first, and the rest follows.
Decide the sealing target and the assembly method before you freeze the shape. An enclosure that must keep out dust and splashes needs a gasket groove, a flat sealing face, and screws or a weld that hold the two halves together with even pressure; an enclosure that is never opened can be ultrasonically welded shut. Once those two decisions are made, the wall, ribs, and bosses follow standard rules — and the mold can be cut without a redesign.
How to use this guide: start with the requirements table, pick the sealing method, size the structure with the rules in the third section, and take the checklist to your RFQ.
Start with what the enclosure must survive
An enclosure is not one requirement but a bundle of them, and they pull in different directions. A handheld device that will be dropped needs toughness and a wall that can take the impact; an outdoor box that will sit in the sun needs UV stability and a seal that still works after a hot summer; a medical housing that will be wiped down daily needs chemical resistance and a smooth surface with nowhere for fluid to sit. Write the list down before you draw anything, because each item on it changes the material, the wall, or the joint — and changing any of those after the mold is cut is expensive.
The five questions that set the design are: what must stay out, what must survive a drop or a knock, how hot does it get inside, does anyone open it, and what does it have to look like. Answer those five and the enclosure almost designs itself; skip them and you will be redesigning around a sealing face that cannot seal.
The table below turns the environment into design consequences. It is a starting point, not a specification: the exact rating and the exact test belong in the product requirement, and the mold maker needs them in writing before quoting.
| Environment or use | What it demands | Design consequence |
|---|---|---|
| Indoor, dry, never opened | Dust cover only, no seal | Snap fits or ultrasonic weld; thin wall is fine |
| Indoor, splashes or cleaning | Water resistance, wipe-down | Gasket groove or weld; smooth outer surface, no dirt traps |
| Outdoor, rain and dust | Dust-tight, rain-proof | IP65 or better; gasket with even screw pressure; UV-stable resin |
| Outdoor, immersion risk | Temporary submersion | IP67; gasket plus screws all round; sealing face flatness checked at T1 |
| Dropped or knocked | Impact strength, no cracking at bosses | Tougher resin such as PC/ABS; ribs and gussets; generous radii |
| Hot electronics inside | Heat must escape | Venting slots or a heatsink path; resin with a suitable heat deflection temperature |
| Radio inside (WiFi, Bluetooth) | Signal must pass through the wall | Avoid metal-filled resins and metal coatings over the antenna area; keep the wall thin there |
| Opened often for service | Repeated assembly without wear | Screws and metal inserts, not snap fits; gasket that survives reassembly |
Two points in that table catch first-time buyers out. The first is that a sealing rating applies to the finished, assembled product, not to a material or a gasket on its own: the IP Code in IEC 60529 rates the enclosure as built, so a gasket that seals perfectly on a flat test plate can still fail if the lid warps or the screws are too far apart. The second is that serviceability and sealing pull against each other — a welded enclosure seals well and is never opened, while a screwed enclosure can be opened but needs its screws tightened evenly, every time, or the seal leaks at the corner furthest from the nearest screw.
Material choice follows the requirements, not the other way round. PC/ABS is the common choice for a tough handheld enclosure; ABS is the low-cost choice for an indoor box; PP is the choice where chemical resistance matters and the surface finish is less critical; nylon is strong and tough but absorbs moisture, which matters for tight tolerances and for a sealing face that must stay flat. Our guide to choosing injection molding materials walks through the selection sequence, including the chemical and temperature checks that decide between these families — and Fictiv’s guide to enclosure design for injection molding makes the same point from the design side: start from the environment the enclosure will operate in, the function it must provide, and the standard it must meet, then design to those.
Sealing: choose the method before the geometry
There are four ways to keep water and dust out of an enclosure, and they need different geometry. A gasket needs a groove and a flat face to press against; a tongue-and-groove joint needs matching ribs on both halves; an ultrasonic weld needs an energy director — a small triangular ridge — along the joint; an adhesive bond needs a clean, flat bonding area and time to cure. If you draw the two halves first and choose the sealing method later, you will usually find there is no room for the groove, or the wall is too thin for the weld ridge, or the parting line runs across the sealing face.
Pick the sealing method from the table below, then draw the joint to fit it. The groove, the weld ridge, and the screw spacing are features of the part, not afterthoughts — and they need wall thickness and flat space that the rest of the design must leave room for.
| Sealing method | How it works | Best when | What the part must provide |
|---|---|---|---|
| Elastomer gasket in a groove | A rubber cord is compressed between lid and base | The enclosure is opened for service; IP65 or IP67 is needed | A groove in one half, a flat face on the other, screws close enough to hold even pressure |
| Tongue-and-groove | A rib on one half fits a channel on the other | Light splash protection without a separate gasket | Matching rib and channel, both drafted; a small gap for the seal to breathe |
| Ultrasonic weld | Vibration melts a ridge and fuses the halves | The enclosure is never opened; a permanent hermetic seal is wanted | An energy director ridge along the joint; a flat weld face; no parts inside near the joint |
| Adhesive or solvent bond | Glue or solvent fuses the joint | Low volumes, or a joint a weld cannot reach | A clean bonding area; a groove or step that keeps the adhesive in place; curing time in the plan |
| Screws alone, no gasket | The two halves clamp metal to plastic | Indoor use, dust only | Flat mating faces; enough screws that the halves cannot bow apart |
The gasket groove deserves a closer look because it is the most common choice and the most commonly drawn wrong. The groove must be wide enough for the cord plus a little clearance, and deep enough that the cord is compressed when the lid is screwed down — the compression is what makes the seal, and it must be even all the way round. That means the screws must be close enough together that the lid cannot bow between them: a lid with screws only at the corners will seal at the corners and leak in the middle. Put a screw boss near every long straight run, and check the lid for flatness at T1 — a warped lid is the most common reason a gasketed enclosure fails its first water test, and it is a mold and process problem, not a gasket problem.
The IP rating itself needs care in how it is written. The IP Code in IEC 60529 has two digits: the first rates protection against solid objects and dust, from 0 to 6, where 6 means dust-tight; the second rates protection against water, from 0 to 9. IP65 means dust-tight and protected against water jets; IP67 means dust-tight and protected against temporary immersion in water up to 1 metre for 30 minutes. Do not write an IP rating on a drawing or a datasheet until a representative assembled unit has passed the test for that rating — the rating is a claim about the product as built, and it is tested on the product, not on the resin. If your market needs a rating, say so in the RFQ and ask what evidence the supplier will provide: a test report on a production-intent unit, not a material datasheet.
Heat is the other sealing problem that gets forgotten. Electronics make heat, and a sealed box traps it. If the enclosure is sealed and the electronics inside run hot, the air inside expands and contracts with temperature, and every cycle pushes and pulls at the seal. For a sealed outdoor enclosure, ask about a vent — a small pressure-equalisation vent that lets air through but not water — and check the resin’s heat deflection temperature against the hottest temperature the inside of the box will reach. A lid that softens in the sun will not hold a seal, however good the gasket is.
The structure that carries the seal: walls, ribs, and bosses
An enclosure is a thin-walled shell, and its strength comes from the shape, not from thick plastic. The rule that governs almost everything in this section is simple: keep the wall uniform, and add stiffness with ribs and bosses instead of thickening the wall. A thick section cools slowly, shrinks more, and leaves a sink mark on the show face — or a void inside, as our guide to choosing wall thickness explains — while a rib of the right size adds stiffness for a fraction of the material and the cycle time.
Keep the nominal wall uniform, size ribs and bosses to a fraction of that wall, and give every vertical face draft. The numbers below come from published molding guidance; they are starting points to confirm against your resin datasheet, not a substitute for it.
Protolabs’ published wall-thickness guidance gives these recommended ranges by resin, and they are a good first check on whether your wall is in the right band at all:
| Resin | Recommended wall thickness |
|---|---|
| ABS | 1.1–3.5 mm |
| PC | 1.0–3.8 mm |
| PP | 0.6–3.8 mm |
| Nylon (PA) | 0.8–2.9 mm |
| PE | 0.8–5.1 mm |
See Protolabs’ wall thickness guidelines for the full table and the reasoning behind it. A handheld enclosure in PC/ABS will usually sit at 2–3 mm; a small indoor box in ABS can sit at 1.5–2.5 mm; a large outdoor box may need 3 mm or more, but check the flow length first — a wall that is too thin for the distance the melt must travel will short-shot before it ever seals.
The structural rules, with the source for each:
- Ribs: 40–60% of the nominal wall. Protolabs’ rule is that ribs and boss walls should be 40–60% of the adjacent wall, so the rib does not leave a sink mark on the opposite face. Fictiv’s enclosure guide allows ribs up to 50–75% of the wall where the opposite face is not cosmetic — use the tighter 40–60% range wherever the outside face is visible, and the wider range only on a hidden inner face. Keep rib height to 2.5 times the wall or less, give the rib at least 1 degree of draft, and put a fillet at the rib base of 0.25–0.5 times the wall, with a minimum radius of about 0.25 mm.
- Bosses: 40–60% of the nominal wall, height under 3 times the outside diameter. The same 40–60% rule applies to the boss wall, for the same reason: a solid boss is a thick section, and a thick section sinks and voids. Tie the boss to the nearest wall with ribs or gussets instead of leaving it standing alone. Our guide to designing screw bosses covers pilot holes, inserts, and the strength-versus-sink trade-off in full, including the counterbore and gusset details.
- Fillets: inside radius at least 0.5 times the wall. Sharp inside corners concentrate stress and resist flow; a radius of half the wall or more on inside corners, with the outside radius equal to the inside radius plus the wall, keeps the wall uniform around the corner.
- Draft: about 1 degree per inch of cavity depth. Protolabs’ rule of thumb is 1 degree of draft per 1 inch of cavity depth, with a minimum of about 0.5 degrees on vertical faces. Textured faces need more draft, because the texture has to pull clear of the steel — add draft for texture rather than discovering drag marks at T1. Deep enclosures need the most care: a tall, straight wall with no draft will drag, scuff, or stick, and a stuck part is a scrapped part.
- Gussets for tall walls. A tall, thin enclosure wall will flex; a gusset — a triangular rib tying the wall to the base — stiffens it without adding a thick section. Keep the gusset to the same 40–60% thickness rule as a rib.
One more structural point: the sealing face is a flatness problem, not just a strength problem. The lid and the base must meet flat all the way round, or the gasket will not compress evenly. That means the wall near the seal must be stiff enough not to bow between screws, and the mold must hold the sealing face flat — which is a mold-temperature and cooling question as much as a design one. Ask for flatness to be checked on the sealing face at T1, and agree what the limit is before the trial, not after.
How the two halves join: screws, snap fits, welding, or glue
The joint has to do three jobs at once: hold the halves together against drops and vibration, hold the seal compressed evenly, and — for a serviceable product — come apart without damage and go back together the same way. No single method does all three best, so the choice is a trade-off, and it should be made with the sealing method, not after it.
If the enclosure opens for service, use screws with metal inserts or a gasket and screws; if it never opens, weld it; use snap fits only where the joint carries no sealing load and the part is never opened after assembly.
| Joining method | Sealing | Serviceability | What to watch |
|---|---|---|---|
| Screws into bosses | Good with a gasket; even pressure if bosses are spaced well | Best — opens and closes repeatedly | Boss strength, insert choice, torque; screws must not be so far apart that the lid bows |
| Screws with metal inserts | Good with a gasket | Best for repeated opening; inserts survive many cycles | Insert type and installation; boss design around the insert |
| Snap fits | Poor alone — no even pressure on a gasket | Poor — wears and weakens with each opening | Use only where no seal is needed; check fatigue if the lid is removed more than a few times |
| Ultrasonic weld | Best — a fused, permanent seal | None — the enclosure is destroyed on opening | Energy director design; keep electronics away from the joint; no rework |
| Adhesive bond | Good if the bond area is clean and flat | None, or very difficult | Cure time in the production plan; surface preparation; bond strength after ageing |
| Screws plus snap fits | Good — snaps locate, screws clamp | Good — snaps hold the halves while screws go in | Snaps must not fight the screws; locate with snaps, clamp with screws |
Our guide to joining injection molded parts compares ultrasonic welding, adhesive bonding, snap fits, and screws in detail, including the joint designs each method needs — the energy director for welding, the surface preparation for adhesive — and snap-fit design covers the cantilever, U-shaped, and annular types with the strain limits that decide whether a snap fit survives assembly. The point to carry into this article is the combination: on a serviceable gasketed enclosure, the usual answer is snap fits or small locating pins to hold the halves in place while the screws go in, and screws to do the clamping. The snaps locate; the screws seal. A snap fit asked to hold a gasket compressed will creep, relax, and leak — that is not a snap-fit failure, it is a wrong job for the method.
Screw spacing deserves a number-free rule rather than a false precision: put a boss wherever a long straight run would otherwise bow, and never leave a corner or a long edge without a screw near it. If the enclosure is large, add bosses along the long sides, not just at the corners. The T1 check is simple and cheap: assemble the enclosure, tighten the screws in the sequence the instructions will specify, and check the gasket compression and the gap all the way round with a feeler gauge. A gap that opens between screws is a spacing problem, and it is fixed by adding a boss, not by tightening the existing screws harder — over-tightening strips the boss or warps the lid, and the seal gets worse.
Parting line, draft, and gate: where the mold leaves its marks
Every molded part carries the marks of how it was made — the parting line where the two halves of the mold meet, the gate where the plastic entered, and the ejector marks where pins pushed the part out. On an enclosure, those marks matter more than on most parts, because they sit on or near the sealing face, the show face, or the antenna window. Decide where they go before the mold is designed, because moving a gate or a parting line after the steel is cut is a mold change, not a discussion.
Put the parting line where it cannot break the seal, put the gate where it cannot mark the show face, and keep ejector pins off the sealing face and the cosmetic surface.
- Parting line. The parting line should run where the two halves meet — usually around the rim of the base — and it must not cross the gasket groove or the sealing face. A parting line across a sealing face leaves a witness line and a small step that the gasket has to bridge, and it will leak there first. If the lid and base part on different planes, say so on the drawing and agree the shutoff with the mold maker before the mold is designed. A stepped parting line needs more draft on the shutoff faces — about 3 degrees as a minimum where steel shuts off against steel.
- Gate. Gate on a hidden face — the inside of the base, or a face that sits against a mounting surface — and away from the sealing face, the antenna area, and any thin wall that the melt must travel a long way to fill. A gate on the show face leaves a vestige that has to be trimmed and will usually still be visible. For a large, flat lid, ask how the gate position affects fill and warpage: a lid gated at one end will fill unevenly and may warp, and a warped lid does not seal.
- Ejectors. Ejector pins leave small round marks; put them on the inside face, on ribs or bosses where they are hidden and supported, and never on the sealing face or the show face. A deep enclosure needs enough ejection area that the part comes out straight — ejecting a tall box from one side only will cock it in the mold and drag the walls.
- Texture and finish. If the outside is textured, remember that texture needs extra draft, and that a heavy texture on a thin wall can read through to the inside. Agree the finish with the mold maker using the SPI or VDI scale, and check it on a T1 sample in the right light — a texture that looks fine under workshop lights can look patchy in daylight.
A worked example: a handheld control enclosure (illustrative)
The example below is illustrative, with every assumption stated so you can replace it with your own part. It is not a quotation, a test result, or a promise of what your part will do.
Assume a handheld control enclosure for an indoor-outdoor device: two halves, a base and a lid, 120 mm long, 80 mm wide, and 30 mm deep, molded in PC/ABS. The device will be carried outside in rain, wiped down, and opened for battery replacement. The target is IP54 — dust-protected and splash-proof — and the lid is removed a few times a year, so the enclosure must be serviceable.
The decisions, in order:
| Decision | Choice for this example | Why |
|---|---|---|
| Sealing target | IP54, gasket seal | Rain and splashes, not immersion; gasket because the lid opens |
| Sealing method | Silicone cord gasket in a groove, 4 screws plus 2 mid-side bosses | Even pressure all round; 6 screws so no long edge bows |
| Wall | 2.5 mm PC/ABS, uniform | Inside Protolabs’ 1.0–3.8 mm band for PC; stiff enough for a 120 mm span |
| Ribs | 1.25 mm thick (50% of wall), height 5 mm, base fillet 0.6–1.25 mm | 50% is inside the 40–60% rule; height 5 mm is 2 times the wall, under the 2.5-times limit |
| Bosses | Wall 1.0–1.5 mm, tied to the side wall with gussets | 40–60% of the 2.5 mm wall; gussets carry the screw load without a solid boss |
| Joining | M3 screws into brass inserts, snap fits only as locators | Repeated opening; inserts survive more cycles than self-tapping screws |
| Parting line | Around the rim of the base, clear of the gasket groove | The groove and the sealing face are on uninterrupted surfaces |
| Gate | Inside face of the base, away from the seal and the show face | No vestige on the outside; fill starts at the stiffest area |
Two trade-offs in this example are worth noting. First, IP54 was chosen rather than IP65: the device is splashed, not jet-washed, and the looser target leaves room for a gasket groove that fits in a 2.5 mm wall without a thickened rim. If the target were IP67, the groove, the screw spacing, and the flatness check would all need to be tighter, and the wall near the seal would probably need a local stiffening rib — which is a design change, not a gasket change. Second, the lid is screwed, not snapped: snap fits would have been cheaper per unit, but they cannot hold a gasket compressed evenly over years of temperature cycles, and they would not survive repeated battery changes. The screws cost more per unit and need inserts; they are the price of a seal that still works in year three.
T1 and RFQ acceptance checklist: enclosures
Send this checklist with your RFQ, and ask for the answers in writing before the tool is ordered.
- What is the sealing target — IP rating, or dust and splash only — and will a representative assembled unit be tested to it?
- Which sealing method is proposed — gasket, tongue-and-groove, ultrasonic weld, or adhesive — and where is the joint drawn?
- What gasket material and cord size are proposed, and what compression is the groove designed for?
- Where are the screw bosses, and what is the longest unsupported run between two screws on the sealing face?
- What is the nominal wall, and are the ribs and boss walls inside the 40–60% rule?
- What draft is on the vertical faces, and how much extra draft is allowed for the texture?
- Where is the parting line, and does it cross the gasket groove or any sealing face?
- Where is the gate, and is it on a hidden face away from the seal and the show face?
- Where are the ejector pins, and are they clear of the sealing face and the cosmetic surface?
- What is the flatness limit on the sealing face, and how will it be checked at T1?
- Will the T1 samples be assembled, screwed to torque, and checked for gasket compression and gap all the way round?
- What material grade is proposed, and does its datasheet cover UV, chemical, and temperature exposure for this use?
FAQ
Can I get an IP67 rating on a snap-fit enclosure?
Not reliably. A snap fit cannot hold a gasket compressed evenly around the whole joint, and plastic creeps — the holding force falls over time and the seal opens. If the rating matters, use screws with a gasket, or weld the enclosure shut. A snap fit can locate the halves while screws do the clamping, but it should not be the seal.
My lid warps and the gasket leaks at one corner. What do I fix first?
Check the mold temperature and cooling first — uneven cooling is the most common cause of a warped lid — then check the gate position and the wall uniformity. Adding screws near the leaking corner helps, but it treats the symptom: a lid that is flat at T1 and warps in service is a cooling or material problem, and it will come back.
Can the enclosure be thinner to save material?
Only if the flow length allows it and the structure still works. A thinner wall fills less reliably, cools faster, and flexes more — which is exactly what breaks a seal. Use ribs and gussets for stiffness instead of thickening the wall, and check the resin’s recommended wall range before going thinner. Saving resin on a wall that then leaks costs far more than the resin saved.
Does the gasket groove need draft?
Yes, on the groove walls, so the mold can release the groove cleanly — and the groove must be drawn so the gasket can be fitted without stretching it out of shape. A groove with no draft will drag, and a damaged groove edge will cut the gasket over time. Agree the groove dimensions and the gasket size with the gasket supplier, not just the mold maker.
Should the enclosure be molded in one piece with a living hinge?
Only for small, light lids that open and close often and carry no seal. A living hinge needs a thin, flexible section — usually PP — and a gasketed seal needs a stiff, flat face. The two requirements fight each other, and a living hinge on a sealing enclosure is usually the wrong combination.
The decision in one paragraph
An enclosure is a system, not a shell: the sealing target and the assembly method come first, the wall, ribs, and bosses follow published rules, and the parting line, gate, and ejectors are placed where they cannot break the seal or mark the show face. A gasketed enclosure that opens for service needs screws spaced closely enough to hold the seal flat, a flat sealing face checked at T1, and a resin chosen for the environment it will actually live in — not the cheapest resin that fills the mold. Get those decisions in writing before the tool is ordered, and the enclosure will still seal in year three.
If you have an enclosure to design — or one that leaks, warps, or will not stay shut — send us the part: a STEP file, the 2D drawing, the sealing target, the resin, the quantities, and a photo of the problem if there is one. Tell us the key tolerances, the surface finish, the delivery region, and your timing, and we will review the design with you and tell you honestly whether the fix is the joint, the structure, or the mold. Cavity Mold is ISO 9001 Certified. Start with our contact page.

