Op maat gemaakte kunststofonderdelen: van prototype tot productie — Vraag vandaag nog uw offerte aan. WhatsApp +86 156 0682 1288 [email protected]
Spuitgieten

Waterproof Enclosure Design: What Decides the IP Rating

Alex Yu

Alex Yu

Leestijd: 16 minuten

Publicatiedatum: Nov 23 2026

Waterproof Enclosure Design: What Decides the IP Rating

An IP rating is the result of a test, not a design parameter. That distinction is where most molded enclosure programs lose money: the drawing says IP67, the CAD carries no sealing geometry that could survive production tolerances, and the failure shows up on the third sample round — after the tool has been cut. This article is about the handful of numbers that actually decide the outcome: seal compression, warp, sealing-land width, screw pitch, and the pressure your enclosure generates every time the sun comes out.

What does an IP water rating actually test?

The water digits come from IEC 60529, and each one is a specific rig with specific parameters. If you are specifying a rating, you are specifying a test you agree to submit to.

BeoordelingThe water testDuration and geometryWhat it does not prove
IPX3Spraying at up to 60 degrees from verticalOscillating spray, roughly 10 cm per minute per square meterAnything about standing water
IPX4Splashing from any directionAround 10 liters per minute, all facesSealing under continuous flow
IPX5A water jet from a 6.3 mm nozzle12.5 liters per minute at about 30 kPa, roughly 2.5 to 3 m away, at least 3 minutesLong immersion or pressure cycles
IPX6A heavier jet, 12.5 mm nozzleAround 100 liters per minute at about 100 kPa, same distance and duration ruleAnything below the waterline
IPX7Immersion30 minutes with the lowest point 1 m below the surfaceRepeated immersion, warm water, or waves
IPX8Immersion beyond 1 mAgreed between manufacturer and customer, and it must be more severe than X7Unless the agreement says so: cyclic pressure
IPX9KHigh-pressure, high-temperature steam cleaning80 °C water at 8 to 10 MPa at 14 to 16 liters per minuteOutdoor aging at all

Read the last column twice. None of these tests includes a temperature cycle, and none of them includes the thing that destroys field enclosures: the breathing cycle created by daytime heating and night-time cooling, which actively pumps moisture through whatever path is easiest. A gasket that passes IPX7 on a bench at 20 °C can fail in a year on a south-facing wall.

The dust digit is usually the harder engineering requirement for a molded part, because it is about gaps you cannot see: the interface at a cable gland, the bore around a pushbutton shaft, and the parting line of a cover held by four screws with a 0.4 mm step between them.

Water droplets beading on the textured surface and cable gland of an outdoor enclosure after a spray test

Which sealing architecture should you model in CAD?

This choice is made in the model, not in the assembly. Once you have chosen it, everything downstream — the tool, the tolerances, the bill of materials, the assembly labor — follows.

ArchitectureRealistic ceilingSensitive toAssembly and serviceTypical use
Flat land plus flat-cut gasket, held by screwsIP65 to IP66, IP67 with careful flatnessCover warp and gasket thickness toleranceCheap, but every opening re-seats the gasketSensor housings, junction boxes
molded cord in a closed grooveIP67 to IP68 for static waterGroove depth tolerance, cord diameter tolerance, corner liftingReliable if the groove is closed and continuousMeter housings, outdoor controllers
Tongue and groove with a soft lipIP66 to IP68Tongue-to-groove clearance, and whether the tongue bottoms outSelf-centring, tolerant of hand assemblyMains-powered outdoor enclosures
Formed-in-place gasket, dispensed foamIP54 to IP66 realisticallyDispense path repeatability and adhesionFast in production, weak if the joint is flexedConsumer outdoor devices, lighting
Ultrasonically welded or heat-sealed shellIP67 and above, effectively permanentWeld energy consistency, joint design, part cleanlinessNo field service without destroying the seamDisposable or sealed-for-life modules
Overmolded TPE or LSR seal on a rigid shellIP67 to IP68 with fewer partsBond between materials, flash at the parting lineBest part count, worst tooling cost and reworkHandhelds, wearables, power tools
Potting or low-pressure encapsulationIP68 equivalent internally, plus shockThermal expansion mismatch, rework is impossibleHighest protection, zero serviceabilityBare electronics in wet locations, see our PCB encapsulation guide

Most programs that overshoot pick the last two rows when the third row was enough. Most programs that fail pick the first row and hope.

How much compression does a molded seal actually need?

The starting equation is simple enough to do on the back of an envelope during a design review:

squeeze percent = (free cord height minus assembled gap) divided by free cord height, times 100.

For an elastomer seal in a static joint, the practical design target sits between 15 and 30 percent deflection, with roughly 20 to 25 percent the nominal aim for molded silicone and EPDM cords. Below that band the sealing pressure is too low to bridge the surface texture of the two faces; above it the cord is being squeezed so hard that the polymer takes permanent set, and the second time anyone opens the enclosure you have a flat ribbon where a round cord used to be.

Then the force arithmetic, because this is what tells you how many screws you need. Take an outdoor controller cover, 160 by 110 mm, with a continuous 2.0 by 1.5 mm silicone cord running a perimeter of about 480 mm.

StapWorkingWaarde
Free cord cross-section2.0 mm wide by 1.5 mm high3.0 square mm
Target squeeze at 22 percent1.5 mm times 0.78assembled gap 1.17 mm
Contact pressure needed to bridge molded texturecommonly quoted in the 0.3 to 0.8 MPa band for soft elastomersuse 0.5 MPa
Sealing contact area1.5 mm land width times 480 mm720 square mm
Ideal clamp load0.5 N per square mm times 720about 360 N
Per unit length360 N over 480 mmabout 0.75 N per mm
Screws, if each boss is comfortable at 60 to 80 N before creep becomes a problem360 divided by 70about 5 to 6 M4 or ST3 bosses

Those numbers are an order-of-magnitude design method, not a substitute for a gasket vendor's compression curve, but they explain the two rules that matter. First, the sealing force you need is proportional to perimeter, so a big flat cover is a boss-count problem, not a wall-thickness problem. Second, if you halve the sealing land from 1.5 mm to 0.8 mm, the same load produces roughly double the contact pressure — which is why a narrow rib is a better sealing surface than a broad flat shelf, provided the two faces stay parallel.

Close view of a molded rubber gasket cord seated in a groove on a plastic enclosure cover

What do molding tolerances do to a sealing land?

A sealing joint is a stack-up of parts that shrink. Here is the honest budget on a common geometry: an ABS cover, 160 by 110 mm, 2.0 mm nominal wall, with a molded cord on the cover and a flat land on the body.

ContributorRealistic range on this partEffect on the joint
Cover flatness across the diagonal0.2 to 0.6 mm, worse if ribs are asymmetricGap opens at the corners, closes at the middle
Wall thickness variation across the part0.05 to 0.15 mmLocalised shrink differences, adds to warp
Gasket cord height tolerance from moldingplus or minus 0.05 to 0.10 mmDirectly shifts the squeeze percent
Groove depth as-shrunkplus or minus 0.05 to 0.10 mmSame direction as cord error, so they can add
Screw boss height variationplus or minus 0.10 mmBosses, not the gasket, set the final gap
Insert or connector protrusionwhatever it isA connector 0.2 mm tall at one corner creates a leak path

Worst case here sums to something near 1.0 mm of gap variation — three times the elastic budget of a 1.5 mm cord. You fix this by design, not by inspection:

CountermeasureHow it worksKosten
Hard stops beside the sealBosses or stop ribs carry the clamp load, so screw torque cannot crush the cordTool complexity only, no unit cost
Keep sealing-land flatness inside 0.15 mm by ribbing the cover, not thickening itRib placement controls sink and warp far better than extra wallSame cycle time if ribs are under 60 percent of wall
Put the seal on the part with the better flatness, or the one you can shimMoves the tolerance burdenFree if decided before the model is frozen
More bosses at 50 to 70 mm pitch around the perimeterReduces local gap opening between fixingsAssembly time, roughly 10 to 20 seconds per screw
Metal insert bosses where torque is highStops creep relaxation that lets preload decayInsert cost plus placement, and possible cracking if the surround is thin
Compressible spacer or controlled torque in the work instructionPreload becomes repeatableProcess discipline, effectively free

If you are designing the cover and the body at the same time, the tolerance conversation belongs in the model, not in the supplier's e-mail. Our write-up on CAD decisions that change tooling cost covers where to put the tight class.

Why does an enclosure that passes IP67 still fill with water after a year?

Because the field applies a pressure cycle the laboratory never does. Work it out for a sealed, roughly rigid housing with 1.2 liters of internal air volume, closed at 20 °C.

ConditieAbsolute internal pressure if nothing equalisesGauge pressure relative to outside
Sealed at 20 °C, 293 K101.3 kPa0
Interior reaches 60 °C in afternoon sun, 333 Kabout 115 kPaplus 14 kPa, pushes air and any trapped moisture out
Interior drops to minus 20 °C at night, 253 Kabout 88 kPaminus 14 kPa, pulls outside air back in

Fourteen kilopascals of vacuum is the equivalent of about 1.4 meters of water head — deeper than the IPX7 test immersion, applied slowly, several hundred times a year, through whatever path offers least resistance. That path is almost never the main gasket. It is the cable gland that was specified too soft, the unused connector hole plugged with a cap that was not rated, the vent hole somebody forgot to add, or the thread of a breather screw that runs straight through the wall.

Here is what that breathing actually carries in. Cooling from 20 °C to minus 20 °C draws back roughly 13 percent of the internal volume, so about 160 ml of outside air. Ambient air at 25 °C and 80 percent relative humidity holds close to 18 grams of water per cubic meter. So each night inhales about 3 milligrams of water, and three hundred nights inhale about 0.9 grams. That is why the classic field failure is not a puddle but a bead of condensation sitting on a connector, every morning of a cold season, from a box that passed its dip test.

The practical consequences:

RequirementWhat the arithmetic saysDesign response
Equalise the breathing cycleFlow demand is small: about 1 to 5 ml per minute for a housing of this sizeA small hydrophobic membrane vent is enough; you select it on water-entry pressure, not flow
Block liquid water at the ventWater must not pass the membrane under the test jet or immersion depthSpecify the vent's rated water entry pressure above your worst case, and place it where pooled water cannot sit on it
Handle the residual humidityAbout a gram per year in this exampleA 5 gram desiccant charge inside a serviceable enclosure covers several years
Avoid thermal stress on the sealThe cover bulges and relaxes each dayKeep the cord in its elastic band with hard stops, so cyclic movement does not walk the seal

A vent is not a hole in your IP rating; an unpotted cable entry is. The most common combination we see specified is an IP67 gasket with an IP44 gland on the cable entry, which makes the assembly IP44 and the gasket a waste of money.

Where do waterproof molded enclosures actually fail in the field?

Ranked roughly by how often we see them, with the countermeasure that costs least.

Failure pointMechanismeCheapest countermeasure
Cable and conduit entriesGland compression range does not match the cable jacket; or a spare port left uncappedSpecify glands against the actual cable OD range, and mold spare-port plugs as part of the tool
Screw bossesOver-torque cracks the boss, or creep relaxes the preload and the gap reopensMetal insert bosses, controlled torque, and boss geometry designed for the torque, not for the screw
The sealing land itselfWarp, sink over ribs, flash, or a gate vestige sitting under the cordKeep the land flat within 0.15 mm, put no gate or ejector pin under it, and check flash at the parting line
Connectors and user controlsThe component interface, not the enclosure, is the weak pointSpecify the mating connector's own IP rating and design the bezel to it
Vent or drain strategyWater enters a low point and stays thereAdd drain paths and put the vent at the highest practical point
Cold-weather impactThe material embrittles and the housing cracks at a screw boss when dropped or torqued at minus 20 °CChoose the resin for the low-temperature impact spec, not the room-temperature datasheet; our cold-weather housing failure analysis is the same problem
UV and surface chalkingThe seal lip and the outer shell age at different ratesUse a UV-stable resin for the seal, and consider ASA or coated exterior faces

Outdoor plastic electrical enclosure with a sealed cover and cable gland mounted on a wall

How many fasteners does a sealing joint actually need, and how far apart?

Screw pitch is a leak path, not a styling choice. Between two bosses, the cover bows away from the body under internal pressure and bows toward it under vacuum, and the amount of movement grows quickly with the unsupported span.

Take the same 160 by 110 mm cover with a 480 mm seal perimeter. If you use four bosses, the average spacing along the perimeter is 120 mm. With six it is 80 mm, and with eight it is 60 mm. A practical rule for a gasketed plastic cover is to keep the unsupported span between fixings at 50 to 70 mm, which puts this cover at eight to ten M4 or ST3 positions. That is also why a rectangular cover with two bosses on the long sides leaks in the middle of the long runs and passes the corner inspection.

Then check what each boss can actually hold. A molded boss in ABS with a properly designed surround, 6 mm diameter and 12 mm deep, is commonly torqued to 60 to 100 N of clamp before creep becomes a multi-year concern; a thin boss sitting on a corner rib can fail at a fraction of that during assembly. So the arithmetic is a balance, not a maximization:

Design choiceWhat it does to the jointWhat it costs
More bosses at 60 mm pitchHigher local clamp pressure, smaller unsupported spansAssembly time, and more places for a boss crack to start
Hard stops 0.1 mm proud of the seal landPreload stops depending on screw torque aloneNothing, if modeled before the tool
Insert bosses on the four corners onlyRaises peak torque capability locally, does nothing between themInsert cost with little sealing benefit
Thicker cover wall to resist bowingReduces span deflectionSink marks, cycle time, weight, usually more than the bosses would have cost

Six stainless screws around the sealing flange of a closed plastic enclosure on a bench

What does over-engineering the seal cost?

Protection level is a bill-of-materials decision, and the increment is not linear. Same housing, same 1,000-piece run.

Design decisionAdded unit costAdded non-recurring costAdded risk
Flat gasket, four screws, no vent, cut from sheet0.30 to 0.60 USDnoneWarp-sensitive, only honest at IP54 to IP65
molded cord on the cover plus six bosses0.40 to 0.90 USD3,000 to 7,000 USD for a second tool or insert for the cordCord compression set if stops are omitted
Two-shot overmolded seal, no separate gasket0.15 to 0.35 USD per piece at volume9,000 to 20,000 USD extra tooling for the second shot and its partingBond failure and a much harder tool repair
Adding a membrane vent0.60 to 1.80 USDnoneSmall, provided the vent is placed correctly
Moving from four to six bosses to control the gap0.05 to 0.10 USD plus 15 to 25 seconds assemblysmall insert changeCycle and assembly labor
Ultrasonic weld for a sealed-for-life shell0.10 to 0.25 USD2,000 to 8,000 USD for the fixtureNo serviceability, and a scrap rate you must monitor

The trap is the second-shot line. It looks like elegance — one part instead of two, no loose gasket in assembly — and for a high-volume handheld it is right. For a 1,000-piece outdoor controller it is usually the most expensive wrong decision available, because the tool complexity is paid once and the volume never amortises it.

Which tests should you require before you approve the tool?

Ask for these on the sample round, in this order. They are cheap, and each one catches a different class of failure.

TestHow it is runPass criterion to specify
Dimensional check of the sealing jointMeasure cord height, groove depth, boss height, and cover flatness across the diagonalsFlatness within 0.15 mm, all heights inside plus or minus 0.10 mm
Vacuum decay with the assembly under waterPull a modest vacuum of roughly minus 20 kPa, submerge, release and watchNo continuous bubble stream from any joint
Immersion dip30 minutes with the lowest point 1 m down, then weight check after 24 hours drainedNo measurable mass gain
Jet checkSimulated IPX5 duty on the assembled unit with cable glands fittedNo ingress at glands, bezels or the cover perimeter
Thermal breathing cycleMinus 20 °C for 4 hours, plus 60 °C for 4 hours, ten cycles, then repeat the dipStill no ingress, and the cord shows no flat set
Torque-to-failure on bossesIncrease torque until the boss cracks, on five samplesRecord the margin over the specified assembly torque; the weak end of the population must be at least 1.5 times it
Low-temperature impactCondition at the rated minimum, then drop or impact as the application impliesNo cracking, especially at bosses and corners

The reason to run the breathing cycle before the dip, rather than after, is that it is the cycle that reveals the failure the certificate will never show.

When should you not design your own waterproof enclosure?

If your product needs repeated submersion beyond 1 m, pressure washing, or anything close to a life-safety or electrical-safety claim, buy a certified enclosure and modify it — machining, glands, brackets — rather than designing the sealing system from scratch. The tooling saving is illusory once you add the test rig time, the second tool correction, and the liability. Design your own when the shape or user interface is genuinely differentiated, when volumes justify the tool, and when you can specify a seal architecture you can actually test.

What should you do next?

Send us three things: the target IP number with the real installation environment written in plain words, the internal volume and the temperature range, and the current model with the cover and the entry points visible. From those three, the seal architecture, the boss count and the tolerance class can be fixed in one review, before the tool is cut rather than after.

Veelgestelde vragen

Is IP66 better than IP67?
No, they test different things. IP66 is a heavy water jet; IP67 is a static immersion. A housing can pass one and fail the other, so specify the digit that matches the installation, or specify both if the field can do both.
Can a molded plastic enclosure really reach IP68?
It can reach an IP68 duty, but only against a stated depth and time agreed with the tester, and only if the cover flatness and boss count are designed for cyclic pressure rather than one static dip. Ask the supplier what the actual agreed condition is, not just the digits.
Does the gasket have to be a separate part?
No. A molded cord, a dispensed foam, an overmolded TPE lip or an ultrasonic weld can all seal. The decision variables are service access, volume, and who owns the failure when the seal ages.
Why do I need a vent if the box is sealed?
Because it is never really sealed. Sealed enclosures pump air in and out with temperature, and every cycle drags humid air through the path of least resistance. A membrane vent gives the moisture a controlled route instead of an uncontrolled one.
Should the sealing land be wide or narrow?
Narrow, with a parallel face. For a given clamp load, a narrower land produces higher contact pressure, which is what actually bridges surface texture. Wide flat lands are how enclosures end up needing more screws than anyone budgeted for.

Over de auteur

Alex Yu

Alex Yu

Ideal Pro Manufacturing

Alex is medeoprichter van Ideal Pro, maar wanneer hij niet toezicht houdt op belangrijke projecten of leiding geeft aan het technische team, is hij waarschijnlijk bezig met een lange fietstocht, op zoek naar de beste koffie van de stad, of bezig met het plannen van zijn volgende reisavontuur. Met meer dan 20 jaar ervaring op het gebied van internationale handel en projectmanagement heeft hij het allemaal al meegemaakt: strakke deadlines, lastige technische vraagstukken en alles daartussenin. Hij is ervan overtuigd dat uitstekend werk voortkomt uit een uitgeruste geest en een goede kop koffie, en hij brengt diezelfde nieuwsgierigheid en oog voor detail mee in elk project dat hij aanneemt. Als hij niet op kantoor is, bevindt hij zich meestal ergens in de buitenlucht, waar hij nieuwe plekken verkent en verhalen verzamelt om te delen.