What are ICD-10 O codes?
Chapter 15 of ICD-10-CM — Pregnancy, Childbirth and the Puerperium — contains the codes in the range O00–O9A. These are the "O codes," and they're used on the mother's record for any condition that occurs during pregnancy, childbirth or the puerperium (the six weeks following delivery), or that complicates the pregnancy.
O codes are different from most ICD-10-CM codes in three important ways:
- They take sequencing priority. Chapter 15 codes are listed before codes from other chapters.
- They often require a trimester character that reflects the patient's gestational age on the date of the encounter.
- Some require a seventh character to identify the fetus in multiple gestations.
They're also used only on the maternal record — never on the newborn's record.
O code categories at a glance
| Range | Block |
|---|---|
O00–O08 |
Pregnancy with abortive outcome (ectopic, molar, miscarriage, termination) |
O09 |
Supervision of high-risk pregnancy |
O10–O16 |
Edema, proteinuria and hypertensive disorders (including pre-eclampsia) |
O20–O29 |
Other maternal disorders predominantly related to pregnancy (including gestational diabetes O24.4-) |
O30–O48 |
Maternal care related to the fetus and amniotic cavity and possible delivery problems (multiples, malpresentation, previous cesarean O34.21-, fetal problems, post-term O48) |
O60–O77 |
Complications of labor and delivery |
O80–O82 |
Encounter for delivery (O80 uncomplicated vaginal, O82 cesarean without indication) |
O85–O92 |
Complications predominantly related to the puerperium |
O94–O9A |
Other obstetric conditions, including O99.- other maternal diseases complicating pregnancy |
Sequencing rules: the core principles
1. Chapter 15 codes come first
When a patient is pregnant and the condition affects or is affected by the pregnancy, the O code is sequenced before codes from other chapters. Codes from other chapters can follow to add specificity — for example, O99.21- (obesity complicating pregnancy) followed by the appropriate E66.- code to specify the type of obesity.
2. Assume the condition affects the pregnancy — unless documented otherwise
If a pregnant patient is seen for a condition, it's coded as complicating the pregnancy unless the provider explicitly documents that it is not affecting the pregnancy. In that case, the condition is sequenced first and Z33.1 (pregnant state, incidental) is added.
3. Routine prenatal visits: Z34 vs O09
- Normal pregnancy, no complications:
Z34.0-(first pregnancy) orZ34.8-(other normal pregnancy) as the first-listed code. Not used with any O code. - High-risk pregnancy:
O09.-supervision codes first-listed for routine prenatal visits — for exampleO09.51-(elderly primigravida) orO09.81-(pregnancy resulting from assisted reproductive technology). Other O codes may be added as secondary codes.
4. Prenatal visits for complications
When a visit is for a complication, that complication is the first-listed diagnosis. If more than one complication is addressed, the one that's the main reason for the visit goes first; when they're equal, any may be sequenced first.
5. Delivery encounters
The principal diagnosis is the main circumstance or complication of the delivery. For a cesarean delivery, it's the condition responsible for the cesarean — unless the reason for admission was unrelated to the condition that led to the cesarean.
Multiple O codes: a worked example
A patient at 32 weeks with gestational diabetes controlled by insulin and mild pre-eclampsia is seen primarily for blood pressure management. Both conditions are addressed.
O14.03— mild to moderate pre-eclampsia, third trimester (main reason for visit)O24.414— gestational diabetes mellitus in pregnancy, insulin controlledZ3A.32— 32 weeks gestation
Note that Z79.4 (long-term use of insulin) is not added with gestational diabetes codes from subcategory O24.4- — the insulin control is already captured in the O code. If the same patient's next visit focuses on adjusting her insulin, the gestational diabetes code moves to the first position.
Trimester characters
Most O codes end with a character for trimester, based on gestational age on the date of the encounter:
- First trimester: less than 14 weeks 0 days
- Second trimester: 14 weeks 0 days to less than 28 weeks 0 days
- Third trimester: 28 weeks 0 days until delivery
Some codes also include an "in childbirth" or "in the puerperium" option. For an inpatient admission that spans more than one trimester, the trimester at the time of admission is used. Codes for conditions that only occur in certain trimesters don't offer all options.
Seventh character for fetus identification
In multiple gestations, certain categories — including O31, O32, O33.3–O33.6, O35, O36, O40, O41, O60.1–O60.2, O64 and O69 — require a seventh character to identify which fetus the condition applies to: 1 through 9 for each fetus, or 0 for a single gestation or when the fetus can't be identified.
Required companion Z codes
Z3A.-weeks of gestation — added with Chapter 15 codes on the maternal record to report gestational age. Not used for pregnancies with abortive outcomes (O00–O08), elective termination, or postpartum conditions.Z37.-outcome of delivery — required on every maternal delivery record (for exampleZ37.0, single live birth). Never on the newborn record.Z39.-postpartum encounters —Z39.2for routine postpartum follow-up,Z39.1for care of a lactating mother.Z32.0-pregnancy test —Z32.00unconfirmed,Z32.01positive,Z32.02negative. In the outpatient setting, don't code a "rule out pregnancy" as confirmed; code the result or the presenting symptoms.
Using O80 correctly
O80 (encounter for full-term uncomplicated delivery) applies only when all of these are true: full-term, single liveborn infant, vaginal delivery, and no complications during the delivery admission. It's always the principal diagnosis, is paired only with Z37.0, and can't be used with any other Chapter 15 code. A complication earlier in the pregnancy that has resolved by the delivery admission doesn't prevent its use.
Common O-code errors on OB claims
Z34.-combined with O codes- Missing
Z37on the delivery claim - Wrong trimester character because the gestational age wasn't checked on the date of service
O80used with other O codes, or for a cesarean delivery- Missing seventh character for multiple gestations
- Previous cesarean coded without the scar type (
O34.211low transverse,O34.212vertical,O34.218other) - Pre-existing conditions coded with gestational codes (for example
O13gestational hypertension for a patient with chronic hypertension, which belongs inO10)
Need a second set of eyes?
Diagnosis errors are a frequent cause of obstetric denials and rejections. Our global maternity billing service checks every OB claim's diagnosis set before submission, and our coding audits can review your current O-code usage. Send us a WhatsApp message for a free review.
This guide summarizes the ICD-10-CM Official Guidelines for Coding and Reporting for Chapter 15. Always confirm against the current year's guidelines, which are updated each October 1.
Frequently asked questions
Do O codes have to be sequenced first?
Yes. Per the ICD-10-CM Official Guidelines, Chapter 15 codes have sequencing priority over codes from other chapters. Codes from other chapters may be added to give more detail about a condition, but the O code is listed first.
How do you sequence multiple O codes?
For a prenatal outpatient visit for complications, the complication that is the main reason for the visit is sequenced first, followed by the other O codes that apply. For a delivery, the principal diagnosis is the main circumstance or complication of the delivery — for a cesarean, generally the condition responsible for the cesarean.
Can Z34 be used with O codes?
No. Z34.- (encounter for supervision of normal pregnancy) is for routine prenatal visits with no complications and is not used together with Chapter 15 codes. High-risk supervision uses O09.- instead, which can be combined with other O codes.
What is the ICD-10 code for a routine prenatal visit?
For a normal pregnancy with no complications, use Z34.0- for a first pregnancy or Z34.8- for other normal pregnancies, with the final character for the trimester. If the pregnancy is high risk, use the appropriate O09.- supervision code instead.
When is O80 used?
O80 is for a full-term, uncomplicated vaginal delivery of a single healthy liveborn infant with no complications antepartum, during delivery or postpartum at the time of the delivery admission. It must be the principal diagnosis, is used only with outcome code Z37.0, and is not combined with other Chapter 15 codes.
What is Z33.1 used for?
Z33.1 (pregnant state, incidental) is used when a pregnant patient is seen for a condition that the provider documents is not affecting the pregnancy. The condition being treated is sequenced first, with Z33.1 as an additional code.