A fermentation airlock is a one-way valve. It allows the carbon dioxide produced during fermentation to escape from a sealed vessel while preventing outside air, wild yeast, bacteria, and insects from getting in. This simple device is the difference between a controlled ferment and an open invitation for contamination.
Not every ferment needs an airlock. Open-air sourdough starters, quick sauerkraut batches, and vinegar crocks deliberately allow air contact. But any ferment that produces significant CO2 in a sealed container, or any ferment you want to protect from oxygen for weeks or months, benefits from one.
What an airlock does and why it matters
During fermentation, yeast and some bacteria produce carbon dioxide as a metabolic byproduct. In a sealed vessel, this CO2 builds pressure. Without a release mechanism, the pressure can crack lids, pop bungs, or shatter glass containers.
An airlock solves this by creating a water trap. Gas pushes out through the water barrier, but outside air cannot push back in. The result is a vessel that vents safely while maintaining an anaerobic (oxygen-free) environment inside.
Three-piece airlocks
The three-piece airlock (also called a cylindrical airlock) is the most widely used type in homebrewing and home fermentation. It consists of a hollow cylinder, a small inner cup that floats inside, and a cap on top.
- 1How it works You fill the cylinder with liquid to the indicated line. The inner cup sits inside the cylinder. CO2 from the fermenter pushes up through the center of the inner cup, then bubbles out through the surrounding liquid. The liquid prevents outside air from flowing back in. The cap on top keeps dust and insects out of the liquid.
- 2Assembly Sanitize all three pieces. Place the inner cup into the cylinder. Fill with sanitizer solution (like Star San) or clean water to the fill line marked on the side, typically about halfway up. Insert the assembled airlock into a drilled rubber bung or a grommet in the fermenter lid.
- 3Maintenance Check the liquid level every few days. In dry environments, the water can evaporate within a week. Top off as needed. After fermentation is complete, disassemble and clean all three pieces. Dried krausen or yeast residue can accumulate in the inner cup.
S-shaped (twin-bubble) airlocks
The S-shaped airlock, also called a twin-bubble or double-bubble airlock, is a single piece of molded plastic shaped like the letter S. Liquid fills the bends, creating a visible water trap.
- 1How it works The S-curve contains two bends that hold liquid. CO2 pushes through the first water trap, then the second, producing two distinct "glug" sounds per bubble. The double water barrier provides a reliable seal. You can watch the liquid levels shift back and forth as gas passes through.
- 2Filling Sanitize the airlock. Fill with sanitizer or water to the fill line on each bend, roughly halfway up the curves. Insert the stem into a drilled rubber bung or grommet. The cap on top keeps the exit hole clean.
- 3Cleaning The S-shaped design is harder to clean than the three-piece because you cannot fully disassemble it. A bottle brush or pipe cleaner can reach inside the curves. Soaking in sanitizer or PBW (Powdered Brewery Wash) solution for 30 minutes removes most residue. If it gets badly clogged during fermentation, replace it.
Blow-off tubes
A blow-off tube is the heavy-duty alternative to a standard airlock. Instead of a small plastic device, you run a length of tubing from the fermenter into a container of sanitizer. This handles the large volume of CO2 and foam produced during vigorous fermentation.
- 1Step 1: Sanitize everything Sanitize the tubing, the bung or grommet, and the catch container. Fill the catch container about halfway with sanitizer solution. Star San works well because it remains effective even when diluted by the CO2 and liquid being pushed through.
- 2Step 2: Connect to the fermenter Insert one end of the tubing into the drilled bung or grommet so it sits snugly. The tubing should extend just barely into the fermenter, not dip down into the beer. Push the bung into the carboy neck or fit the grommet into the bucket lid.
- 3Step 3: Submerge the other end Run the tube down to your catch container and submerge the open end at least 1-2 inches below the sanitizer surface. Secure the tube so it cannot pop out of the liquid. Some brewers tape it to the container or use a weight.
- 4Step 4: Switch to an airlock after peak activity Once vigorous fermentation has subsided (typically 48-72 hours), the risk of clogging has passed. Remove the blow-off tube, sanitize a standard airlock, and replace the tube with the airlock for the remainder of fermentation.
When you need an airlock
Not all ferments require an airlock. The decision depends on how much CO2 the ferment produces, how long it will ferment, and whether the organisms involved need anaerobic conditions.
When you do not need an airlock
Some ferments actively need air exposure, and others are short enough that a simple weight-and-cover setup works fine.
How to fill and maintain an airlock
Proper filling and routine maintenance keep your airlock functioning through the entire fermentation period.
Watch for
- Never seal a fermenter without an airlock or blow-off tube during active fermentation. The CO2 pressure can shatter glass carboys, pop bucket lids, or blow bungs across the room. Pressurized glass is especially dangerous.
- If your airlock dries out during a long ferment, oxygen has been entering the vessel since the water evaporated. Refill immediately. For beer and wine, some oxidation damage may already be done. For vegetables, check for mold on the surface.
- A clogged airlock is a pressure bomb. If foam or debris blocks the airlock during vigorous fermentation, the entire bung can launch out of the fermenter. Switch to a blow-off tube for any ferment you expect to be vigorous.
Sanitizing your airlock
Every airlock component that contacts the fermenter or its headspace must be sanitized before use. Contamination introduced through a dirty airlock can ruin weeks of work.
- 1Prepare sanitizer Mix a no-rinse sanitizer like Star San according to the manufacturer instructions (typically 1 oz per 5 gallons of water). No-rinse sanitizers are preferred because rinsing with tap water after sanitizing can reintroduce bacteria.
- 2Soak all components Disassemble the airlock fully (three-piece types) and submerge all parts in the sanitizer solution for at least 30 seconds (Star San contact time). For S-shaped airlocks, fill the interior by submerging and tipping to ensure solution reaches all internal surfaces.
- 3Shake off excess, do not rinse Remove the pieces from the sanitizer and shake off the excess. Do not rinse with water. The thin residual film of no-rinse sanitizer is food-safe and breaks down on contact with beer or wine. Rinsing defeats the purpose of using a no-rinse product.
- 4Fill and install Reassemble the airlock, fill to the line with fresh sanitizer solution, and insert into the sanitized bung or grommet. Your airlock is ready.
Improvised airlocks
If you do not have a commercial airlock on hand, several household items can serve the same function in a pinch. These are temporary solutions, not long-term replacements for proper equipment.
Watch for
- Do not seal a vessel completely without any pressure release mechanism. Even a slow ferment produces enough CO2 to build dangerous pressure over hours or days. Glass containers under pressure can explode and cause serious injury.
- Improvised airlocks are harder to sanitize than commercial ones. If you reuse household items as airlocks, clean them thoroughly and soak in sanitizer before each use.
- A proper three-piece airlock costs $1-2 and lasts for years. If you ferment regularly, the investment is worth it over repeatedly improvising with household items.
Airlock troubleshooting
Most airlock problems have simple fixes. Here are the issues fermenters encounter most often.

