HomeAnswersInternal Medicineinsomnia

I have insomnia. Can cognitive behavioral therapy help?

This Premium Q&A, reviewed and published, features a real conversation between an iCliniq user and a physician.

Patient's Query

Hello doctor,

I am 42 and have had trouble sleeping for nearly six months. Even after going to bed early, I stay awake for hours and wake up tired.

I had my thyroid and vitamin D checked, and both are in normal range. Sometimes I take Melatonin 3 mg, but it does not always help.

My concerns are:

  1. Could caffeine or phone screen before bed be worsening it?

  2. Would cognitive behavioral therapy for insomnia (CBT-I) be better than sleeping pills?

  3. Also, how long is it safe to take mild sleep tablets without dependency?

  4. I also snore lightly. Should I get a sleep study done to check apnea?

Kindly suggest.

Answered by Dr. Ashraf Ghani

Education:

MD

Professional Bio:

Dr. Ashraf Ghani is a dedicated general medicine physician committed to providing comprehensive and evidence-based healthcare for adult patients. He has experience in diagnosing and managing a wide range of acute and chronic medical conditions, including diabetes, hypertension, infections, respiratory illnesses, and lifestyle-related disorders. Dr. Ashraf Ghani focuses on accurate diagnosis, preventive care, and personalized treatment plans tailored to each patient's needs. Known for his compassionate and patient-centered approach, Dr. Ashraf Ghani strives to help patients achieve better health through clear communication and quality medical care.  

This doctor is not available for online consultations on the platform anymore.

Hello,

Welcome to icliniq.com.

I understand your concern.

I am really sorry to hear how much your sleep difficulties have been affecting you. Six months of poor sleep can leave you feeling exhausted and frustrated, even when you are doing your best to maintain a healthy routine.

Since your thyroid and vitamin D levels are normal, the problem may be related to lifestyle habits, stress, or an underlying sleep disorder.

Caffeine, especially if consumed after midday, can definitely interfere with your ability to fall asleep.

Similarly, exposure to phone or tablet screens before bed suppresses melatonin production and keeps the brain alert, making it harder to drift off.

Reducing screen time an hour before bed, avoiding caffeine in the afternoon, and keeping your bedroom dark and cool can make a big difference.

Cognitive behavioral therapy for insomnia, or CBT-I, is generally considered more effective and safer than sleeping pills for long-term sleep problems. It focuses on changing unhelpful thoughts and habits around sleep and retraining your body’s natural sleep rhythm.

Unlike medications, it does not cause dependency and has lasting benefits. Sleep medicines can be helpful for short periods, such as a few days to a couple of weeks, but long-term use often leads to tolerance and dependence, making it harder to sleep without them.

If your insomnia continues, ask your doctor about starting CBT-I or seeing a sleep specialist trained in behavioral sleep medicine. Since you mentioned light snoring, a sleep study may be a good idea, especially if you ever wake up gasping or feel excessively tired during the day.

Mild sleep apnea can disrupt deep sleep and worsen fatigue and insomnia. Addressing it early can improve sleep quality and overall health.

You are already taking important steps by seeking help, and with a combination of behavioral strategies, lifestyle adjustments, and medical guidance, there is a very good chance your sleep can improve steadily.

I hope this helps.

Thank you.

Medically reviewed by iCliniq medical review team
Published At January 11, 2026
Reviewed At January 11, 2026

Education:

MD

Professional Bio:

Dr. Ashraf Ghani is a dedicated general medicine physician committed to providing comprehensive and evidence-based healthcare for adult patients. He has experience in diagnosing and managing a wide range of acute and chronic medical conditions, including diabetes, hypertension, infections, respiratory illnesses, and lifestyle-related disorders. Dr. Ashraf Ghani focuses on accurate diagnosis, preventive care, and personalized treatment plans tailored to each patient's needs. Known for his compassionate and patient-centered approach, Dr. Ashraf Ghani strives to help patients achieve better health through clear communication and quality medical care.  

This doctor is not available for online consultations on the platform anymore.

Same symptoms don't mean you have the same problem. Consult a doctor now!

2,876Checks completed today
4.7/5User rating
~2 minAverage completion time
Evidence-basedGuideline aligned
Symptom Awareness Builder
Insomnia Management Awareness Builder

Struggling with sleep?

Five quick questions will help you understand your sleep patterns and guide you on whether your situation is typical, worth mentioning to your doctor, or warrants a call today.

This tool provides educational information only and does not diagnose, treat, or replace professional medical advice. Consult a qualified healthcare professional for personalized medical guidance. Medications should be taken after consulting a physician. The dosages will be prescribed by the physician. Do not alter, start, or stop medications without consulting a healthcare professional.

Education:

MD

Professional Bio:

Dr. Ashraf Ghani is a dedicated general medicine physician committed to providing comprehensive and evidence-based healthcare for adult patients. He has experience in diagnosing and managing a wide range of acute and chronic medical conditions, including diabetes, hypertension, infections, respiratory illnesses, and lifestyle-related disorders. Dr. Ashraf Ghani focuses on accurate diagnosis, preventive care, and personalized treatment plans tailored to each patient's needs. Known for his compassionate and patient-centered approach, Dr. Ashraf Ghani strives to help patients achieve better health through clear communication and quality medical care.  

This doctor is not available for online consultations on the platform anymore.

Listen to related tracks in our music library
Comprehensive Second Opinion

Ask your health query to a doctor online

*guaranteed answer within 4 hours

Disclaimer: No content published on this website is intended to be a substitute for professional medical diagnosis, advice or treatment by a trained physician. Seek advice from your physician or other qualified healthcare providers with questions you may have regarding your symptoms and medical condition for a complete medical diagnosis. Do not delay or disregard seeking professional medical advice because of something you have read on this website. Read our Editorial Process to know how we create content for health articles and queries.