stomach with fever
Informed by recognized medical guidance
Overview
Stomach pain with fever often means you have an infection in your digestive system, usually called gastroenteritis. This is an inflammation of the stomach and intestines caused by a virus, bacteria, or other germ. It can lead to cramping, nausea, vomiting, diarrhea, and a high body temperature.
Key facts
- The most common cause is a viral infection, such as norovirus or rotavirus.
- It usually gets better on its own within a few days with rest and plenty of fluids.
- Good handwashing and safe food handling can help prevent it.
Yes, gastroenteritis is very common. Most people will have it at least once in their life.
It can affect people of all ages, but children under 5, older adults, and people with weakened immune systems are more likely to get it and have complications.
Symptoms
- Severe dehydration: feeling very dizzy, confused, not urinating for 8 hours or more, or passing only a small amount of dark urine
- Blood in your vomit or stool (bright red or black/tarry)
- Severe, constant stomach pain that does not go away
- High fever (over 40°C / 104°F) that does not come down with medicine
- Fainting or collapsing
- ⚠Vomiting for more than 24 hours and cannot keep any fluids down
- ⚠Diarrhea lasting more than 3 days without improvement
- ⚠Signs of mild dehydration: dry mouth, feeling thirsty, headache, dark urine
- ⚠Stomach pain that is getting worse or shifting to the lower right side (could be appendicitis)
Common symptoms
- Stomach cramps or pain
- Nausea and vomiting
- Diarrhea (watery or loose stools)
- Fever (temperature over 38°C / 100.4°F)
- Feeling generally unwell, tired, or achy
Symptoms in children
- Same symptoms as adults, but children can become dehydrated more quickly.
- Watch for signs like dry mouth, no tears when crying, fewer wet nappies or toilet visits, and unusual sleepiness or fussiness.
Symptoms in older adults
- Similar symptoms, but older adults may have a higher risk of dehydration and complications.
- They might not run a high fever even with a serious infection.
Causes
Main causes
- Viral infections (most common) – such as norovirus, rotavirus, or adenovirus
- Bacterial infections – such as Salmonella, Campylobacter, or Escherichia coli (E. coli), often from contaminated food or water
- Parasites – such as Giardia, which can be picked up from contaminated water or food
- Food poisoning – caused by toxins from bacteria in improperly stored or undercooked food
Risk factors
- Not washing hands properly after using the toilet or before eating
- Eating raw or undercooked meat, seafood, or eggs
- Drinking untreated water or eating food washed in unclean water
- Close contact with someone who is infected
- Having a weakened immune system (from illness or certain medications)
When to see a doctor
See a doctor urgently if:
- If you have any of the emergency symptoms listed above (severe dehydration, blood, high fever, severe pain)
- If you cannot keep any fluids down for more than 24 hours
- If you have a chronic illness like diabetes, kidney disease, or are pregnant
Book a routine appointment if:
- If your symptoms are mild but last more than a few days without improvement
- If you have a slight fever that comes and goes for more than 3 days
- If you are worried about dehydration, especially for a child or older adult
Diagnosis
A doctor will usually diagnose based on your symptoms, medical history, and a physical exam. They may ask about recent travel, food you have eaten, and contact with sick people.
Tests that may be done
- A stool (poop) sample to check for bacteria, viruses, or parasites
- A blood test to look for signs of infection or dehydration
- Sometimes a urine test to check hydration status
What to expect at your appointment
The doctor will gently press on your stomach to check for pain or tenderness. They may also check your temperature, heart rate, and blood pressure. Tests are not always needed, especially if your symptoms are mild and you are not at high risk.
Treatment
Treatment focuses on preventing dehydration and letting your body fight the infection. Most cases do not need specific medicine. Antibiotics are only used for certain bacterial infections – they do not work for viruses.
Self-care at home
- Drink plenty of clear fluids (water, clear broth, or oral rehydration solution) – take small, frequent sips if you are vomiting
- Rest as much as possible – your body needs energy to recover
- Avoid dairy products, fatty or spicy foods, and caffeine until you feel better
- Start eating again with bland foods like plain rice, toast, crackers, or bananas when you are ready
Medical treatments
If you are severely dehydrated, you may need intravenous fluids (drip) in a hospital. For bacterial infections, a doctor may prescribe antibiotics. For vomiting, you might be given anti-nausea medicine. Always follow your healthcare provider's advice and do not ask for specific medicines by name.
When is surgery considered?
Surgery is rarely needed for simple stomach infections. It may be considered if the infection causes a complication like a perforated bowel or if the symptoms turn out to be from appendicitis or another condition requiring surgical treatment.
Living with this condition
While you are sick, stay home from work, school, or childcare to avoid spreading the infection to others. Rest in a comfortable place and keep a water bottle nearby. If you have diarrhea, use a separate towel and wash your hands often.
Lifestyle tips
- Practice good hand hygiene – wash hands with soap and water after using the toilet and before preparing food
- Avoid preparing food for others until at least 48 hours after your symptoms have gone
- Clean surfaces that may have germs, like toilets, sinks, and doorknobs
Diet and exercise
When you feel ready to eat, start with small, plain meals. Avoid heavy exercise until you are fully recovered. Gentle activity like walking is fine once you have energy. Listen to your body and rest when needed.
Mental health and emotional wellbeing
Being sick can make you feel worried, down, or isolated. It is normal to feel frustrated. Remember that this usually passes quickly. If you feel very anxious or your mood does not lift after you recover, talk to your doctor.
Prevention
Yes, many cases can be prevented with good hygiene and safe food practices. Wash your hands thoroughly, especially after using the toilet and before eating. Cook food to the right temperature and avoid cross-contamination in the kitchen. Drink safe, clean water.
Vaccines
There is a vaccine for rotavirus, which is given to babies as part of the routine childhood vaccination schedule in many countries. It helps protect against one of the most common causes of severe gastroenteritis in young children.
Screening programmes
There is no routine screening for stomach infections. If you have a higher risk (such as a weak immune system), your doctor may recommend extra precautions, such as avoiding raw foods or untreated water when travelling.
Complications
If left untreated
- Dehydration – the most common complication, especially in children and older adults
- Electrolyte imbalance – can affect heart and muscle function
- Kidney damage from severe dehydration
- Bowel perforation (rare) – if a bacterial infection causes a hole in the intestine
Long-term outlook
The outlook is excellent for most people. With proper rest and fluids, symptoms usually go away in a few days. Even with treatment, most people recover fully without long-term problems. Serious complications are rare. If you follow the advice of your healthcare provider, you can expect to feel better soon.
Find support
External links open third-party websites. Ruqelo Health is not responsible for external content. Listing an organisation does not imply endorsement.
Always verify with your doctor
Health guidelines vary by country and region. The information in this article is based on international clinical guidelines but may not reflect the specific guidelines, medications, or practices in your country. Always discuss your health concerns with your own doctor or healthcare provider, and refer to your local national health guidelines where available.
Important notice This information is for educational purposes only. It does not replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider about your specific situation. If you are experiencing a medical emergency, call your local emergency services immediately.
Related conditions
Sources and guidance
This article is educational and is prepared with reference to recognized health information and clinical guidance sources where available. Specific source links may vary by topic.
Last updated: July 30, 2026
Educational note: This information is for education only and is not a diagnosis.
Use it to support, not replace, advice from a licensed clinician.
If symptoms are severe, worsening, or urgent, call your local emergency number or seek emergency care.