A fermentation airlock is a simple one-way valve: it lets carbon dioxide escape from your fermenter while keeping oxygen, bacteria, and insects out. You can build one in minutes using household materials or basic hardware store supplies. The core principle is always the same: gas bubbles out through a liquid barrier that blocks anything from getting back in.
How a Water-Seal Airlock Works
Every airlock relies on a small column of liquid acting as a trap. As yeast produces CO2 inside your fermenter, pressure builds until it’s strong enough to push bubbles through the liquid. Once the bubble escapes, the liquid settles back into place and reseals the passage. Nothing can travel the other direction because there’s no pressure pushing inward. It’s the same principle behind the U-shaped trap under your kitchen sink.
The Blow-Off Tube Method
This is the most reliable DIY airlock and works for any vessel size. You need three things: a length of food-safe tubing, something to seal it into your fermenter’s opening, and a jar of water.
Start with tubing that has an inner diameter of at least half an inch. Wider is better, especially for vigorous fermentations that can clog narrow tubing with foam and sediment. Flexible silicone tubing works well and is easy to clean. Insert one end into a drilled rubber stopper or bung that fits your fermenter’s opening snugly. Drop the other end into a jar or container filled partway with water, submerging it by an inch or two. CO2 travels down the tube, bubbles through the water, and escapes. That’s it.
For a standard glass carboy (3 or 6 gallon), a #10 drilled rubber stopper is the most common fit. These have a bottom diameter of about 43mm and a top diameter of 50mm, with a 9mm center hole that accommodates standard tubing or a commercial airlock stem. If you’re using a bucket fermenter, most lids come with a pre-drilled grommet hole. Push the tubing through the grommet for a tight seal.
The Balloon Method
If you need an airlock right now and have nothing else on hand, a balloon works surprisingly well. Stretch the mouth of a latex balloon over the opening of your jug or bottle. Use a rubber band to secure it tightly around the neck. Then poke one or two pinholes in the balloon with a needle.
Here’s why this works as a one-way valve: when CO2 builds up inside the vessel, it inflates the balloon, stretching the rubber and opening the pinholes to release gas. When pressure equalizes, the rubber contracts and the holes seal shut on their own. The balloon won’t let air back in because the pinholes only open under outward pressure. It’s not as reliable as a water seal for long fermentations, but it handles a few days of active fermentation without issues.
Building a U-Tube Airlock From Scratch
You can replicate the design of commercial S-shaped airlocks using a short piece of clear tubing bent into a U shape. Take about 8 to 10 inches of flexible tubing, bend it into a U, and secure the shape by taping or zip-tying it to a small piece of cardboard or wood. Fill the bottom of the U with water until there’s roughly half an inch of liquid sitting in the bend. Insert one end into your fermenter’s stopper and leave the other end open to the air.
CO2 pushes through the water in the U-bend and exits the open side. Outside air can’t get in because it would have to push through the same water barrier in the opposite direction, and there’s no pressure to do that. This design lets you visually confirm active fermentation by watching bubbles pass through the water.
Choosing Safe Materials
Anything that touches your fermenting liquid or sits inside the vessel opening should be food-safe. For plastic tubing and containers, check the recycling number stamped inside the small triangle on the product. Plastics marked 2 (HDPE), 4 (LDPE), and 5 (PP) are your safest choices. Avoid number 3 (PVC), which can release harmful chemicals, and number 6 (polystyrene), which breaks down over time. A fork-and-cup icon on any plastic means it’s certified for food contact.
Silicone tubing is the gold standard for DIY fermentation setups because it doesn’t leach chemicals, handles temperature changes well, and stays flexible over months of use. It’s available at most homebrew shops and online for a few dollars per foot.
What Liquid to Use in Your Airlock
Plain water is the simplest option and works fine for active fermentations that last a week or two. For longer aging or storage, water has drawbacks: it can grow mold, attract small insects as it evaporates, and potentially lower the quality of your finished product if contaminated water gets sucked back into the vessel.
Cheap vodka is a popular alternative. It’s sterile, won’t grow anything, and if it accidentally gets pulled into your fermenter, it won’t ruin the batch or harm you. The tradeoff is that vodka evaporates faster than water, so you’ll need to top it off more often during extended aging.
Diluted sanitizer (like Star San mixed at the recommended ratio) is another option. The tiny amount in an airlock is harmless to your batch and your health if suck-back occurs. Never use undiluted sanitizer, as concentrated solutions can degrade some plastics over time. Whatever liquid you choose, check the level every week or so and refill as needed. A dry airlock is no airlock at all.
Preventing Suck-Back
Sometimes you’ll see your airlock working in reverse, with liquid being pulled into the fermenter instead of bubbling outward. This almost always happens because of a temperature drop. As your fermenting liquid cools, it contracts slightly, creating a small vacuum in the headspace above it. That vacuum pulls airlock liquid inward.
The fix is keeping your fermenter in a spot with a stable temperature. Yeast ferments best at a steady 70°F to 75°F, and avoiding swings of more than a few degrees between day and night will prevent suck-back in most cases. If you’re using a blow-off tube, the large volume of water in the collection jar makes suck-back far less likely than with a small commercial airlock, since the vacuum would need to pull water a much longer distance.
Barometric pressure changes can technically cause a slight reverse movement too, but this is almost never enough to create more than a single backward bubble. Temperature is the real culprit in nearly every case.
Keeping Your Airlock Clean
Before each use, disassemble your airlock setup and soak all parts in a diluted sanitizer solution or very hot water. Pay special attention to the inside of tubing, where residue from previous batches can harbor bacteria. A long, thin bottle brush helps here. Rinse everything thoroughly before reassembling. Between batches, store tubing and stoppers in a clean, dry place. Silicone tubing can be boiled for a deeper clean without degrading.
During fermentation, keep the dust cap on if you’re using a commercial-style airlock. These caps have small ridges or pinholes that still allow gas to escape while blocking dust and fruit flies. For a blow-off tube, draping a small piece of sanitized cheesecloth over the open end of the tube achieves the same thing.

