Skip to main content
General practice·General practice

Prophylactic Antibiotics

Overview

Prophylactic antibiotics are antibiotics given to stop an infection from starting, rather than to treat an infection you already have. The word 'prophylactic' simply means 'preventive'. You might be offered them before certain types of surgery, after some wounds or bites, or if you have a health condition that makes infections more dangerous for you. They are only used in specific situations where the benefit clearly outweighs the risks. They are not a general 'just in case' medicine and are not helpful for colds, flu or other viral illnesses.

Key facts

  • Prophylactic antibiotics are given to prevent infection, not to cure one that is already there.
  • They are used for a limited time and in specific situations, such as around certain operations or for people at high risk of serious infection.
  • Taking antibiotics when you do not need them helps bacteria become resistant, which means these medicines stop working for everyone in the future.
  • Antibiotics can cause side effects, most commonly loose stools, nausea, thrush or a rash.
  • Always take them exactly as your prescriber or pharmacist explains, and never use leftover antibiotics or share them with others.

Prophylactic antibiotics are fairly common in hospitals and in certain GP situations, but they are not handed out routinely. Most people will be offered them at some point only if they have a specific reason, such as a planned operation, a bite or wound, a missing or non-working spleen, some heart conditions, or repeated infections in one part of the body. For everyday coughs, colds and sore throats they are not used, because those are usually caused by viruses.

Anyone can be offered prophylactic antibiotics if the situation calls for it. They are more often considered for people having surgery, people with weakened immune systems, people who have had their spleen removed or whose spleen does not work properly, people with certain heart valve problems or artificial heart valves, people with recurring urine, skin or chest infections, and people travelling to areas where certain infections are common. Children and older adults can also be offered them, with extra care around the correct amount and any other medicines being taken.

Symptoms

Call emergency services immediately if you notice:
  • Swelling of the face, lips, tongue or throat, or a tight feeling in the throat
  • Difficulty breathing, wheezing or a hoarse voice
  • A sudden widespread rash with dizziness, a fast heartbeat or feeling faint
  • Collapse or loss of consciousness
  • Skin that blisters, peels or looks like a burn, or a rash that spreads quickly
  • Severe watery or bloody diarrhoea with a high fever, severe tummy pain, or feeling very unwell, which can be a sign of a serious gut infection
See a doctor urgently (same day) if you notice:
  • ⚠A new fever or a fever that keeps getting higher
  • ⚠Vomiting that means you cannot keep fluids or tablets down
  • ⚠Diarrhoea that lasts more than a couple of days or is getting worse
  • ⚠A rash that is spreading, painful or blistering
  • ⚠Increasing redness, swelling, pain or discharge at a wound or operation site
  • ⚠Confusion or unusual sleepiness, especially in an older adult or a child

Common symptoms

  • Because prophylactic antibiotics are given to prevent illness, the 'symptoms' to watch for are usually signs that an infection may still be developing, or side effects from the medicine itself.
  • Loose stools or diarrhoea, which is the most common side effect
  • Feeling sick or having a mild stomach ache
  • Thrush (a yeast infection) in the mouth or vagina, or a nappy rash in babies
  • A mild skin rash
  • Feeling more tired than usual
  • Signs of infection at a wound or operation site, such as redness, swelling, warmth, pain or discharge
  • A new fever, or feeling generally unwell

Symptoms in children

  • Loose stools or nappy rash are common in young children taking antibiotics
  • Thrush in the mouth, which can look like white patches on the tongue or cheeks
  • Being more fussy, feeding less or having a sore tummy
  • A mild rash, which should always be checked by a doctor or pharmacist
  • Children can become dehydrated quickly with diarrhoea or vomiting, so watch for fewer wet nappies, a dry mouth or unusual sleepiness

Symptoms in older adults

  • Diarrhoea can lead to dehydration and confusion more quickly in older adults
  • A new or worsening rash
  • Thrush in the mouth, which can make eating uncomfortable
  • Feeling unusually tired, weak or confused
  • Interactions with other regular medicines, so always tell your prescriber and pharmacist about everything you take

Causes

Main causes

  • A planned operation or a procedure where bacteria could get into the body, such as some types of surgery or dental work in people with certain heart conditions
  • A wound, bite or injury where the risk of infection is high
  • A health condition that makes serious infection more likely, such as a missing or poorly working spleen, a weakened immune system, or certain heart valve problems
  • Infections that keep coming back in the same place, such as repeated urine infections, skin infections or chest infections
  • Close contact with someone who has a serious infection that can be prevented with antibiotics, as advised by a public health team
  • Travel to an area where certain infections are common, where preventive medicine may be recommended

Risk factors

  • Having a weakened immune system from illness or from medicine that suppresses it
  • Having had your spleen removed, or having a spleen that does not work properly
  • Having an artificial heart valve or certain heart valve problems
  • Having a long-term lung condition, diabetes or kidney disease
  • Having a urinary catheter or other medical device in place
  • Living in a care setting or being in hospital for a long time
  • Recent or repeated use of antibiotics, which raises the risk of resistant bacteria
  • Being very young or very frail and older

When to see a doctor

See a doctor urgently if:

  • You have any sign of a severe allergic reaction, such as swelling of the face or throat, breathing difficulty or collapse — call your local emergency number straight away
  • You have severe diarrhoea, especially with blood, a high fever or severe tummy pain
  • You cannot keep fluids down, or you feel very dehydrated
  • A wound or operation site becomes hot, very painful, swollen or starts leaking pus
  • You develop a high fever or feel very unwell while taking preventive antibiotics

Book a routine appointment if:

  • You have mild side effects that are troublesome, such as loose stools, nausea or thrush
  • You think you may have missed a dose and want advice on what to do
  • You are unsure why you were given antibiotics or how long to take them
  • You are taking other medicines and want to check they are safe together
  • You are planning travel and want to know whether preventive medicine is needed
  • You keep getting infections and want to talk about why
Most people who are given preventive antibiotics take them without any problems, and any mild side effects usually settle once the course is finished. If you are unsure whether something you are feeling is normal, it is always fine to ring your GP surgery or ask your pharmacist — you will not be wasting anyone's time.

Diagnosis

There is no single test that 'diagnoses' whether you need preventive antibiotics. Instead, your doctor or specialist looks at your medical history, your current health, any planned procedure, and the guidelines for your situation. They will ask about allergies to antibiotics, other medicines you take, kidney or liver problems, and whether you have had antibiotics recently. Sometimes they will check your records or ask a specialist team, such as a surgical or heart team, for advice before deciding.

Tests that may be done

  • A review of your medical records and medicine list
  • Questions about previous allergic reactions to antibiotics
  • Blood tests to check kidney and liver function, which affect how medicines are handled
  • A swab or urine sample if you have had resistant bacteria before, so the right choice can be made
  • Checks for certain bacteria before some operations, as advised by your surgical team

What to expect at your appointment

You will usually have a short conversation rather than a long set of tests. Your doctor will explain why preventive antibiotics are being suggested, how long you need them, and what side effects to watch for. If you are having surgery, the medicine is often given in hospital shortly before the operation, sometimes as a single dose. If you are given a course to take at home, you will be told exactly when to start and stop. You are always free to ask questions or to say you would like more time to think about it.

Treatment

Preventive antibiotics are themselves a form of treatment aimed at stopping infection before it starts. The approach depends on your situation: a single dose before an operation, a short course after a bite or wound, a longer low-dose course for someone with repeated infections, or medicine taken for a set period during travel. Your healthcare team will choose the shortest and simplest option that gives you the protection you need. Using antibiotics only when they are truly needed is an important part of keeping them effective for everyone.

Self-care at home

  • Take the medicine exactly as explained by your prescriber or pharmacist, including the times of day
  • Finish the course unless your doctor or pharmacist tells you to stop
  • If you forget a dose, ask your pharmacist what to do rather than doubling up
  • Never save leftover antibiotics for later, and never give them to someone else
  • Tell any doctor, nurse or dentist you see that you are taking antibiotics
  • Wash your hands well and keep wounds clean and covered
  • Ask your pharmacist whether a probiotic product is suitable for you, and how to space it from your antibiotic
  • Drink enough fluids, especially if you have loose stools
  • Keep a note of any side effects so you can report them

Medical treatments

Preventive antibiotics are chosen by your healthcare team based on the type of infection they are trying to prevent, any bacteria you have had before, your allergies, and how well your kidneys and liver work. They may be given as tablets, a liquid, or through a vein in hospital. The length of treatment varies from a single dose to several months, depending on the reason. If side effects are a problem, your team may adjust the plan, change to a different option, or stop the medicine if it is no longer needed. Never change or stop a course on your own without advice.

When is surgery considered?

Preventive antibiotics are often used around surgery. They are usually given shortly before the operation so that the right level is in your body when the surgeon makes the first cut. Sometimes a further dose is given during a long operation, or for a short time afterwards. For most operations a single dose is enough. If you are having certain dental procedures and have particular heart conditions, your dentist or heart team may advise a dose beforehand. Your surgical team will tell you exactly what is planned for you.

Living with this condition

Taking preventive antibiotics fits into normal life fairly easily for most people. Set a phone reminder for doses, keep the medicine somewhere you will see it, and keep a simple note of when you take it and how you feel. If you are having surgery, you may only need one dose, so there is nothing to manage at home. If you are on a longer course, plan ahead for refills and appointments so you do not run out.

Lifestyle tips

  • Keep up good hand hygiene, especially before eating and after using the toilet
  • Clean and cover cuts and grazes, and follow any wound care advice you are given
  • Avoid sharing towels, razors or toothbrushes
  • Keep up to date with routine vaccinations, which reduce the need for antibiotics
  • Store antibiotics as directed, usually in a cool dry place, and keep them out of reach of children
  • Tell your pharmacist about all medicines, supplements and herbal products you use

Diet and exercise

There is no special diet needed while taking preventive antibiotics, but a few practical tips can help. Take the medicine as your pharmacist advises — some are best with food, others on an empty stomach. If you get loose stools, drink plenty of fluids and eat simple, gentle foods. Alcohol is fine for most antibiotics, but check with your pharmacist, as a few do not mix well with it. Normal everyday activity and exercise are usually fine; if you are recovering from surgery, follow your surgical team's advice about getting moving again.

Mental health and emotional wellbeing

Some people feel anxious about taking antibiotics, especially if they have had a bad reaction before, or they may worry about becoming resistant to antibiotics. Others find that repeated infections or a long course of preventive medicine is tiring and stressful. These feelings are very common and worth mentioning to your doctor or nurse — they can often adjust the plan to make it easier. If worry, low mood or anxiety is affecting your daily life, please talk to a healthcare professional. If you ever feel unable to cope or have thoughts of harming yourself, contact your local emergency number or a local crisis support service straight away.

Prevention

This topic is itself about prevention, so the question is really how to reduce how much you need antibiotics. The best ways are good hygiene, keeping wounds clean, staying up to date with vaccinations, and using antibiotics only when they are genuinely needed. If you are offered preventive antibiotics, the goal is to use the shortest effective course. You can help by taking them exactly as directed, never pressuring for antibiotics when they are not needed, and never saving or sharing them.

Vaccines

Staying up to date with routine vaccinations is one of the best ways to reduce the number of infections you get — and therefore the number of antibiotics you need. This includes flu and pneumonia vaccines for people who are eligible, and any extra vaccines recommended for your particular health condition, such as for people without a working spleen. Ask your GP surgery or pharmacist which vaccinations you are due.

Screening programmes

Some hospitals check for certain resistant bacteria, such as on a swab, before planned surgery so that the right preventive plan can be chosen. People with repeated urine infections may have their urine tested to identify the cause. These checks are arranged by your healthcare team when relevant — you do not need to request them yourself.

Complications

If left untreated

  • The infection the antibiotics were meant to prevent could develop — for example a wound infection after surgery or a serious infection in someone without a spleen
  • Infections in people with certain heart conditions could damage heart valves
  • Repeated infections can cause scarring or long-term problems in the affected area, such as the kidneys or chest
  • Taking antibiotics when they are not needed encourages resistant bacteria, making future infections harder to treat
  • Antibiotics themselves can cause problems, including diarrhoea, thrush, rashes and, rarely, a serious gut infection
  • A serious allergic reaction can occur, though this is uncommon

Long-term outlook

For most people, preventive antibiotics do exactly what they are meant to do: they lower the chance of a serious infection and let you recover smoothly from surgery or live well with a long-term condition. The aim is always to use the smallest effective amount for the shortest time. If you do get side effects or an infection despite the medicine, there are usually other options, and your healthcare team will work with you to find the right plan. Looking after your general health, keeping vaccinations up to date and taking medicines as directed all make a real difference.

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 guidance differs by country and region. This page is general education and may not match the guidelines, medicines, or practice where you live. Discuss your concerns with your own doctor or healthcare provider, and follow local guidance where it exists.

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

No guideline names this topic

No health guideline or clinical chapter that names this exact topic is cited here. This page is for general education and information only. It is not a diagnosis, a treatment plan, or personal medical advice. Check with your own doctor and follow their advice. If symptoms are severe, sudden, or worrying, get medical care promptly, and call your local emergency number in an emergency. Ruqelo LLC is not responsible for medical or legal outcomes from decisions based on this information.

Last updated: November 3, 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.

Guidance may differ by country or region. Confirm local recommendations with a qualified healthcare provider.

Questions about this article