You settle into your seat, the cart rolls by, and you order a coffee or a cup of tea. It feels like the easy, safe choice on a long flight. Here is the part the airlines do not put on the menu. The water in that cup usually comes from a tank on the plane, not from a sealed bottle, and that tank water has a spotty track record. Federal testing has found bacteria in the drinking water on a real share of commercial flights. The risk is not huge for a healthy adult, but it is real enough that the people who work on planes tend to skip it.

The numbers come from the Environmental Protection Agency, which regulates the water systems on aircraft. In its testing, tap water on about 12 percent of commercial planes came back positive for coliform bacteria at least once. Coliform is a family of bacteria that lives in soil, plants, and the gut, and its presence is a warning sign that other, nastier germs could be in there too. Some tests over the years have even turned up E. coli, which points to fecal contamination. That does not mean one in eight cups will make you sick. It means the system is not as clean as you would hope, often enough to matter.

The trouble starts with the tank itself. Every plane carries a large onboard water tank that feeds the galley taps, the coffee and tea makers, and the sinks in the bathrooms. That water gets refilled at airports all over the country and the world, from hoses and carts that are not always spotless. The tank is a sealed, dark, warm space where water can sit for a while, which is exactly the kind of place bacteria like to settle in. Cleaning a tank fully is hard, and it takes the plane out of service to do it right. So the water sits, gets topped off, and cycles through, day after day.

You might think the heat handles it. If the water is boiled for coffee or tea, surely that kills anything living in it. That logic does not hold up as well as people want it to. The water in an airplane coffee maker often does not reach a true rolling boil, and a quick warm up is not enough to wipe out a full bacterial load. It might kill the weaker organisms while the tougher ones ride right through. That is why experts say a hot drink made from tank water is not the safe bet it appears to be. The heat is a comfort, not a cure.

Here is a tell worth paying attention to. Many flight attendants, the folks who spend their working lives on these planes, quietly avoid the coffee, the tea, and the ice. They have seen the water advisories and heard it from coworkers, so they bring their own bottled drinks instead. When the crew that knows the plane best passes on the tap water, that says something. They are not panicking, and neither should you. They have just done the simple math and decided it is not worth the gamble on a bumpy stomach at 35,000 feet.

So what should you order instead. Stick to drinks that come sealed, like bottled water, canned soda, or juice from a can. Those never touch the plane's tank, so they skip the whole problem. If you want coffee or tea, the safest move is to ask whether it can be made with bottled water, though not every galley can do that. Bring your own empty bottle through security and fill it at the airport fountain before you board, since airport water is held to normal public standards. A little planning gets you hydrated without the guessing.

The same tank feeds the bathroom sink, which is worth remembering when you wash up. The water is fine for rinsing your hands, but it is not water you want to drink or use to rinse a toothbrush. Pack a small bottle of hand sanitizer for after you use the sink, and do not fill a cup at the lavatory tap. None of this should make you afraid to fly or ruin a trip. It is just a set of small, easy swaps that take almost no effort. Once you know where the water comes from, the choices pretty much make themselves.

Flying is still one of the safer things you do all week, and a cup of airplane coffee is not going to send most people to the doctor. The point is not fear, it is information. The tank water has a real record of coming up dirty in federal tests, heating it does not reliably fix that, and the crew already votes with their own drink orders. Choose sealed drinks, fill up before you board, and save the coffee for the airport lounge where the water meets normal rules. Small habit, better odds. That is the kind of travel tip that quietly pays for itself.