Amitriptyline for pain and migraine
NHS information about the medicine amitriptyline for pain, including what it's used for, who can take it, how to take it and side effects.
This page is about amitriptyline for pain and migraine. There is separate information about amitriptyline for depression.
What amitriptyline is for
Amitriptyline is used for:
- treating nerve pain, also called neuropathic pain, or some types of long-term pain
- preventing migraines
- preventing long-term tension headaches
It's also sometimes used for other types of pain, such as stomach pain.
Amitriptyline is a type of antidepressant called a tricyclic antidepressant (TCA). It's used in lower doses for pain than it is for depression.
It's thought to work by affecting the activity of chemicals in the brain and body. This can change the way your nerves receive pain signals, helping to make pain go away.
How to take amitriptyline
Amitriptyline comes as tablets or a liquid you swallow (oral solution). You usually take it once a day.
How much you need to take and for how long depends on why you're taking it. You may need to take amitriptyline for a long time.
Your doctor may prescribe a low dose to start with and increase it after a few weeks. This reduces the chances of side effects.
It can take several weeks until your symptoms start to improve.
When taking amitriptyline:
- swallow tablets whole, with a drink of water
- if you're taking the liquid medicine, use the cup, spoon or syringe that comes with it to help you measure the right dose
- it's best to take it in the evening, as it can make you sleepy
- you can take it with or without food
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.
Side effects of amitriptyline
Like all medicines, amitriptyline can cause side effects, although not everyone gets them.
Most side effects should improve after a couple of weeks as your body gets used to the medicine, but some can last longer.
Common side effects
Common side effects of amitriptyline include:
- feeling sleepy, dizzy or less alert
- shaking
- dry mouth
- constipation
- sweating a lot
- vision problems
- putting on weight without trying
- sexual problems, such as low sex drive (loss of libido) – these side effects may continue after you stop taking the medicine
Amitriptyline can make you feel sleepy, dizzy or less alert, and affect your vision. Do not drive, ride a bike or use machinery until these symptoms have stopped.
More about side effects
These are not all the side effects of amitriptyline.
For a full list, see the leaflet that comes with your medicine or search for your medicine leaflet on the electronic medicines compendium website.
You can report any side effects you get on the Yellow Card website
Who can and cannot take amitriptyline
Most adults can take amitriptyline. It's also sometimes prescribed for children.
But amitriptyline is not suitable for everyone. For example, it may not be suitable if:
- you've had an allergic reaction or other serious side effect from amitriptyline or a similar medicine
- you have heart problems or have recently had a heart attack
- you have a mental health condition, such as bipolar disorder, schizophrenia or a history of mania
- you have increased pressure in your eye or a condition that causes it, such as glaucoma
- you have difficulty peeing
- you have severe liver problems
- you have an overactive thyroid (hyperthyroidism)
- you have diabetes, epilepsy or a history of seizures (fits)
- you have porphyria, a rare blood condition
Before taking amitriptyline, tell your doctor if you have any medical conditions.
Breastfeeding and amitriptyline
You can usually use amitriptyline while breastfeeding, but check with a doctor first. They may recommend it if the benefits outweigh the risks.
It's rare for breastfed babies to get any side effects from medicine you're taking, but speak to a healthcare professional if you have any concerns about your baby.
Do not sleep in the same bed (co-sleep) with your baby if you've taken amitriptyline or any other medicine that makes you sleepy or drowsy, as it can increase the risk of sudden infant death syndrome (SIDS).
Pregnancy and amitriptyline
Tell your doctor if you're pregnant or trying to get pregnant. They may recommend using amitriptyline in pregnancy if the benefits outweigh the risks.
You'll also usually be advised to give birth in hospital so you and your baby can be closely monitored after you've given birth.
Taking amitriptyline with other medicines, food and drink
There are some medicines, remedies and supplements that may not mix well with amitriptyline.
This includes:
- other antidepressants
- some medicines for heart problems
- opioid painkillers, such as codeine or buprenorphine
- antifungal medicines such as fluconazole or terbinafine
- medicines that make you drowsy or sleepy
- medicines to treat high blood pressure, such as diltiazem or verapamil
- St John's wort, a herbal remedy
Before taking amitriptyline, tell your doctor if you're taking any other medicines, herbal remedies, vitamins or supplements.
Food, drink and alcohol with amitriptyline
Do not drink alcohol while taking amitriptyline. Alcohol can increase the effects of the medicine, which can increase the risk of side effects, such as making you very sleepy.
Otherwise, you can eat and drink as normal while taking amitriptyline.
Find out more about your medicine
To find out more about your medicine, you can:
- check the leaflet that comes with it
- search for your medicine leaflet on the electronic medicines compendium website
- speak to a pharmacist or a doctor for advice

