Antibiotics and PIDs

Antibiotics are important medicines for managing and treating infections caused by bacteria.  This information is for primary immunodeficiency patients and their carers aims to help ensure antibiotics are used safely and effectively.

What are antibiotics?

Antibiotics are medicines used to treat infections caused by bacteria, one of the important families of bugs that cause illness. They work either by killing the bacteria or by slowing their growth. They are used in PID to:

  • To treat bacterial infections such as chest, sinus or ear infections
  • As prophylaxis – prolonged treatment with the aim of preventing bacterial infection or reducing its frequency, or severity

What types of antibiotics are available?

There are many different types of antibiotics that are used to treat different kinds of bacterial infections. Antibiotics are often categorized by their ‘spectrum’ of activity.

A ‘broad-spectrum’ antibiotic is one that acts against a wide variety of bacteria.

Examples of broad-spectrum antibiotic tablets often used in primary immunodeficiency disease include co-amoxiclav, doxycycline or azithromycin.

Other antibiotics only work against certain families of bacteria and are only used in very specific circumstances, such as when laboratory test results identify a specific bacteria.

Which antibiotic should you take?

Your doctor will decide which antibiotic is appropriate for you based on your clinical history, examination and laboratory results (e.g. which bacteria grow from a sputum sample). In addition, each hospital will have local guidance on antibiotic use to support your doctor in the decision making process.

Please remember to always give a sputum sample, where possible, before taking antibiotics for a chest infection. This might help your doctor make decisions on antibiotic treatment now and in the future.

How to take antibiotics

Antibiotic treatment is usually given by mouth, in tablet form (or suspensions for children). Antibiotics can also be administered into a vein (intravenous) or for certain infections applied directly to the affected part of the body (topical, e.g. antibiotic eye drops). Occasionally and for very specific lung infections inhaled (nebulized) antibiotics may be used.

The do’s and don’ts

If your doctor has decided that antibiotics are necessary, it is very important to take them in a responsible manner.

  • Follow the instructions on the label or patient information sheet. Some antibiotic tablets are best taken on an empty stomach (an hour before or two hours after meals), whilst others should not be taken with certain foods.
  • Make sure you take the antibiotics at the correct time and complete the course.

Not completing the course might contribute to bacteria becoming ‘antibiotic resistant’ and the antibiotic being less effective in the future. This is particularly important in immunodeficiency as antibiotics can sometimes be required regularly.

  • If your symptoms continue to get worse, you are unable to take the prescribed antibiotics, or experience unacceptable side effects you should tell your doctor.

Sometimes your doctor may decide that intravenous antibiotics are needed. Intravenous antibiotics are often used for the most severe infections. However, certain antibiotics do not work very well (or at all) when given orally. In these situations intravenous antibiotics are necessary. Hospital admission for intravenous antibiotics is often required but longer-term administration can sometimes be facilitated at home.


You should always complete the antibiotic course, even if you start to feel better.

What are the possible complications of taking antibiotics?

Antibiotics are safe and highly effective medications, but as with all therapies, there are sometimes unwanted effects:

  • Nausea, vomiting and diarrhoea are the most common side effects. This may mean that this particular antibiotic is not suitable for you at this time. You should contact the prescribing team for further advice on what to do next.
  • Occasionally they lead to a fungal infection, or ‘thrush’ of the mouth, digestive tract or vagina. This is rarely serious and is readily treated with antifungal drops and creams where necessary.
  • Allergy to antibiotics are rare. They can lead to rashes, swelling of the skin or tongue and difficulty breathing. If you have had a reaction to an antibiotic in the past, it is important to remind your doctor, nurse or pharmacist of this as this may have an impact on the types of antibiotics you are given in the future.

If you get a reaction while on the antibiotic inform your doctor immediately. If you are unable to contact your doctor, stop the antibiotic and continue to try and get through to your medical team.

Interactions with other medications

Some antibiotics can affect how other medications work. For example:

  • Some may the oral contraceptive pill less effective in which case you may need to use a different form of contraception
  • They may affect the activity of blood thinning medication such as warfarin or tablets used to control epilepsy. Your doctor, nurse or pharmacist will be happy to help you with any concerns.

How is the use of antibiotics in PID different?

The use of antibiotics in primary immunodeficiency may differ from general use in a number of ways.

Occasionally it may be necessary for you, the patient or carer, to remind a healthcare professional of these differences. This may be particularly important when dealing with locum staff, as they may not have full medical details to hand.

The main differences are:

  • Longer courses and stronger courses

Patients with PID are often prescribed longer and stronger courses of antibiotics than usual. This might mean courses of 14 days, or sometimes longer. The reason for this is to prevent relapse. As always, you must complete the course even if you are feeling better.

  • Stand-by antibiotics at home

Under certain circumstances a ‘reserve’ course of antibiotics to be kept at home may be recommended. Your doctor will give you very specific advice regarding when these antibiotics are to be used. It can be helpful to collect a sputum sample (in the setting of a chest infection) before these emergency antibiotics are started. This can be dropped into your family practice. You should keep a record of when you use these stand-by antibiotics, and obtain a replacement supply after they have been used.

  • Long-term (prophylactic) antibiotics (see section below)

The aim here is to reduce the number and severity of infections. They are often prescribed for much longer periods of time. As with all antibiotics, it is particularly important to take them exactly as prescribed and not to skip or miss doses.

Four golden rules of taking antibiotics in PID

  1. Always take your antibiotics as exactly as directed
  2. Always complete the course
  3. If you experience side effects inform your doctor, nurse or pharmacist
  4. If you do not feel better or you think things are getting worse, then seek advice from your medical team.

More about prophylactic antibiotics

Long-term antibiotics are often used in PID to reduce the number and severity of infections. They can be used as a standalone treatment or be added to other therapies such as immunoglobulin replacement. While much of what we know about antibiotic prophylaxis is taken from studies in conditions such as cystic fibrosis and bronchiectasis, this treatment approach has been found to be very effective by doctors specialising in PID and is common practice.

The choice and dose of prophylactic antibiotic depends on the type of PID , the presence of complications such as lung, sinus or ear disease, information from previous laboratory tests and local guidelines on antibiotic use. Patient specific concerns such as dosing intervals and previous side effects are also taken into account when making a selection.

Your doctor will carefully weigh up the risks and benefits of using antibiotic prophylaxis before offering this treatment. How well this treatment strategy works will be an important part of your regular PID follow up. If you and your doctor find no discernible benefit from long-term antibiotics then they may be changed to an alternative or discontinued entirely. Prophylactic antibiotics will never be prescribed without good reason.

Prophylactic antibiotics are well tolerated and problems with their use are not common. Concerns have been raised about the impact of certain antibiotic families on the heart, when used for long periods. This may be particularly relevant for older patients and those with known heart problems. If your doctor is considering the use of such medications they may wish to obtain an ECG (heart trace) and discuss the risks with you before starting this approach.

Antibiotic resistance is a concern for all doctors and patients alike. Studies in other diseases do suggest that long-term use of certain antibiotic drugs can contribute to a level of resistance but this has not been well studied in PID. Some specialists will change antibiotics every few months in an attempt to avoid resistance, but the benefit of this approach is uncertain.

At present, the best advice to minimise resistance, is to take the antibiotic regime exactly as prescribed by your team, never skip doses and raise any concerns you have with your specialist directly.