Skip to content

Bipolar vs Borderline Personality Disorder: Differences and Coding

How to differentiate bipolar disorder (F31 codes) from borderline personality disorder (F60.3), including mood timescale, triggers, coding each, and when both are present.

Last updated: 7 min read

Bipolar disorder (the F31 codes) involves sustained mood episodes lasting days to weeks; borderline personality disorder (F60.3) involves rapid, reactive affective instability and a pervasive pattern of unstable relationships and self-image. The distinction drives both treatment and the code.


Quick Comparison

Feature Bipolar disorder (F31.x) Borderline PD (F60.3)
Mood shift timescale Sustained episodes lasting days to weeks Rapid shifts within hours
Trigger Often unprovoked; not typically interpersonal Reactive to interpersonal events (rejection, abandonment)
Core pattern Distinct mood episodes (mania/hypomania, depression) Pervasive instability of relationships, self-image, and affect
ICD-10 code F31.x (by current episode) F60.3

The distinction in one line: if the mood change is a sustained episode measured in days to weeks, think bipolar (F31.x); if it shifts within hours in response to interpersonal events, think borderline (F60.3).


Key Differences

Bipolar disorder and borderline personality disorder are frequently confused because both feature mood shifts and impulsivity. The differences that matter clinically and for coding are the duration of mood states and what drives them.

  • Episode duration. In bipolar disorder, mood states are episodic and sustained. A manic or hypomanic episode and a depressive episode each persist for days to weeks and represent a distinct change from the person's usual functioning. In borderline personality disorder, affective instability shifts within hours, and mood can move between anger, anxiety, and dysphoria over the course of a single day.
  • Reactivity and trigger. Borderline mood shifts are typically reactive to interpersonal events, most often perceived rejection or abandonment. Bipolar episodes are more often unprovoked and are not reliably tied to interpersonal triggers.
  • Identity and abandonment features. Borderline personality disorder carries a pervasive pattern that is present between mood shifts: unstable and intense relationships, identity disturbance, chronic feelings of emptiness, and frantic efforts to avoid abandonment. These enduring interpersonal and self-image features are the hallmark of the personality disorder and are not part of the bipolar picture.

Why it matters: the two conditions call for different treatment emphases, so the differential is not just a coding formality. Sustained episodes point toward mood-disorder management; rapid, reactive instability with interpersonal features points toward personality-disorder-focused care.


How to Code Each

Bipolar disorder is coded in the F31 family. Bipolar I is coded by the current episode (manic, hypomanic, depressed, mixed) and, for many codes, a fifth character grading severity or noting psychotic features. Bipolar II, which involves hypomanic and depressive episodes without a full manic episode, has its own single code, F31.81.

Code Description Notes
F31.81 Bipolar II disorder Hypomanic and depressive episodes; no full mania
F31.1x Bipolar I, current episode manic without psychotic features Fifth character grades severity
F31.2 Bipolar I, current episode manic with psychotic features Use when psychosis is present
F31.3x Bipolar I, current episode depressed, mild or moderate Fifth character grades severity
F31.9 Bipolar disorder, unspecified Temporary placeholder only

Borderline personality disorder is a single code, F60.3, listed in ICD-10-CM as emotionally unstable personality disorder, borderline type. Unlike bipolar disorder, it is not coded by episode; the diagnosis reflects an enduring pattern.

Scope and documentation: a formal diagnosis of a personality disorder should be made within your scope of practice and well documented. F60.3 requires evidence of a pervasive, longstanding pattern of instability across relationships, self-image, and affect, not a single episode or crisis. Avoid assigning it provisionally on the basis of one presentation.


When Both Are Present

Bipolar disorder and borderline personality disorder can co-occur, and one diagnosis does not rule out the other. There is no combined code. When your assessment independently supports both, code both, for example an F31 code (such as F31.81 for Bipolar II) plus F60.3.

  • List the primary focus of treatment first.
  • Document the features supporting each diagnosis separately, so the pairing is not read as diagnostic uncertainty.
  • Be careful not to code both simply because the presentation is complex; each code needs its own supporting evidence (sustained episodes for bipolar, an enduring interpersonal and self-image pattern for borderline).

Documentation

Strong documentation for this differential should make the distinguishing features explicit:

Duration and course of mood states: note whether mood changes are sustained episodes (days to weeks) or shift within hours, since this is the primary discriminator.

Triggers: record whether mood shifts are reactive to interpersonal events (pointing toward borderline) or largely unprovoked (more consistent with bipolar).

Enduring pattern: for F60.3, document the pervasive, longstanding features (unstable relationships, identity disturbance, fear of abandonment, chronic emptiness) that persist between mood shifts.

Episode specifics: for F31 codes, document the current episode type and severity so the fourth and fifth characters are supported.

Differential reasoning: a brief note on why the presentation fits one diagnosis over the other, or why both are coded when they co-occur.


Frequently Asked Questions

What is the ICD-10 code for borderline personality disorder?
Borderline personality disorder is F60.3 in ICD-10-CM, listed as emotionally unstable personality disorder, borderline type. It is a single code for the personality disorder itself. Because it is a personality disorder diagnosis, it should be made within your scope of practice and supported by documentation of a pervasive, longstanding pattern rather than a single episode.
What is the ICD-10 code for bipolar disorder?
Bipolar disorder sits in the F31 family. Bipolar I is coded by the current episode, for example F31.11 to F31.13 for a manic episode with psychotic features graded by severity, F31.2 for a manic episode with psychotic features, or F31.3x for a depressive episode. Bipolar II is F31.81. Use F31.9 (bipolar disorder, unspecified) only as a temporary placeholder until the episode type is characterized.
How do you tell bipolar from borderline?
The clearest discriminator is the timescale and trigger of mood change. Bipolar mood episodes are sustained, lasting days to weeks, and are not typically driven by interpersonal events. Borderline affective instability shifts within hours and is usually reactive to interpersonal triggers such as perceived rejection or abandonment. Borderline also carries a pervasive pattern of unstable relationships, identity disturbance, and fear of abandonment that is present between mood shifts.
Can someone have both bipolar disorder and borderline personality disorder?
Yes. The two conditions can co-occur, and neither excludes the other. When both are independently supported by your assessment, code both (an F31 code plus F60.3) and identify the primary focus of treatment. Document the features supporting each diagnosis so the pairing stands on its own.
Is borderline personality disorder the same as bipolar in ICD-10?
No. They are separate diagnoses in different chapters of ICD-10-CM. Bipolar disorder is a mood disorder in the F30 to F39 range (F31 family). Borderline personality disorder is a personality disorder at F60.3. Coding one when the other is meant is a specificity error that can misdirect treatment.

The bipolar versus borderline distinction comes down to timescale and trigger: sustained, often unprovoked mood episodes point to the F31 codes, while rapid, interpersonally reactive instability with an enduring pattern of relationship and identity disturbance points to F60.3. When both are genuinely present, code both and document the evidence for each.

Related Resources