3D Printing Generator
DeutschEnglish

Fermentation airlock

Print a fermentation airlock: dual chamber, no supports

A fermentation airlock from your 3D printer

If you make wine, mead, cider, beer or fermented vegetables, you need an airlock that lets gas out without letting air in. This generator prints a dual-chamber fermentation airlock: a body with a divider, a stem for the bung or grommet, and a push-on cap with six holes that keeps dust and fruit flies away from the neck. You set stem, body, neck and wall yourself, so the airlock fits your carboy, bottle, jar or bucket.

Ready-made ideas are in the examples: the dual-chamber airlock with cap in the sizes of the original, a small airlock for mason jars and a large one for glass carboys.

One important note up front: print the body with supports off. The source says so too, and the section “Printing without supports” explains why.

How the generator works

Everything runs in your browser. Nothing is uploaded, and your design lives entirely in the link that “Share” gives you. The steps:

  1. Measure the hole of your bung or grommet.
  2. Open the generator and pick an example close to your fermenter.
  3. Adjust stem, body, neck and cap and read the notes under the fields.
  4. Download STL or 3MF and slice with supports off.

The geometry comes from cperiod’s “Customizable Bubbler airlock”, an OpenSCAD model. We ported it to TypeScript and compared it with OpenSCAD: across six test cases the volume differs by at most 0.05 %. Details are at the end of the page.

How the dual-chamber airlock works

In use, the stem points down into the bung. Gas from the fermenter rises through the stem bore and leaves through the upper port into the stem-side chamber. There it pushes the liquid down, flows under the divider through the passage at the bottom, bubbles up into the second chamber, climbs the neck and leaves through the sloped vent and the six holes in the cap.

The liquid acts as a water seal: gas can get out, and you see it bubble, but the way back into the fermenter is blocked by the liquid. To understand the chambers before you print, “Parts” has a Cutaway view: the bubbler cut open lengthwise, showing the stem bore, upper port, divider and passage. It is a display piece (example); its stem tip and neck rim overhang the cut half. For filling and use, print the closed body.

Measuring your bung or grommet

The airlock sits in a bung or in a rubber grommet in the lid or carboy. Only one measurement matters: the hole.

  1. Measure the hole diameter with calipers, ideally at the narrowest point.
  2. Enter that value as “Stem diameter”. The default is 11 mm, the range 6–20 mm.
  3. Measure in two places and take the smaller value if the hole is not quite round.

Rubber gives a little, so a stem about as thick as the hole holds by friction. A drop of water on the grommet helps when pushing it in. If you ferment in a mason jar, see the fermentation jar lid: its “Airlock” setting with the “Grommet hole” choice drills a hole for a rubber grommet, and the stem of this airlock goes into that grommet.

Designing the airlock

The settings come in four groups. Ranges and defaults are listed in the “All parameters” table further down the page.

Parts

“Parts” decides what goes on the plate: “Bubbler + cap” (both side by side), only “Bubbler”, only “Cap” or “Cutaway”. The cap on its own is handy as a spare or for testing the play, like the spare cap example.

Stem

“Stem diameter” (6–20 mm, default 11 mm) sets how thick the stem is. The bore is the stem diameter minus two walls, at least 2 mm. “Stem length” (8–40 mm, default 20 mm) sets how far it reaches below the body. It needs enough length to reach into the bung and sit securely.

Body

“Body diameter” (30–90 mm, default 50 mm) is the inside width of the body, “Body length” (40–110 mm, default 80 mm) its inside height. “Body depth” (50–100 %, default 75 %) flattens the body from front to back: 100 % is round, smaller values make it flatter and fit tight spots, like the flat airlock for fermenting buckets at 60 %. “Wall thickness” (1.6–4 mm, default 2.4 mm) applies to body, stem and cap. Thicker walls are tighter and sturdier but need more room and material, as in the thick-walled airlock.

Neck and cap

“Neck diameter” (16–60 mm, default 35 mm) and “Neck length” (8–30 mm, default 15 mm) set the neck that the cap slides over. The cap is a cup that tapers toward its floor. “Cap play at the closed end” (0–2 mm, default 0.5 mm) and “Cap play at the open end” (0–3 mm, default 1.2 mm) are the extra inside diameter at the two ends: the rim slides on easily, and the floor end is the tightest. For a firmer fit try the snug cap with 0.3 mm and 0.8 mm.

Notes in the editor

When a combination would not work, the generator adjusts the value and tells you. The body must be at least 1.2 times as long as it is wide, plus one wall. The neck has to fit inside the flattened body. The stem must leave room for the chamber beside it. The roof between the stem-side chamber and the vent needs at least 0.6 mm; if it is thinner, use a longer or narrower neck.

Examples with print numbers

The numbers come from a PrusaSlicer slice for the Prusa MINI, 0.20 mm SPEED profile, Prusament PLA, with the settings from the 3MF (5 walls, 6 top layers, 50 % infill) and without supports.

ExampleBody and stemWeightTime
Dual-chamber airlock with cap50 × 80 mm, 11 mm stem59.7 g2 h 52 min
Airlock with a 9.5 mm stem50 × 80 mm, 9.5 mm stem58.7 g2 h 49 min
Small airlock for mason jars36 × 50 mm, 9.5 mm stem26.4 g1 h 37 min
Slim airlock for bottles40 × 60 mm, 8 mm stem29.8 g1 h 53 min
Large airlock for glass carboys60 × 100 mm, 12 mm stem87.8 g3 h 58 min
Flat airlock for fermenting buckets70 × 90 mm, depth 60 %71.7 g3 h 29 min
Bubbler only50 × 80 mm51.6 g2 h 37 min
Spare cap35 mm neck8.2 g24 min

The default model is about 115 mm tall including the stem, and both parts together take about 104 × 41 mm of the bed. The tallest example, the carboy airlock, is 148 mm. Weight varies with filament and settings, especially at 50 % infill.

Printing without supports

The body prints upside down, like the original: the neck rim sits on the bed, the stem points up, and the bottom that later holds the liquid is printed last. The rounded floor of the chambers therefore becomes a short dome bridge inside the closed body. The original compensates with a doubled bottom wall and states “Supports: No” in its print notes. The shoulder beside the neck also overhangs by about 50°, slightly past the usual 45°; a more pointed floor would close the passage under the divider, so we kept it as in the original.

If you turn automatic supports on, your slicer finds about 320–670 regions on the bubbler examples and adds 2–13 g of material. Those supports would sit inside the closed body and would be hard to remove. Leave supports off.

More settings from the original’s print notes:

  • 5 walls, 6 top layers and 50 % infill. The 3MF carries these values for PrusaSlicer and Bambu Studio; with the STL you set them yourself.
  • 0.2 mm layers and good bridging: give the bridges plenty of cooling.
  • The cap sits with its closed floor on the bed and needs no supports. It takes 24 minutes.

We have not test-printed this airlock ourselves; the numbers come from slices and from the original’s notes. Printing the cap first tells you quickly whether your printer hits the play.

Material, hygiene and airtightness

Airlocks come with no guarantees, and that goes for this one. Printed parts have layer grooves where germs can hide, and they are not automatically airtight. A few tips that may help:

  • Filament: PETG that the maker rates for food contact copes better with cleaning and heat than PLA. PLA softens from about 55–60 °C, so keep hot water away from it.
  • Cleaning: rinse the airlock thoroughly and sanitize it before every use with something suitable for brewing. Change the liquid in the chambers regularly.
  • Airtightness: test the airlock with water before use. If it weeps, reprint it with thicker walls or slightly more flow. A printed part is never guaranteed airtight.
  • Responsibility: filament and printed layers are up to you. We make no claims about food safety.

Using it

  1. Print body and cap, remove strings and check that the cap fits.
  2. Rinse and sanitize both parts.
  3. Through the open neck, add water, sanitizer or vodka until the bottom of the divider dips well into the liquid.
  4. Push the stem into the bung or grommet of the fermenter, then the cap onto the neck.
  5. Watch the bubbling: it shows that fermentation is running. If it stops, that does not necessarily mean fermentation is done; also check that the bung seals.

Troubleshooting

  • The stem is too loose or too tight: measure the hole again and change “Stem diameter” in 0.2 mm steps.
  • The cap binds or wobbles: raise or lower both cap play values by 0.2 mm.
  • Nothing bubbles although it ferments: check that the bung seals and that the liquid is not too high.
  • The print lets water through: use more walls, a thicker “Wall thickness” and more flow.
  • The dome inside is full of holes or sags: cool the bridge better, print slower and raise the top layers.

Origin and license

The airlock is a port of “Customizable Bubbler airlock” by cperiod, published on Printables under CC BY 4.0. The model first appeared on Thingiverse (also by cperiod). We ported the file Dual-Chamber_Air_Lock.scad to TypeScript: dual-chamber body, stem, neck with vent, push-on cap and cutaway view. New are the settings in the editor, the warnings for unsuitable sizes, the layout of both parts on one plate and the print values in the 3MF. All license texts are on the licenses page.

Now design your airlock or browse the examples.

All parameters

The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.

ParameterDefaultRangeMeaning
Parts
Stem
Stem diameter11 mm6 – 20 mmOutside diameter of the stem that goes into the bung or grommet of the fermenter.
Stem length20 mm8 – 40 mmHow far the stem reaches below the body.
Body
Body diameter50 mm30 – 90 mmInside width of the body that holds the liquid (without the walls).
Body length80 mm40 – 110 mmInside height of the body. The neck and the inner ports are placed from its top.
Body depth75 %50 – 100 %Depth of the body in percent of its width. Below 100 % the body is flattened from front to back.
Wall thickness2.4 mm1.6 – 4 mmThickness of the body, stem and cap walls. The stem bore is the stem diameter minus two walls.
Neck and cap
Neck diameter35 mm16 – 60 mmOutside diameter of the neck on top of the body. The cap fits over it.
Neck length15 mm8 – 30 mmLength of the neck and of the cap.
Cap play at the closed end0.5 mm0 – 2 mmExtra diameter inside the cap at its floor. The cap tapers toward this end and is tightest there.
Cap play at the open end1.2 mm0 – 3 mmExtra diameter inside the cap at its rim, so it slides onto the neck easily.

Frequently asked questions

Do I need supports?

No, print the airlock with supports off, as the source’s print notes say (“Supports: No”). The body prints upside down with the neck rim on the bed; the chambers’ floor becomes a short dome bridge inside, and the doubled bottom compensates. Supports would be stuck inside the closed body.

Which stem size do I need for my bung?

Measure the hole of your bung or grommet with calipers and enter that value as “Stem diameter”. The default is 11 mm; 9.5 mm is a common size on store-bought airlocks. Test the fit first, because rubber gives a little.

Is it food safe, and is it guaranteed airtight?

No guarantees. The filament and the printed layers are your responsibility: use PETG that the maker rates for food contact, clean the part thoroughly and check with water that it holds before you use it. We have not test-printed this airlock ourselves.

How much liquid goes in?

Through the open neck, add enough water, sanitizer or vodka that the bottom of the divider dips well into the liquid and both chambers are connected. The upper areas and the neck stay empty. The cutaway in the generator shows the two chambers.

The cap is too tight or too loose. What now?

Raise “Cap play at the open end” and “Cap play at the closed end” if it binds, and lower both if it wobbles. For a quick test print only the cap: it takes about 8 g and 24 minutes.

Is anything uploaded?

No. The generator runs in your browser, and your design lives only in the link you can share.

Origin & license

  • Customizable Bubbler airlock by cperiod · CC BY 4.0 · code ported – bubbler (dual chamber with divider, stem with bore and upper port, neck with sloped vent), push-on cap and cutaway view ported; first published on Thingiverse (thing:1794749)