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.
Preventing oxidation Oxygen is the enemy of most alcoholic ferments after pitching. Exposure to air causes stale, cardboard-like flavors in beer, browning in wine, and promotes acetic acid bacteria that turn alcohol into vinegar. An airlock keeps oxygen out during the days, weeks, or months your ferment needs to finish and condition.
Blocking contaminants Fruit flies, wild yeast, and airborne bacteria can all spoil an open ferment. Fruit flies are especially problematic because they carry Acetobacter, which converts alcohol to vinegar. An airlock is a physical barrier that keeps these out while allowing gas to exit.
Monitoring activity While airlock bubbling is not a precise fermentation indicator, it gives a general sense of activity. A vigorously bubbling airlock confirms active fermentation. A completely still airlock after several weeks suggests fermentation has finished (or that you have a seal leak).
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.
- 1
How 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.
- 2
Assembly 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.
- 3
Maintenance 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.
Advantages Easy to disassemble and clean. If krausen or foam pushes up into the airlock during vigorous fermentation, you can take it apart and rinse it without much hassle. The wide cylinder is less prone to clogging than an S-shaped airlock. It is inexpensive, typically costing $1-2 each.
Disadvantages Does not give as clear a visual indication of fermentation activity as the S-shaped type. The bubbling happens inside the cylinder and is harder to see, especially if the liquid is tinted by sanitizer. If knocked or bumped, the inner cup can shift and break the water seal temporarily.
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.
- 1
How 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.
- 2
Filling 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.
- 3
Cleaning 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.
Advantages Provides a clear visual indicator of fermentation. You can see the liquid being pushed back and forth as each bubble passes through. The satisfying "glug-glug" sound is a reassuring sign of active fermentation. The one-piece design means fewer parts to lose.
Disadvantages More difficult to clean than a three-piece airlock. The narrow S-curves are prone to clogging if foam or krausen gets pushed up during vigorous fermentation. Once clogged, the pressure has no escape path, which can blow the bung out of the fermenter or pop the lid. For this reason, many brewers avoid S-shaped airlocks during the first 48-72 hours of active fermentation.
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.
When to use one Use a blow-off tube during the first 48-72 hours of any vigorous fermentation. High-gravity beers (above 1.060 OG), wheat beers, and certain aggressive yeast strains produce enough krausen to fill several inches of headspace. A standard airlock cannot handle this volume and will clog, potentially blowing the lid or bung off your fermenter.
Setup Attach one end of a 1-inch (25mm) diameter tube to the opening in your fermenter lid or push it into a drilled rubber bung. Submerge the other end in a jar or bucket filled with sanitizer solution. CO2 and any foam push through the tube and bubble up through the sanitizer. The liquid in the catch container prevents air from flowing back in.
Sizing the tube Use the widest tube that fits your fermenter opening. For a carboy, this is usually 1-inch (25mm) ID tubing fitted into a drilled bung. For a bucket fermenter with a grommet, 3/8-inch (10mm) tubing often fits. The wider the tube, the less likely it is to clog with foam and hop debris.
- 1
Step 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.
- 2
Step 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.
- 3
Step 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.
- 4
Step 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.
Beer, wine, mead, and cider: always Alcoholic ferments produce large volumes of CO2 and must be protected from oxygen throughout primary fermentation and conditioning. Use a blow-off tube for the first 48-72 hours of active fermentation, then switch to a three-piece or S-shaped airlock for the remainder. For long aging (months), check airlock liquid levels weekly.
Hard kombucha (second ferment in bottles): yes If you are doing a closed secondary fermentation to build carbonation and alcohol, an airlock prevents pressure from building to dangerous levels. For standard kombucha first fermentation in an open vessel with a cloth cover, no airlock is needed.
Long vegetable ferments (6+ weeks): recommended Extended sauerkraut or kimchi ferments benefit from an airlock setup. The longer the ferment sits, the more opportunity mold and kahm yeast have to establish on the surface. An airlock maintains the CO2 blanket that protects the brine surface from oxygen-dependent spoilage organisms.
Hot sauce fermentation: recommended Fermented hot sauce produces moderate CO2 and benefits from an anaerobic environment during its 1-4 week fermentation period. An airlock on a mason jar (using a drilled lid or a dedicated fermentation lid) keeps the process tidy and reduces mold risk.
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.
Sourdough starter: no A sourdough starter needs gas exchange with the environment. The wild yeast and LAB in the starter are facultative anaerobes that tolerate both air and its absence. Cover the jar loosely with a lid (not sealed) or a cloth. A sealed jar with an airlock would starve the starter of the fresh flour smells and ambient microbes that maintain its diversity.
Short sauerkraut and kimchi (1-3 weeks): optional Traditional sauerkraut and kimchi ferment in open crocks with a weight holding the vegetables below the brine. The CO2 produced during early fermentation creates a protective blanket above the brine. A loose lid or plate on top is sufficient for ferments lasting 1-3 weeks. Skim any surface yeast if it appears.
Vinegar: no Vinegar production requires oxygen. Acetobacter bacteria need air contact to convert ethanol into acetic acid. Cover the vessel with cheesecloth or a breathable fabric to keep insects out while allowing airflow. An airlock would block the oxygen supply and stall or prevent vinegar formation entirely.
Yogurt and kefir: no These are short, anaerobic-tolerant ferments (6-24 hours) that do not produce enough CO2 to need venting. A loose lid or cloth cover is sufficient. The primary concern is temperature, not gas management.
Kombucha first ferment: no The SCOBY needs surface air contact for the aerobic bacteria (Acetobacter) to function. Cover the vessel with a tightly woven cloth or coffee filter secured with a rubber band. This keeps fruit flies out while allowing airflow. An airlock would starve the aerobic bacteria and shift the culture balance toward yeast dominance.
How to fill and maintain an airlock
Proper filling and routine maintenance keep your airlock functioning through the entire fermentation period.
Best liquids for filling Star San sanitizer solution (mixed per instructions) is the top choice. It remains antimicrobial even when diluted, so if any suck-back occurs, it will not contaminate your ferment. Plain water is the second-best option. Vodka works and will not grow mold, but it is more expensive. Never use bleach, soapy water, or tap water that has not been boiled or treated.
Fill level Fill to the marked line on the airlock, typically about halfway. Overfilling makes it harder for CO2 to push through and increases the chance of suck-back pulling liquid into the fermenter. Underfilling risks the water trap drying out and breaking the seal. Check the line and top off every 2-3 days.
Preventing suck-back Suck-back happens when the fermenter cools after active fermentation. The cooling gas contracts, creating a slight vacuum that pulls airlock liquid into the fermenter. Using sanitizer solution eliminates the contamination risk. To minimize suck-back, avoid placing fermenters in locations with large temperature swings.
! 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.
- 1
Prepare 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.
- 2
Soak 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.
- 3
Shake 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.
- 4
Fill 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.
Balloon method Stretch a balloon over the mouth of a bottle, jar, or carboy. Poke 1-2 small pinholes with a needle. CO2 inflates the balloon and escapes through the pinholes. The elastic pressure prevents air from flowing back in. Works well for small batches of wine, cider, or mead. Replace the balloon if it gets stretched out or develops tears.
Plastic wrap and rubber band Cover the vessel with a layer of plastic wrap and secure it with a rubber band. Poke a few small holes. This is less reliable than a balloon because plastic wrap does not form a tight seal and the holes may allow some air exchange. Suitable only for short ferments (a few days) or situations where slight oxygen exposure is acceptable.
Tube-in-water method Push a length of flexible tubing through a hole in the lid (seal with food-grade silicone if needed) and submerge the other end in a glass of water. This is functionally identical to a commercial blow-off tube setup. It handles vigorous fermentation and provides a reliable seal. This is the best improvised option for beer and wine.
Loose lid method For vegetable ferments and short-term projects, simply placing a lid on the jar without tightening it allows CO2 to escape through the gap. The CO2, being heavier than air, pools above the ferment and creates a partial barrier against oxygen. This is not airtight and will not protect a long-term ferment, but it works for sauerkraut, kimchi, and similar 1-3 week projects.
! 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.
No bubbling after 24-48 hours Check the seal first. Push the bung firmly into the carboy or make sure the grommet is seated. Run your hand around the fermenter lid to feel for escaping gas. If the seal is good and there is still no activity after 48 hours, the issue is likely with the yeast (too old, too cold, underpitched) rather than the airlock.
Airlock sucking inward This happens when the ferment cools and gas contracts inside the vessel. The vacuum pulls airlock liquid toward the fermenter. A small amount of suck-back is normal and harmless if you used sanitizer. If it happens repeatedly, stabilize the fermentation temperature to reduce expansion and contraction cycles.
Foam or krausen in the airlock During vigorous fermentation, foam can push up into the airlock. Remove the airlock, rinse it, and replace it. Better yet, switch to a blow-off tube until peak activity passes. If you see foam in an S-shaped airlock, replace it immediately with a three-piece airlock or blow-off tube because the narrow curves clog easily.
Liquid in the airlock has turned murky or moldy Replace the liquid with fresh sanitizer. If you used plain water, mold can grow in the airlock over weeks. This is a cosmetic issue as long as the water trap remains intact. Switching to sanitizer solution for the refill prevents recurrence.
Try the calculatorFermentation Temperature CalculatorMany airlock issues trace back to temperature problems. Use the calculator to confirm your ferment is in the right range.
Open calculator →