# Primary Function: Building Code Definition

> How the IBC 2009 define primary function, where the wording differs, and which chapters depend on the term.

- Canonical: https://harth.build/resources/glossary/primary-function/
- Last updated: 2026-09-07
- Data source: 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.

## Key facts

| Fact | Value |
| --- | --- |
| Defined in | IBC 2009 (2009 editions transcribed in this corpus) |
| Primary source | IBC 2009 Existing Structures (model text, not a jurisdiction's adopted text) |
| Chapters using the term | 7 (counted across the codes hosted here) |
| Wording identical across codes | Single code (compare before citing one code's wording under another) |

## Direct answer

Primary function is a defined term in the International Building Code (IBC) 2009, in Existing Structures. The code's own words are: “A primary function is a major activity for which the facility is intended. Areas that contain a primary function include, but are not limited to, the customer service lobby of a bank, the dining area of a cafeteria, the meeting rooms in a conference center, as well as offices and other work areas in which …” No other I-Code in this corpus defines it, so the IBC 2009 definition is the one to work from. The term is used in 7 chapters of this corpus, most often in Existing Structures (IBC 2009), Motor Fuel-dispensing Facilities and Repair Garages (IFC 2009), Flammable and Combustible Liquids (IFC 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](https://nz.linkedin.com/in/barrington), Harth founder and architectural technology specialist · Published 2026-09-07 · Updated 2026-09-07.*

## What does this term mean?

**Primary Function** — IBC 2009, Existing Structures:

> A primary function is a major activity for which the facility is intended. Areas that contain a primary function include, but are not limited to, the customer service lobby of a bank, the dining area of a cafeteria, the meeting rooms in a conference center, as well as offices and other work areas in which the activities of the public accommodation or other private entity using the facility are carried out. Mechanical rooms, boiler rooms, supply storage rooms, employee lounges or locker rooms, janitorial closets, entrances, corridors and restrooms are not areas containing a primary function.

![Labeled code-term definition diagram: Primary Function: Building Code Definition](https://efwwel0vyt9vy5so.public.blob.vercel-storage.com/images/glossary/primary-function/diagram-1344.webp)

*How the IBC 2009 define primary function, where the wording differs, and which chapters depend on the term.*

## What must be verified before using this guidance?

**Primary Function** is defined once in this corpus, in the [Existing Structures](https://harth.build/resources/building-codes/us-states/maryland/ibc-2009/existing-structures.md) chapter of the International Building Code (IBC) 2009:

> A primary function is a major activity for which the facility is intended. Areas that contain a primary function include, but are not limited to, the customer service lobby of a bank, the dining area of a cafeteria, the meeting rooms in a conference center, as well as offices and other work areas in which the activities of the public accommodation or other private entity using the facility are carried out. Mechanical rooms, boiler rooms, supply storage rooms, employee lounges or locker rooms, janitorial closets, entrances, corridors and restrooms are not areas containing a primary function.

## Where primary function is used in the code

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

| Chapter | Code | Mentions |
| --- | --- | --- |
| [Existing Structures](https://harth.build/resources/building-codes/us-states/maryland/ibc-2009/existing-structures.md) | IBC 2009 | 14 |
| [Motor Fuel-dispensing Facilities and Repair Garages](https://harth.build/resources/building-codes/us-states/rhode-island/ifc-2009/motor-fuel-dispensing-facilities-and-repair-garages.md) | IFC 2009 | 3 |
| [Flammable and Combustible Liquids](https://harth.build/resources/building-codes/us-states/rhode-island/ifc-2009/flammable-and-combustible-liquids.md) | IFC 2009 | 2 |
| [Fuel Gas](https://harth.build/resources/building-codes/us-states/maryland/irc-2009/fuel-gas.md) | IRC 2009 | 2 |
| [Definitions](https://harth.build/resources/building-codes/us-states/maryland/ibc-2009/definitions.md) | IBC 2009 | 1 |
| [Definitions](https://harth.build/resources/building-codes/us-states/new-hampshire/ipc-2009/definitions.md) | IPC 2009 | 1 |
| [Wall Covering](https://harth.build/resources/building-codes/us-states/maryland/irc-2009/wall-covering.md) | IRC 2009 | 1 |

### The term in use

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

> An addition that affects the accessibility to, or contains an area of, a primary function shall comply with the requirements in Section 3411.7.

— [IBC 2009 §3411.5](https://harth.build/resources/building-codes/us-states/maryland/ibc-2009/existing-structures.md)

> The attendant's primary function shall be to supervise, observe and control the dispensing of fuel.

— [IFC 2009 §2204.2](https://harth.build/resources/building-codes/us-states/rhode-island/ifc-2009/motor-fuel-dispensing-facilities-and-repair-garages.md)

> This section shall apply to all wharves, piers, bulkheads and other structures over or contiguous to navigable water having a primary function of transferring liquid cargo in bulk between shore installations and tank vessels, ships, barges, lighter boats or other mobile floating craft.

— [IFC 2009 §3406.4.7](https://harth.build/resources/building-codes/us-states/rhode-island/ifc-2009/flammable-and-combustible-liquids.md)


## The terms primary function 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 primary function covers:

- **[Facility](https://harth.build/resources/glossary/facility.md)** — IBC 2009: All or any portion of buildings, structures, site improvements, elements and pedestrian or vehicular routes located on a site.
- **[Private](https://harth.build/resources/glossary/private.md)** — IPC 2009: In the classification of plumbing fixtures, "private" applies to fixtures in residences and apartments, and to fixtures in nonpublic toilet rooms of hotels and motels and similar installations in buildings where the plumbing fixtures are intended for utilization by a …
- **[Service](https://harth.build/resources/glossary/service.md)** — IRC 2009: The conductors and equipment for delivering energy from the serving utility to the wiring system of the premises served.
- **[Boiler](https://harth.build/resources/glossary/boiler.md)** — IRC 2009: A self-contained appliance from which hot water is circulated for heating purposes and then returned to the boiler, and which operates at water pressures not exceeding 160 pounds per square inch gage (psig) (1102 kPa gauge) and at water temperatures …

## Primary Function: what to open, and in what order

Every row is a document this term depends on. The [ICC code library](https://codes.iccsafe.org/codes) and the [ICC adoption maps](https://www.iccsafe.org/advocacy/code-adoption-maps/) cover the middle rows.

| Check | Where | Confirmed |
| --- | --- | --- |
| Read the definition in the adopted IBC | Existing Structures | |
| Re-check the requirement that uses it | Existing Structures (IBC 2009) | |
| Re-check the requirement that uses it | Motor Fuel-dispensing Facilities and Repair Garages (IFC 2009) | |
| Re-check the requirement that uses it | Flammable and Combustible Liquids (IFC 2009) | |
| Re-check the requirement that uses it | Fuel Gas (IRC 2009) | |
| Confirm the dependent definition | Facility | |
| Confirm the dependent definition | Private | |
| Confirm the dependent definition | Service | |
| Local amendment to any of the above | Jurisdiction's amendment list | |

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

## Where can you explore related guidance?

- [Explore all glossary guidance](https://harth.build/resources/glossary.md)
- [Facility: Building Code Definition](https://harth.build/resources/glossary/facility.md)
- [Service: Building Code Definition](https://harth.build/resources/glossary/service.md)
- [Private: Building Code Definition](https://harth.build/resources/glossary/private.md)
- [Boiler: Building Code Definition](https://harth.build/resources/glossary/boiler.md)

## 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](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.

### Source links

- [codes.iccsafe.org](https://codes.iccsafe.org/codes)

- [iccsafe.org](https://www.iccsafe.org/advocacy/code-adoption-maps/)

## Frequently asked questions

### What is the code definition of primary function?

The International Building Code (IBC) 2009 defines it in Existing Structures as: “A primary function is a major activity for which the facility is intended. Areas that contain a primary function include, but are not limited to, the customer service lobby of a bank, the dining area of a cafeteria, the meeting rooms in a conference center, as well as offices and other work areas in which the activities of the public accommodation or other private entity using the facility are carried out. Mechanical rooms, boiler rooms, supply storage rooms, employee lounges or locker rooms, janitorial closets, entrances, corridors and restrooms are not areas containing a primary function.” 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 primary function?

In this corpus the term is used across 7 chapters, led by Existing Structures in the IBC 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 the primary purpose of a building code?

Building is a separate defined term. The IBC 2009 defines it as: “Any structure used or intended for supporting or sheltering any use or occupancy.” That is not the same as primary function, which the IBC 2009 defines as “A primary function is a major activity for which the facility is intended. Areas that contain a primary function include, but are not limited to, the customer service lobby of a bank, the dining area of a cafeteria, the meeting …” — read both before applying either, and confirm the wording in the edition your jurisdiction has adopted.

### What is the definition of a structure according to the building code?

Structure is a separate defined term. The IPC 2009 defines it as: “That which is built or constructed or a portion thereof.” That is not the same as primary function, which the IBC 2009 defines as “A primary function is a major activity for which the facility is intended. Areas that contain a primary function include, but are not limited to, the customer service lobby of a bank, the dining area of a cafeteria, the meeting …” — read both before applying either, and confirm the wording in the edition your jurisdiction has adopted.

### What does primary function mean?

In the 2009 I-Codes hosted here it is a defined term rather than a description. The IBC 2009 states, in Existing Structures: “A primary function is a major activity for which the facility is intended. Areas that contain a primary function include, but are not limited to, the customer service lobby of a bank, the dining area of a cafeteria, the meeting rooms in a conference center, as well as offices and other work areas in which …” It is defined in IBC 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.

---

- Continue in Harth (open this topic in the Harth agent): https://app.harth.build/agent?context=%2Fresources%2Fglossary%2Fprimary-function%2F
- View this page in a browser: https://harth.build/resources/glossary/primary-function/
- All resources for agents: https://harth.build/llms.txt
