An everyday explanation · 2 min read

How a coffee-bag valve lets gas out

Roasted coffee keeps giving off gas after it is packed. If the bag’s internal pressure rises enough, it lifts a flexible valve diaphragm and gas escapes. The diaphragm settles back onto its seat as pressure drops, closing the path against outside air.

A matte navy coffee bag with a round valve and two coffee beans beside it.
Original AI-assisted editorial illustration. The explanatory drawing below is a separate, source-checked schematic.

Look a little closer

See the mechanism

Two positions of the coffee-bag valve

SeatedThe diaphragm covers the holes from the bag.Room airInside the bagDiaphragmInlets covered
Seated. The diaphragm covers the holes from the bag.
Read the diagram steps

Seated. The diaphragm covers the holes from the bag.

Venting. The lifted diaphragm gives gas a path around its edge and out of the bag.

Original Plate/diaphragm cross section. Enlarged paths, omit the patent's product-side filter.

Diagram basis: EP0659657B1 — Degassing valve for aromatic products, such as coffee and similar products.

Sources: Goglio / European Patent Office; hosted by Google Patents · Smrke et al.; Journal of Agricultural and Food Chemistry

The gas comes from the roast

Roasting forms gases, much of it carbon dioxide. Some escapes during roasting and some remains in the pores of the beans. The remaining gas can steadily enter the space inside a sealed bag.

As gas accumulates, the bag may expand and its internal pressure can rise. That pressure provides the force needed to open the valve.

A roasted bean and an enlarged section show gas dots in its pores and several arrows leading out into the space around it.
Some roasting gas remains in the bean’s pores. As it leaves the beans, it adds gas to the space inside the bag before the valve opens.

Sources: Smrke et al.; Journal of Agricultural and Food Chemistry

Sources: Smrke et al.; Journal of Agricultural and Food Chemistry · Goglio / European Patent Office; hosted by Google Patents

A disk lifts from a seat

The round valve housing bridges an opening through the package. Inside the housing, a thin rubber diaphragm covers the inlet holes in a plate. With the diaphragm resting against the plate, the holes on the inside and the outlet on the outside have no clear path between them.

Pressure from inside lifts the diaphragm off the plate. Gas can pass through the inlet holes, around the diaphragm and out through the housing. The gas in the package supplies the opening force each time. A valve in a squeeze bottle responds to pressure by spreading the lips of a slit.

Sources: Goglio / European Patent Office; hosted by Google Patents

Venting removes the force that opened it

After some gas leaves, the pressure difference falls and the diaphragm returns to the plate. In this position outside air meets a closed seat. The bag can go through that short vent-and-close cycle again while the coffee keeps releasing gas.

How often it does so depends on how much gas the coffee releases, how the bag expands and how the valve is made. The disk works through differences in pressure and has no way of distinguishing carbon dioxide from air by composition.

Sources: Goglio / European Patent Office; hosted by Google Patents · Smrke et al.; Journal of Agricultural and Food Chemistry

The thing to remember

Bag pressure lifts the diaphragm to vent. Once the pressure falls, the diaphragm closes the route again.

What this example leaves out

Diaphragm-and-plate degassing example. Outlet construction, opening pressure and package performance vary.

Sources & further reading

Source access dates are listed below. Manufacturer descriptions and patents support the specific constructions described, not every product.

  1. EP0659657B1 — Degassing valve for aromatic products, such as coffee and similar products ↗

    Goglio / European Patent Office; hosted by Google Patents · Retrieved 2026-11-26 · Pressure raises a rubber diaphragm from a plate, opens an exhaust path, and permits the diaphragm to reseat as pressure falls.
    Selected diaphragm-and-plate design; special filter chemistry and performance claims omitted.

  2. Time-Resolved Gravimetric Method To Assess Degassing of Roasted Coffee ↗

    Smrke et al.; Journal of Agricultural and Food Chemistry · Retrieved 2026-11-26 · Roasting generates gas including CO₂; porous roasted beans retain and subsequently release some of it. Release varies with roast conditions.
    Study of roasted coffee samples, with no packaged freshness lifetime inferred.

How we use sources and handle corrections

Keep the question going

Read this next.

Compare another construction in this part of the library: The bag stays open to the pump until the final seam closes across its mouth. Follow the parts and the stated limits in each explanation.

Everyday machines · 2 min read

How a vacuum sealer removes air and seals a bag

Continue reading