ClickCease

Primary Insomnia F51.01 ICD-10 Code Documentation Guide

The ICD-10 code F51.01 identifies primary insomnia, characterized by persistent sleep difficulties not caused by other conditions, guiding accurate diagnosis, treatment, and documentation for clinicians.

F51.01 Supports Documentation for Primary Insomnia

F51.01 is the ICD-10-CM code for primary insomnia. In behavioral health documentation, this code may appear when a clinician has determined that the client’s sleep difficulty is the focus of care and is not better explained by another medical condition, substance use, medication effect, or separate psychiatric diagnosis.

This page is designed as documentation support, not diagnostic instruction. Diagnosis selection remains the clinician’s responsibility. AutoNotes does not assign diagnoses, determine medical necessity, or replace clinical judgment. It can help organize the details a clinician provides into structured, editable progress note drafts that the clinician reviews and finalizes.

For therapists, counselors, psychologists, social workers, and psychiatric providers, the documentation task is usually practical: describe the sleep complaint clearly, connect it to functioning, document interventions, and show how treatment relates to the client’s goals. A code alone does not do that work. The note has to carry the clinical reasoning.

How F51.01 Fits Into Behavioral Health Documentation

Primary insomnia documentation often appears in intake assessments, diagnostic updates, treatment plans, and progress notes. The presenting concern may sound simple: “I cannot sleep.” The clinical note needs more detail.

A useful record describes the pattern of sleep disturbance. For example, one client may take two hours to fall asleep most nights. Another may fall asleep quickly but wake at 3 a.m. and stay awake until morning. A third may sleep in short blocks and feel unrefreshed during the day. Each pattern affects treatment planning differently.

Clinicians may also need to document why the sleep problem is being addressed as a primary clinical focus. If insomnia occurs only during a manic episode, acute grief reaction, substance withdrawal, medication change, or untreated medical issue, another diagnostic or referral pathway may be more appropriate. The note should reflect the clinician’s assessment, limits of available information, and any referral or coordination steps.

Sleep Details That Strengthen the Clinical Record

Progress notes for primary insomnia should do more than state that the client “has poor sleep.” Specific sleep data helps show severity, track change, and guide treatment. The amount of detail may vary by setting, payer requirements, and clinical need, but the following items are often useful:

  • Sleep onset: how long the client typically takes to fall asleep.
  • Sleep maintenance: number, length, and timing of awakenings.
  • Early waking: whether the client wakes earlier than intended.
  • Total sleep time: estimated hours slept per night.

Functional impact matters as much as symptom description. A client who sleeps five hours but functions well may require different documentation than a client who sleeps five hours and reports impaired concentration, missed work, irritability, low motivation, or increased conflict at home.

When available, include the client’s baseline. For example: “Client reports averaging 4–5 hours of sleep per night over the past six weeks, compared with prior baseline of 7 hours.” That kind of sentence gives the next progress note something concrete to compare against.

Clinical Context to Consider Before Using F51.01

F51.01 may be considered when the clinician determines that primary insomnia is the appropriate diagnosis. The documentation should support that clinical choice without overstating certainty. Behavioral health providers often rely on client report, clinical interview, screening tools, collateral information when appropriate, and coordination with medical providers.

Relevant context may include:

  • Medical factors such as pain, breathing issues during sleep, menopause symptoms, or neurological concerns.
  • Medication or substance factors, including caffeine, alcohol, stimulants, cannabis, or recent medication changes.
  • Mental health symptoms such as depression, anxiety, trauma symptoms, hypomania, or acute stress.
  • Environmental factors such as shift work, caregiving demands, noise, housing instability, or unsafe sleeping conditions.

The goal is not to turn every therapy note into a sleep medicine evaluation. The goal is to document the clinical reasoning relevant to the service being provided. If a client reports loud snoring, gasping, restless legs, or sudden unexplained daytime sleep episodes, the note may need to reflect referral to a primary care provider or sleep specialist.

Related ICD-10-CM Codes Clinicians May Review

Clinicians should verify codes in their current ICD-10-CM reference, EHR, billing system, or payer guidance. Code descriptions can change, and payer requirements may differ. Commonly reviewed insomnia-related codes include:

  • F51.01 — Primary insomnia.
  • F51.02 — Adjustment insomnia.
  • F51.03 — Paradoxical insomnia.
  • F51.04 — Psychophysiologic insomnia.

Other codes may be considered when insomnia is associated with another mental disorder, another medical condition, substance use, or an unspecified sleep complaint. The selected code should match the clinician’s assessment and the documentation in the record.

For therapy documentation, the most common problem is not the absence of a code. It is a mismatch between the code and the narrative. If the diagnosis is primary insomnia, the note should not describe insomnia only as a symptom of panic attacks, trauma nightmares, medication withdrawal, or an untreated medical concern without addressing that relationship.

Progress Note Elements for F51.01

A strong progress note connects the sleep problem, intervention, client response, and plan. SOAP, DAP, GIRP, and BIRP formats can all work if the note includes enough clinical detail.

For a SOAP note, documentation may include:

  • Subjective: client report of sleep onset, awakenings, fatigue, distress, and functional impact.
  • Objective: observable fatigue, participation level, affect, attention, or sleep diary data.
  • Assessment: clinical interpretation of symptoms, progress, barriers, and risk considerations.
  • Plan: next interventions, homework, monitoring, referrals, or treatment plan updates.

Therapy notes should also reflect the actual work of the session. For insomnia, this may include psychoeducation about sleep drive, stimulus control, relaxation training, cognitive restructuring of sleep-related worry, sleep scheduling, review of sleep diary patterns, or coordination with a prescriber or medical provider.

Example Progress Note for Primary Insomnia

The example below is for documentation style only. It is not a diagnostic template, and it should be adapted to the client, setting, payer requirements, and clinician’s scope of practice.

Diagnosis: F51.01 Primary insomnia

Subjective: Client reports continued difficulty falling asleep, taking approximately 90 minutes to fall asleep on five nights this week. Client estimates total sleep time of 4.5–5 hours per night and reports daytime fatigue, reduced concentration at work, and irritability with partner. Client denies recent medication changes and reports reducing evening caffeine since last session.

Objective: Client appeared tired but engaged. Affect congruent with reported frustration. Client brought completed sleep diary for seven days, showing inconsistent bedtime and extended phone use in bed on most nights.

Assessment: Sleep onset difficulty remains clinically significant and continues to affect daytime functioning. Client demonstrated increased awareness of behavioral patterns that may contribute to conditioned wakefulness in bed. No acute safety concerns reported during session.

Plan: Continue CBT-I informed interventions within clinician scope. Client will practice stimulus control by getting out of bed after prolonged wakefulness and will track sleep onset time, wake time, and phone use. Next session will review sleep diary and address sleep-related worry thoughts.

Treatment Planning Considerations for Primary Insomnia

Treatment plans for primary insomnia should be measurable enough to support progress review. “Improve sleep” is too broad for most clinical records. A stronger goal identifies the target symptom and the client’s functional need.

Example treatment goal:

Client will improve sleep consistency and reduce insomnia-related daytime impairment, as shown by sleep diary review and self-report over the next 8–12 weeks.

Possible objectives may include:

  • Client will complete a sleep diary at least five days per week.
  • Client will identify three sleep-related thoughts that increase arousal at bedtime.
  • Client will practice a relaxation or wind-down routine on four nights per week.
  • Client will reduce time spent awake in bed by using agreed stimulus control strategies.

Interventions should match the clinician’s training and scope. Many behavioral health providers use CBT-I informed strategies, sleep hygiene education, anxiety management, mindfulness skills, or referral coordination. If the clinician is not trained in CBT-I, the note can state the specific behavioral strategies used rather than implying delivery of a full protocol.

Common Documentation Gaps With Insomnia Notes

Insomnia notes often become thin because the presenting problem repeats week after week. “Client still not sleeping” does not show treatment activity or progress. Even when symptoms are unchanged, the note can document what was assessed, what intervention was provided, and what barrier was identified.

Common gaps include vague severity, missing functional impact, unclear connection to the treatment plan, and limited follow-up on prior recommendations. Another common issue is failing to document medical or psychiatric context. If the clinician has considered relevant factors, the record should reflect that work.

A better note might state: “Client continues to report sleep onset delay of 1–2 hours. Session focused on identifying worry thoughts that occur after getting into bed and practicing scheduled worry time earlier in the evening. Client reported willingness to test strategy for one week and track results.”

How AutoNotes Supports Clinician-Reviewed Insomnia Documentation

AutoNotes helps behavioral health professionals create structured, editable drafts for progress notes, intake documentation, treatment plans, and related clinical services. For a client with primary insomnia, a clinician can enter session details such as sleep diary findings, interventions used, client response, functional impact, and next steps. AutoNotes then helps organize that information into a note draft.

The clinician remains responsible for reviewing the draft, editing clinical language, confirming the diagnosis, and finalizing the record. This matters for insomnia documentation because small wording differences can change the clinical meaning. For example, “insomnia due to work stress,” “sleep difficulty during depressive episode,” and “primary insomnia” may point to different diagnostic considerations.

Compared with a blank note field or a generic AI writing tool, AutoNotes is built around behavioral health documentation workflows. Templates can support common formats such as SOAP or DAP notes, while keeping the provider in control of the final note. That can reduce after-hours writing time and improve consistency across sessions.

Use F51.01 Documentation as a Clinical Support Tool

F51.01 documentation should tell a clear clinical story: what the client reports, how sleep difficulty affects functioning, what the clinician assessed, what intervention was provided, how the client responded, and what happens next. The diagnosis code is only one part of that record.

If insomnia notes are taking too long or becoming inconsistent across sessions, AutoNotes can help create a more organized starting point. You provide the clinical details. AutoNotes helps turn them into an editable draft that you review and finalize.

Start your free trial to try AutoNotes with therapy progress notes, treatment plans, intake documentation, and other behavioral health workflows.

Finish notes in
minutes, not hours.

AutoNotes makes documentation fast, easy, and stress-free — so you can focus on what matters, your clients.

No credit card required

See the Magic in Action

Auto-generate notes in seconds

SOAP Note Snippet

Ready to Spend Less Time on Documentation?

Generate progress notes, treatment plans, intake assessments, and more in seconds with AI built for behavioral health clinicians.