🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 75 (from laksa024)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

📄
INDEXABLE
CRAWLED
13 hours ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://www.nhs.uk/conditions/insomnia/
Last Crawled2026-04-10 20:30:13 (13 hours ago)
First Indexed2017-11-05 01:37:02 (8 years ago)
HTTP Status Code200
Meta TitleInsomnia - NHS
Meta DescriptionFind out about insomnia, including why it might happen and how to treat it.
Meta Canonicalnull
Boilerpipe Text
Symptoms of insomnia You have insomnia if you regularly: find it hard to go to sleep wake up several times during the night lie awake at night wake up early and cannot go back to sleep still feel tired after waking up find it hard to nap during the day even though you're tired feel tired and irritable during the day find it difficult to concentrate during the day because you're tired If you have insomnia for a short time (less than 3 months) it's called short-term insomnia. Insomnia that lasts 3 months or longer is called long-term insomnia. How much sleep you need Everyone needs different amounts of sleep. On average: adults need 7 to 9 hours children need 9 to 13 hours toddlers and babies need 12 to 17 hours You probably do not get enough sleep if you're constantly tired during the day. What causes insomnia The most common causes of insomnia are: stress, anxiety or depression noise a room that's too hot or cold uncomfortable beds alcohol, caffeine or nicotine illegal drugs like cocaine or ecstasy jet lag shift work Conditions and other things that can cause insomnia Conditions and medicines that can cause insomnia: mental health conditions, such as schizophrenia or bipolar disorder Alzheimer's disease or Parkinson's disease restless legs syndrome overactive thyroid menopause Many medicines can also cause insomnia. Things that keep you from getting a good night's sleep: long-term pain sleepwalking snoring or interrupted breathing while sleeping ( sleep apnoea ) suddenly falling asleep anywhere ( narcolepsy ) nightmares or night terrors (particularly in children) How you can treat insomnia yourself Insomnia usually gets better by changing your sleeping habits. Do only go to bed when you're sleepy wake up and get out of bed at the same time every day relax at least 1 hour before bed – for example, take a bath or read a book make sure your bedroom is dark and quiet – use curtains, blinds, an eye mask or ear plugs if needed exercise regularly during the day make sure your mattress, pillows and covers are comfortable Don’t do not smoke or drink alcohol, tea or coffee at least 6 hours before going to bed do not eat a big meal late at night do not exercise at least 4 hours before bed do not watch television or use devices, like smartphones, right before going to bed, because the blue light makes you more awake do not nap during the day do not drive when you feel sleepy do not sleep in after a bad night's sleep – stick to your regular sleeping hours instead How a pharmacist can help with insomnia You can buy tablets or liquids (sometimes called sleeping aids) from a pharmacy that may help you sleep better. Some contain natural ingredients such as valerian or lavender, while others contain an antihistamine . They cannot cure insomnia but may help you sleep better for 1 to 2 weeks. They should not be taken for any longer. Some of these products can have side effects, for instance, they may make you drowsy. This could make it difficult for you to do certain things like drive. Check with your doctor before taking anything for your sleep problems. Non-urgent advice: See a GP if: changing your sleeping habits has not helped your insomnia you've had trouble sleeping for months your insomnia is affecting your daily life in a way that makes it hard for you to cope Treatment from a GP for insomnia A GP will try to find out what's causing your insomnia so you get the right treatment. Sometimes you'll be offered cognitive behavioural therapy (CBT) . This may be face-to-face with a therapist, or through an online self-help programme. This can help you change the thoughts and behaviours that keep you from sleeping. You may be referred to a sleep clinic if you have symptoms of another sleep disorder such as sleep apnoea. GPs now rarely prescribe sleeping pills to treat insomnia. Sleeping pills can have serious side effects and you can become dependent on them. Sleeping pills are only prescribed for a few days, or weeks at the most, if: your insomnia is very bad other treatments have not worked Page last reviewed: 19 March 2024 Next review due: 19 March 2027
Markdown
 [Skip to main content](https://www.nhs.uk/conditions/insomnia/#maincontent) - [Health A to Z](https://www.nhs.uk/health-a-to-z/) - [NHS services](https://www.nhs.uk/nhs-services/) - [Healthy living](https://www.nhs.uk/live-well/) - [Mental health](https://www.nhs.uk/mental-health/) - [Care and support](https://www.nhs.uk/social-care-and-support/) - [Home](https://www.nhs.uk/) - Browse More 1. [Home](https://www.nhs.uk/) 2. [Health A to Z](https://www.nhs.uk/health-a-to-z/) 3. [Conditions A to Z](https://www.nhs.uk/conditions/) [Back to Conditions A to Z](https://www.nhs.uk/conditions/) # Insomnia Insomnia means you regularly have problems sleeping. It usually gets better by changing your sleeping habits. ## Symptoms of insomnia You have insomnia if you regularly: - find it hard to go to sleep - wake up several times during the night - lie awake at night - wake up early and cannot go back to sleep - still feel tired after waking up - find it hard to nap during the day even though you're tired - feel tired and irritable during the day - find it difficult to concentrate during the day because you're tired If you have insomnia for a short time (less than 3 months) it's called short-term insomnia. Insomnia that lasts 3 months or longer is called long-term insomnia. ## How much sleep you need Everyone needs different amounts of sleep. On average: - adults need 7 to 9 hours - children need 9 to 13 hours - toddlers and babies need 12 to 17 hours You probably do not get enough sleep if you're constantly tired during the day. ## What causes insomnia The most common causes of insomnia are: - stress, anxiety or depression - noise - a room that's too hot or cold - uncomfortable beds - alcohol, caffeine or nicotine - illegal drugs like cocaine or ecstasy - jet lag - shift work Conditions and other things that can cause insomnia ### Conditions and medicines that can cause insomnia: - mental health conditions, such as schizophrenia or bipolar disorder - Alzheimer's disease or Parkinson's disease - [restless legs syndrome](https://www.nhs.uk/conditions/restless-legs-syndrome/) - [overactive thyroid](https://www.nhs.uk/conditions/overactive-thyroid-hyperthyroidism/) - [menopause](https://www.nhs.uk/conditions/menopause/) Many medicines can also cause insomnia. ### Things that keep you from getting a good night's sleep: - long-term pain - sleepwalking - snoring or interrupted breathing while sleeping ([sleep apnoea](https://www.nhs.uk/conditions/sleep-apnoea/)) - suddenly falling asleep anywhere ([narcolepsy](https://www.nhs.uk/conditions/narcolepsy/)) - [nightmares or night terrors](https://www.nhs.uk/conditions/night-terrors/) (particularly in children) ## How you can treat insomnia yourself Insomnia usually gets better by changing your sleeping habits. ### Do - only go to bed when you're sleepy - wake up and get out of bed at the same time every day - relax at least 1 hour before bed – for example, take a bath or read a book - make sure your bedroom is dark and quiet – use curtains, blinds, an eye mask or ear plugs if needed - exercise regularly during the day - make sure your mattress, pillows and covers are comfortable ### Don’t - do not smoke or drink alcohol, tea or coffee at least 6 hours before going to bed - do not eat a big meal late at night - do not exercise at least 4 hours before bed - do not watch television or use devices, like smartphones, right before going to bed, because the blue light makes you more awake - do not nap during the day - do not drive when you feel sleepy - do not sleep in after a bad night's sleep – stick to your regular sleeping hours instead ### How a pharmacist can help with insomnia You can buy tablets or liquids (sometimes called sleeping aids) from a pharmacy that may help you sleep better. Some contain natural ingredients such as valerian or lavender, while others contain an [antihistamine](https://www.nhs.uk/medicines/antihistamines/). They cannot cure insomnia but may help you sleep better for 1 to 2 weeks. They should not be taken for any longer. Some of these products can have side effects, for instance, they may make you drowsy. This could make it difficult for you to do certain things like drive. Check with your doctor before taking anything for your sleep problems. ## Non-urgent advice: See a GP if: - changing your sleeping habits has not helped your insomnia - you've had trouble sleeping for months - your insomnia is affecting your daily life in a way that makes it hard for you to cope ## Treatment from a GP for insomnia A GP will try to find out what's causing your insomnia so you get the right treatment. Sometimes you'll be offered [cognitive behavioural therapy (CBT)](https://www.nhs.uk/tests-and-treatments/cognitive-behavioural-therapy-cbt/). This may be face-to-face with a therapist, or through an online self-help programme. This can help you change the thoughts and behaviours that keep you from sleeping. You may be referred to a sleep clinic if you have symptoms of another sleep disorder such as sleep apnoea. GPs now rarely prescribe sleeping pills to treat insomnia. Sleeping pills can have serious side effects and you can become dependent on them. Sleeping pills are only prescribed for a few days, or weeks at the most, if: - your insomnia is very bad - other treatments have not worked Page last reviewed: 19 March 2024 Next review due: 19 March 2027 ## Support links - [Home](https://www.nhs.uk/) - [Health A to Z](https://www.nhs.uk/health-a-to-z/) - [NHS services](https://www.nhs.uk/nhs-services/) - [Healthy living](https://www.nhs.uk/live-well/) - [Mental health](https://www.nhs.uk/mental-health/) - [Care and support](https://www.nhs.uk/social-care-and-support/) - [COVID-19](https://www.nhs.uk/conditions/covid-19/) - [NHS App](https://www.nhs.uk/nhs-app/) - [Find my NHS number](https://www.nhs.uk/nhs-services/online-services/find-nhs-number/) - [View your GP health record](https://www.nhs.uk/nhs-services/gps/view-your-gp-health-record/) - [View your test results](https://www.nhs.uk/nhs-services/online-services/view-your-test-results/) - [About the NHS](https://www.nhs.uk/using-the-nhs/about-the-nhs/) - [Healthcare abroad](https://www.nhs.uk/using-the-nhs/healthcare-abroad/) - [Other NHS websites](https://www.nhs.uk/nhs-sites/) - [Profile editor login](https://www.nhs.uk/our-policies/profile-editor-login/) - [About us](https://www.nhs.uk/about-us/) - [Report an issue with the NHS website](https://www.nhs.uk/report-an-issue-with-the-nhs-website) - [Accessibility statement](https://www.nhs.uk/accessibility-statement/) - [Our policies](https://www.nhs.uk/our-policies/) - [Cookies](https://www.nhs.uk/our-policies/choose-your-cookie-settings/) © Crown copyright
Readable Markdown
## Symptoms of insomnia You have insomnia if you regularly: - find it hard to go to sleep - wake up several times during the night - lie awake at night - wake up early and cannot go back to sleep - still feel tired after waking up - find it hard to nap during the day even though you're tired - feel tired and irritable during the day - find it difficult to concentrate during the day because you're tired If you have insomnia for a short time (less than 3 months) it's called short-term insomnia. Insomnia that lasts 3 months or longer is called long-term insomnia. ## How much sleep you need Everyone needs different amounts of sleep. On average: - adults need 7 to 9 hours - children need 9 to 13 hours - toddlers and babies need 12 to 17 hours You probably do not get enough sleep if you're constantly tired during the day. ## What causes insomnia The most common causes of insomnia are: - stress, anxiety or depression - noise - a room that's too hot or cold - uncomfortable beds - alcohol, caffeine or nicotine - illegal drugs like cocaine or ecstasy - jet lag - shift work Conditions and other things that can cause insomnia ### Conditions and medicines that can cause insomnia: - mental health conditions, such as schizophrenia or bipolar disorder - Alzheimer's disease or Parkinson's disease - [restless legs syndrome](https://www.nhs.uk/conditions/restless-legs-syndrome/) - [overactive thyroid](https://www.nhs.uk/conditions/overactive-thyroid-hyperthyroidism/) - [menopause](https://www.nhs.uk/conditions/menopause/) Many medicines can also cause insomnia. ### Things that keep you from getting a good night's sleep: - long-term pain - sleepwalking - snoring or interrupted breathing while sleeping ([sleep apnoea](https://www.nhs.uk/conditions/sleep-apnoea/)) - suddenly falling asleep anywhere ([narcolepsy](https://www.nhs.uk/conditions/narcolepsy/)) - [nightmares or night terrors](https://www.nhs.uk/conditions/night-terrors/) (particularly in children) ## How you can treat insomnia yourself Insomnia usually gets better by changing your sleeping habits. ### Do - only go to bed when you're sleepy - wake up and get out of bed at the same time every day - relax at least 1 hour before bed – for example, take a bath or read a book - make sure your bedroom is dark and quiet – use curtains, blinds, an eye mask or ear plugs if needed - exercise regularly during the day - make sure your mattress, pillows and covers are comfortable ### Don’t - do not smoke or drink alcohol, tea or coffee at least 6 hours before going to bed - do not eat a big meal late at night - do not exercise at least 4 hours before bed - do not watch television or use devices, like smartphones, right before going to bed, because the blue light makes you more awake - do not nap during the day - do not drive when you feel sleepy - do not sleep in after a bad night's sleep – stick to your regular sleeping hours instead ### How a pharmacist can help with insomnia You can buy tablets or liquids (sometimes called sleeping aids) from a pharmacy that may help you sleep better. Some contain natural ingredients such as valerian or lavender, while others contain an [antihistamine](https://www.nhs.uk/medicines/antihistamines/). They cannot cure insomnia but may help you sleep better for 1 to 2 weeks. They should not be taken for any longer. Some of these products can have side effects, for instance, they may make you drowsy. This could make it difficult for you to do certain things like drive. Check with your doctor before taking anything for your sleep problems. ## Non-urgent advice: See a GP if: - changing your sleeping habits has not helped your insomnia - you've had trouble sleeping for months - your insomnia is affecting your daily life in a way that makes it hard for you to cope ## Treatment from a GP for insomnia A GP will try to find out what's causing your insomnia so you get the right treatment. Sometimes you'll be offered [cognitive behavioural therapy (CBT)](https://www.nhs.uk/tests-and-treatments/cognitive-behavioural-therapy-cbt/). This may be face-to-face with a therapist, or through an online self-help programme. This can help you change the thoughts and behaviours that keep you from sleeping. You may be referred to a sleep clinic if you have symptoms of another sleep disorder such as sleep apnoea. GPs now rarely prescribe sleeping pills to treat insomnia. Sleeping pills can have serious side effects and you can become dependent on them. Sleeping pills are only prescribed for a few days, or weeks at the most, if: - your insomnia is very bad - other treatments have not worked Page last reviewed: 19 March 2024 Next review due: 19 March 2027
Shard75 (laksa)
Root Hash11359509702434384875
Unparsed URLuk,nhs,www!/conditions/insomnia/ s443