Need emergency help? Call 999 in United Kingdom.

Open local help

Medicine guide

Codeine

About this information

This NHS content is written for people in England. Medicine names, availability, prescribing and services may differ in other countries.

Codeine

Interactions

Codeine is used to treat pain, for example after an operation or injury.

Codeine comes as tablets and a liquid you swallow. Follow the instructions that come with your medicine.

Side effects of codeine include constipation and feeling or being sick. More serious side effects are rare.

Codeine is suitable for most adults and children aged 12 years and over, but always check before taking it because it's not suitable for everyone.

Taking codeine with other medicines, such as medicines for mental health conditions, can cause problems. Always check before taking it.

What codeine is for

Codeine is a type of strong painkiller called an opioid. It's used to treat pain, for example after an operation or an injury.

It's often used when other painkillers, such as paracetamol and ibuprofen, have not worked

Codeine can also be used to treat a dry or painful cough or diarrhoea.

How to take codeine

Codeine usually comes as tablets, or a liquid you swallow (oral solution).

How much you need to take and for how long depends on why you're taking it.

Always check the packet or leaflet that comes with your medicine. Ask a pharmacist or doctor for advice if you're not sure how to take it or have any problems taking it.

When taking codeine:

  • swallow tablets whole with half a glass of water
  • take it with or without food
  • use the syringe or cup that comes with liquid codeine to help you measure out the right dose

If you miss a dose of codeine

If you forget to take a dose of codeine, take it as soon as you remember, unless it's nearly time for your next dose.

If it's nearly time for your next dose, skip the dose you missed and take your next dose at the usual time.

Do not take 2 doses to make up for a missed dose.

If you take too much codeine

Taking an extra dose of codeine can be dangerous.

Call NHS 111 if:

  • you've taken more than your prescribed dose of codeine

Information

If you're told to go to A&E, do not drive. Ask someone to drive you or call 999 and ask for an ambulance.

Bring the codeine packet or leaflet inside it, any remaining medicine, and any other medicines you take.

How to stop taking codeine

If you need to take codeine for a long time, your body can become used to having it.

Do not stop taking it codeine suddenly because this can cause withdrawal symptoms such as feeling agitated or anxious.

Your doctor will gradually reduce your dose over several weeks or months. Always follow your doctor's advice.

It's possible to become addicted to codeine. Your doctor will make sure you're only taking the amount you need to control your pain.

Talk to your doctor if you're worried about addiction.

Side effects of codeine

Like all medicines, codeine can cause side effects, although not everyone gets them.

Common side effects

Common side effects of codeine include:

  • constipation
  • feeling sick (nausea) or being sick (vomiting)
  • feeling sleepy or tired
  • sweating

If you feel sleepy or tired after taking codeine, do not drive, ride a bike or use machinery until you no longer have these symptoms.

Speak to a pharmacist or doctor if:

  • you have any side effects that bother you or do not go away

They may be able to give you advice about how you can reduce the side effects.

Find a pharmacy

Serious side effects

Codeine can sometimes cause serious side effects, although most of them are rare.

Possible serious side effects of codeine include:

  • an allergic reaction (anaphylaxis) – causing symptoms such as a swollen throat or tongue, a raised, itchy rash and difficulty breathing
  • slow, weak or shallow breathing
  • an unusual heartbeat (palpitations)
  • low blood pressure (hypotension) – causing symptoms such as confusion, blurred vision, feeling weak, lightheaded or dizzy

Call NHS 111 if:

  • you're taking codeine and think you might be having serious side effects

Who can and cannot take codeine

Most adults and children aged 12 years and over can take codeine.

Codeine is not suitable for some people. For example, it may not be suitable if:

Before taking codeine, tell your doctor if you have any medical conditions.

Breastfeeding and codeine

Tell your doctor if you're breastfeeding. Codeine is not usually used while breastfeeding because there's a risk it could cause side effects in your baby.

Pregnancy and codeine

Tell your doctor if you're trying for a baby, pregnant or you get pregnant while taking codeine.

Codeine is sometimes used during pregnancy if needed. Your doctor will talk to you about the risks and benefits of taking it while you're pregnant.

Taking codeine with other medicines, food and drink

There are some medicines, remedies and supplements that may not mix well with codeine.

These include:

  • other opioid painkillers, such as co-codamol
  • medicines for depression or another mental health condition
  • some medicines to treat allergies (antihistamines)
  • medicines to help stop you feeling or being sick
  • other medicines to treat diarrhoea

Before taking codeine, tell your doctor if you're taking any other medicines, herbal remedies, vitamins or supplements.

Taking codeine together with recreational drugs, such as cannabis, cocaine, or heroin can increase the risk of serious side effects.

Food, drink and alcohol with codeine

You can eat and drink normally while taking codeine, but it's best not to drink alcohol because this can increase the risk of side effects.

Content supplied by the NHS website

Content supplied by the NHS website, refreshed 19 August 2026. View the original NHS article ↗

Licensed under the Open Government Licence v3.0 ↗. MyPHU is independent and is not endorsed by the NHS.