How to Prevent Getting Sick in Mexico on Vacation

Most illness travelers pick up in Mexico comes from contaminated water or food, not from the air or casual contact. The single most effective thing you can do is avoid tap water in all its forms and choose food vendors carefully. With a few practical habits, you can dramatically cut your risk of spending vacation days in your hotel bathroom.

Why Travelers Get Sick in Mexico

The most common culprit is a strain of E. coli called enterotoxigenic E. coli, which causes the majority of traveler’s diarrhea cases. Other bacteria like Salmonella and Shigella, parasites like Giardia, and various viruses round out the list. These pathogens enter your body almost exclusively through water and food. Your gut hasn’t built up tolerance to the local microbial environment the way residents have, so even small exposures can trigger symptoms.

The result is usually diarrhea, cramping, and nausea that lasts a few days. It’s rarely dangerous, but it can ruin a trip. The good news: nearly every case is preventable.

Water Rules That Actually Matter

Tap water in Mexico can contain parasites and bacteria that cause serious gastrointestinal illness. This applies everywhere, not just rural areas. Stick to sealed bottled water or purified water (most hotels and restaurants serve it, but ask to confirm). The water rule extends beyond drinking: use bottled or purified water when brushing your teeth, and keep your mouth closed in the shower.

Ice is the sneaky one. A single cube made from tap water carries the same risk as drinking a glass of it. One useful trick: commercial ice made from purified water is typically cylindrical with a hole through the center, like a donut. If you see that shape, it’s generally safe. Irregular, cloudy chunks of ice are more likely homemade from tap water. When in doubt, skip it.

Coffee and tea made with boiled water are fine, since boiling kills the relevant pathogens. Same goes for any hot beverage where the water reached a full boil.

Choosing Safe Food

Street food in Mexico is some of the best in the world, and you don’t need to avoid it entirely. You just need to pick your vendors wisely. The most reliable indicator of safety is popularity. A stand with a long line of locals, especially families with children, is almost always a safer bet than an empty one. If someone has been running the same stand for years, that reputation means something.

Watch how the vendor works. Food cooked fresh in front of you, per order, is far safer than precooked food sitting out and exposed to the air. Notice whether the person handling money also handles your food without washing their hands or changing gloves. That’s a major red flag. Check for flies around the food or stand, and if the area smells off, move on.

The single highest-risk item at street food stands is salsa that has been sitting out for hours collecting bacteria. Fresh, just-made salsa is fine. A bowl that’s been baking in the sun since morning is not. Other items to approach with caution:

  • Raw or unpeeled fruits and vegetables. If you didn’t peel it yourself, assume it was washed in tap water.
  • Soft “crema” cheese and dried cheese sold on the street. These are high-risk unless you’ve been in Mexico long enough to build some tolerance.
  • Salads and garnishes. Lettuce, cilantro, and sliced radishes at a taco stand were almost certainly rinsed in local water.

Washing Produce If You’re Cooking

If you’re staying somewhere with a kitchen, you can safely eat local fruits and vegetables by disinfecting them properly. Mexican grocery stores and pharmacies sell products like Microdyn and Bacdyn, which use ionized silver to kill bacteria and parasites. The process is simple: rinse off any visible dirt, then soak the produce in a solution of the disinfectant and tap water (the product kills bacteria in the tap water too, so you don’t need purified water for soaking). Follow the instructions on the bottle for the correct ratio and soak time, which varies by brand.

After soaking, drain the produce on a clean towel or colander. You don’t need to rinse off the solution. Let everything air dry completely before refrigerating, which also helps it stay fresh longer. Strawberries are an exception: they absorb too much liquid if soaked, so instead, let the disinfectant solution sit for 10 minutes first, then briefly rinse the berries in it and drain.

Vaccinations Worth Getting Before You Go

The CDC recommends several vaccines for travelers to Mexico. Hepatitis A is at the top of the list for anyone over one year old who hasn’t been vaccinated, since it spreads through contaminated food and water. Typhoid vaccination is recommended for most travelers, especially if you’re visiting smaller cities, rural areas, or staying with friends or family rather than at a resort. Hepatitis B vaccination is recommended for unvaccinated travelers under 60.

Make sure your routine vaccines are current before any international trip. The CDC specifically flags measles: all international travelers should be fully vaccinated with the MMR vaccine, since measles outbreaks occur in many countries.

These vaccines take time to reach full effectiveness, so plan ahead. Ideally, see a travel health provider four to six weeks before departure.

Protecting Yourself From Mosquito-Borne Illness

Dengue fever is endemic throughout central and southern Mexico, with occasional outbreaks in northern border states. If you’re staying in Mexico City, risk is minimal because of the high elevation. Coastal and tropical lowland destinations like Cancún, Puerto Vallarta, and anywhere in the Yucatán carry more risk. Malaria is a concern in specific areas, particularly the states of Campeche, Chiapas, and southern Chihuahua.

Use insect repellent containing at least 20% DEET or another EPA-registered active ingredient. Wear long sleeves and pants during dusk and nighttime, when mosquitoes are most active. Stay in accommodations with air conditioning or window screens. If you’re heading to a malaria-risk area, talk to a travel health provider about prophylactic medication before your trip.

A Preventative Option: Bismuth Subsalicylate

The active ingredient in Pepto-Bismol has solid evidence behind it as a preventative measure for traveler’s diarrhea. A study of US students in Mexico found that taking two tablets four times daily (about 2.1 grams per day) significantly reduced diarrhea rates over a three-week period. You can start taking it on arrival and continue throughout your trip.

It’s not a guarantee, and it can cause harmless but alarming side effects like a black tongue and dark stools. It also interacts with blood thinners and shouldn’t be used by anyone with an aspirin allergy. But for many travelers, it’s a simple, low-risk layer of protection on top of food and water precautions.

What to Do If You Get Sick Anyway

Even with perfect precautions, traveler’s diarrhea can still happen. The biggest immediate risk is dehydration, especially in Mexico’s heat. Pharmacies throughout the country sell oral rehydration salts, which are the fastest way to replace lost fluids and electrolytes. If you can’t find them, you can make a basic version: mix 8 teaspoons of sugar and half a teaspoon of salt into one liter of purified water.

Most cases resolve on their own within two to four days. Stick to bland foods, keep drinking fluids, and rest. If you develop a high fever, see blood in your stool, or can’t keep any liquids down for more than a day, seek medical care. Pharmacies in Mexico are widely available and pharmacists can often recommend over-the-counter treatments on the spot. For anything more serious, most tourist areas have clinics accustomed to treating travelers.