Updated 2026-09-07

Building Code Glossary

Stack: Building Code Definition

How the IRC 2009, IPC 2009 define stack, where the wording differs, and which chapters depend on the term.

On this page

Last updated September 7, 2026 · Definitions quoted from the 2009 International Codes as transcribed in this site's building-codes collection, with the source chapter linked for each quotation. Usage counts are computed over the chapters hosted here, one copy per code. The [ICC code library](https://codes.iccsafe.org/codes) publishes the current model text and the [ICC adoption maps](https://www.iccsafe.org/advocacy/code-adoption-maps/) show which edition a jurisdiction has adopted; those sources control.

Direct answer

Stack is a defined term in the International Residential Code (IRC) 2009, in Definitions. The code's own words are: “Any main vertical DWV line, including offsets, that extends one or more stories as directly as possible to its vent terminal.” The IPC 2009 words it differently, in Definitions: “A general term for any vertical line of soil, waste, vent or inside conductor piping that extends through at least one story with or without offsets.” The IPC 2009 defines the same term with different wording, so the controlling text depends on which code governs the question in front of you — the comparison below sets the versions side by side. The term is used in 28 chapters of this corpus, most often in Vents (IPC 2009), Sanitary Drainage (IPC 2009), Vents (IRC 2009). These pages transcribe the 2009 model text; verify the definition against the edition and amendments your authority having jurisdiction has adopted.

Content and cited inputs reviewed by Scott Barrington, Harth founder and architectural technology specialist · Published 2026-09-07 · Updated 2026-09-07.

What does this term mean?

Stack — IRC 2009, Definitions:

Any main vertical DWV line, including offsets, that extends one or more stories as directly as possible to its vent terminal.

Labeled code-term definition diagram: Stack: Building Code Definition
How the IRC 2009, IPC 2009 define stack, where the wording differs, and which chapters depend on the term.

What must be verified before using this guidance?

Two of the I-Codes in this corpus define Stack, and the wording is not identical — read the version that governs your question.

CodeWhere it is definedDefinition
IRC 2009DefinitionsAny main vertical DWV line, including offsets, that extends one or more stories as directly as possible to its vent terminal.
IPC 2009DefinitionsA general term for any vertical line of soil, waste, vent or inside conductor piping that extends through at least one story with or without offsets.

Where stack is used in the code

The term appears in 28 chapters of the 2009 I-Codes hosted here. The chapters that lean on it hardest are the ones to read next.

ChapterCodeMentions
VentsIPC 2009114
Sanitary DrainageIPC 2009105
VentsIRC 200947
Sanitary DrainageIRC 200939
DefinitionsIPC 200920
DefinitionsIRC 200917
Flammable and Combustible LiquidsIFC 200916
MasonryIBC 200915
Wall ConstructionIRC 200911
Fire Protection SystemsIBC 20098
Branch Circuit and Feeder RequirementsIRC 20097
Fire Protection SystemsIFC 20096

16 further chapters mention the term.

The term in use

How the code actually writes about stack, quoted from the 2009 text hosted here:

A vent stack shall be required for every drainage stack that has five branch intervals or more.

IPC 2009 §903.2

Horizontal branches shall connect to the bases of stacks at a point located not less than 10 times the diameter of the drainage stack downstream from the stack.

IPC 2009 §704.3

This chapter shall control the minimum diameter of vent pipes, circuit vents, branch vents and individual vents, and the size and length of vents and various aspects of vent stacks and stack vents.

IRC 2009 §P3101.1

The terms stack is built out of

The definition above leans on 4 other defined terms. Each carries its own code definition, and a local amendment to any of them changes what stack covers:

  • Conductor — IPC 2009: A pipe inside the building that conveys storm water from the roof to a storm or combined bUilding drain.
  • Piping — IRC 2009: Where used in this code, “piping” refers to either pipe or tubing, or both.
  • Story — IBC 2009: That portion ofa building included between the upper surface of a floor and the upper surface of the floor or roof next above (also see "Basement," "Mezzanine" and Section 502.1).
  • Waste — IRC 2009: Liquid-borne waste that is free of fecal matter.

Stack: what to open, and in what order

Every row is a document this term depends on. The ICC code library and the ICC adoption maps cover the middle rows.

CheckWhereConfirmed
Read the definition in the adopted IRCDefinitions
Read the definition in the adopted IPCDefinitions
Re-check the requirement that uses itVents (IPC 2009)
Re-check the requirement that uses itSanitary Drainage (IPC 2009)
Re-check the requirement that uses itVents (IRC 2009)
Re-check the requirement that uses itSanitary Drainage (IRC 2009)
Confirm the dependent definitionConductor
Confirm the dependent definitionPiping
Confirm the dependent definitionStory
Local amendment to any of the aboveJurisdiction's amendment list

A research aid, not a code determination. The authority having jurisdiction decides which edition and which amendments apply.

Sources and method

Definitions quoted from the 2009 International Codes as transcribed in this site's building-codes collection, with the source chapter linked for each quotation. Usage counts are computed over the chapters hosted here, one copy per code. The ICC code library publishes the current model text and the ICC adoption maps show which edition a jurisdiction has adopted; those sources control.

Frequently asked questions

What is the code definition of stack?

The International Residential Code (IRC) 2009 defines it in Definitions as: “Any main vertical DWV line, including offsets, that extends one or more stories as directly as possible to its vent terminal.” The 2009 model text is reproduced here; the definition that binds your project is the one in the edition your jurisdiction has adopted, as amended locally.

Which parts of the code depend on stack?

In this corpus the term is used across 28 chapters, led by Vents in the IPC 2009. Those are the sections whose scope moves if the definition is amended locally, so read them together with Chapter 2 rather than on their own.

What is a stack in a building?

In the 2009 I-Codes hosted here it is a defined term rather than a description. The IRC 2009 states, in Definitions: “Any main vertical DWV line, including offsets, that extends one or more stories as directly as possible to its vent terminal.” It is defined in IRC 2009, IPC 2009. It is not the same as Building, which the IBC 2009 defines separately as “Any structure used or intended for supporting or sheltering any use or occupancy.” Because it is a defined term, whatever the adopted edition says it means is what every section using it means — so check Chapter 2 of that edition and any local amendment before relying on this wording.

What is a stack in code?

In the 2009 I-Codes hosted here it is a defined term rather than a description. The IRC 2009 states, in Definitions: “Any main vertical DWV line, including offsets, that extends one or more stories as directly as possible to its vent terminal.” It is defined in IRC 2009, IPC 2009. Because it is a defined term, whatever the adopted edition says it means is what every section using it means — so check Chapter 2 of that edition and any local amendment before relying on this wording.

The AI-powered workspacefor architects.