# Piping vs pipeline: what is the difference?

> Piping moves fluids between equipment inside a plant, while a pipeline carries oil, gas or other product between facilities. In the US, plant piping is usually designed to ASME B31.3 and, in covered processes, falls under process safety rules (29 CFR 1910.119), while pipelines follow ASME B31.4 or B31.8 and the rules in 49 CFR Parts 192 and 195.

- Label: Fact
- Type: Explainer
- Published: 2026-11-13T15:24:40+09:00
- By: Jun Zhong
- Researched and drafted by: Beacon's AI newsroom
- Checked by: Jun Zhong on 2026-11-13
- Topics: LNG, Pipelines, Refining
- Canonical: https://beacon.winda.ai/library/piping-vs-pipeline/

## Piping vs pipeline at a glance

| | Plant piping | Pipeline |
|---|---|---|
| Job | Connects pumps, vessels, exchangers and heaters inside one facility | Moves product between facilities: gathering, transmission and distribution lines |
| Main ASME design code | B31.3 Process Piping (2024 edition) | B31.4 for liquids and slurries, B31.8 for gas (both 2025 editions) |
| US federal safety regulator | Occupational Safety and Health Administration (OSHA), through process safety management (PSM) for covered processes | Pipeline and Hazardous Materials Safety Administration (PHMSA) |
| Federal rule | 29 CFR 1910.119 | 49 CFR Part 192 (gas) and Part 195 (hazardous liquids and carbon dioxide) |
| How the rule describes it | "Piping systems," including valves, in the mechanical integrity equipment list | All parts of the facilities through which gas or hazardous liquid moves in transportation |
| In-service integrity basis | API 570 piping inspection code; PSM mechanical integrity | Integrity management rules, for example 49 CFR 195.452 for high consequence areas |
| Where one ends | At the pressure control device for the pipeline, or the plant property line (hazardous liquids) | Gas gathering ends no later than the first downstream processing plant, unless shown otherwise |

Sources: ASME product pages for B31.3, B31.4 and B31.8 [6][7][8]; 29 CFR 1910.119 [5]; 49 CFR Parts 192 and 195 [1][2][4]; PHMSA interpretation, 2020 [3]; API catalog, 2025 [10].

## When is piping used?

Piping is the network inside a plant. According to ASME, B31.3 is the code for the piping of oil refineries, of chemical and pharmaceutical plants and similar process plants, and of the terminals that serve them [6]. Its scope takes in almost any fluid, from raw, intermediate and finished chemicals and petroleum products to steam, air, water, refrigerants and cryogenic fluids [6].

In a refinery or chemical plant that handles highly hazardous chemicals above OSHA's threshold quantities, piping systems and their valves are one of six equipment groups that need a mechanical integrity program under 29 CFR 1910.119(j) [5]. The American Petroleum Institute's API 570 is the piping inspection code: it covers inspection, rating, repair and alteration of in-service metallic piping and its pressure-relieving devices [10]. In OSHA's 2017 review of refinery inspections, piping circuits were the equipment most often cited for inspection frequency problems [9].

## When is a pipeline used?

A pipeline is used to move product from one facility to another. Federal rules for gas sort lines by function: a gathering line carries gas from a production facility to a transmission line or main, a transmission line carries gas from gathering or storage toward a distribution center, storage facility or large-volume customer, and a distribution line is any other pipeline, such as the mains that serve homes [2].

Part 192 sets minimum safety requirements for gas pipeline facilities and gas transportation, including on the Outer Continental Shelf [2]. Part 195 does the same for pipelines that carry hazardous liquids or carbon dioxide, and the hazardous liquids it defines are petroleum and its products, anhydrous ammonia, ethanol, and other fuels that do not come from petroleum [1]. On the engineering side, ASME B31.4 applies to pipelines that move liquids from production fields and facilities to tank farms and the other points where product is delivered or received, and ASME B31.8 applies to gas pipelines, compressor stations, metering and regulating stations, and distribution mains and service lines as far as the outlet of a customer's meter set assembly [7][8].

A pipeline is more than pipe. The federal definition for gas includes valves, compressor units, metering stations and regulator stations, so piping inside a gas compressor station is part of the regulated pipeline [2].

## Where does plant piping end and a regulated pipeline begin?

The boundary is set by the pipeline rules, not by a fence line in general. For hazardous liquids, Part 195 does not apply to transportation through onshore production facilities (including flow lines), refining or manufacturing facilities, or to the storage and in-plant piping systems tied to them (49 CFR 195.1(b)(8)) [1]. Its definition of an in-plant piping system is piping on a plant's grounds that carries hazardous liquid or carbon dioxide from one plant facility to another, or from the plant to a pipeline or another mode of transport, and it leaves out of that definition the device and piping needed to control pressure in the pipeline [1].

PHMSA applied these rules in a letter dated 7 April 2020 to the operator of a crude oil processing facility in Corpus Christi, Texas [3]. It said that the pressure control devices needed to protect a regulated pipeline mark the limit of Part 195 inside the facility, and that the plant property line is the limit where no such device sits on plant grounds [3]. For one regulated inbound line, the boundary was the outlet flange of the valve just downstream of the emergency shutdown valve, and the relief valve, surge piping and breakout tanks on the pipeline side stayed under Part 195 [3]. PHMSA states that such letters apply to the facts of the requester only.

For gas, a regulated onshore gathering line ends, at the latest, at the first natural gas processing plant downstream, unless the operator can show that it reaches further (49 CFR 192.8(a)(2)) [2]. Offshore, Part 192 does not cover gathering in state waters upstream of the outlet flange of the facility where gas is first produced or processed [2].

## Where integrity problems show up

| Asset | Typical integrity issue | In the Library |
|---|---|---|
| Insulated plant piping | Corrosion hidden under insulation, which some refineries did not inspect for | [What is corrosion under insulation (CUI)?](/library/corrosion-under-insulation/) |
| Plant piping at injection points, mixing points and dead legs | Localized corrosion at points that API 570 singles out for thickness monitoring | [Injection point](/glossary/injection-point/); [Dead leg](/glossary/dead-leg/) |
| Buried pipelines | External corrosion linked to soil corrosivity, found by in-line inspection or external corrosion direct assessment | What is soil corrosion?; What is direct assessment? |
| Hazardous liquid pipelines | Stress corrosion cracking and other pipe body or weld cracking | [What is stress corrosion cracking in pipelines?](/library/pipeline-stress-corrosion-cracking/) |
| Pipelines in high consequence areas | Corrosion and deformation anomalies such as dents and gouges, found by in-line inspection tools | What is in-line inspection (ILI) and pigging? |

Sources: OSHA 3918, 2017, for the plant piping rows [9]; 49 CFR 195.452(c), (e) and (g), eCFR as of 20 October 2026, for the pipeline rows [4].

## Sources

1. [49 CFR Part 195, Subpart A, General (sections 195.1 and 195.2), eCFR, US Office of the Federal Register](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-I/subchapter-D/part-195/subpart-A)
2. [49 CFR Part 192, Transportation of Natural and Other Gas by Pipeline (sections 192.1, 192.3, 192.8), eCFR, US Office of the Federal Register](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-I/subchapter-D/part-192)
3. [Interpretation letter PI-20-0004 on the 49 CFR 195.1(b)(8) refining exception, US Pipeline and Hazardous Materials Safety Administration (PHMSA)](https://www.phmsa.dot.gov/sites/phmsa.dot.gov/files/2020-06/buckeye2-pi-20-0004-04-07-2020-part-195-1.pdf), 2020-04-07
4. [49 CFR 195.452, Pipeline integrity management in high consequence areas, eCFR, US Office of the Federal Register](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-I/subchapter-D/part-195/subpart-F/subject-group-ECFRbe0c227f191b36d/section-195.452)
5. [29 CFR 1910.119, Process safety management of highly hazardous chemicals, eCFR, US Office of the Federal Register](https://www.ecfr.gov/current/title-29/subtitle-B/chapter-XVII/part-1910/subpart-H/section-1910.119)
6. [B31.3, Process Piping (product page) (2024), American Society of Mechanical Engineers (ASME)](https://www.asme.org/codes-standards/find-codes-standards/b31-3-process-piping)
7. [B31.4, Pipeline Transportation Systems for Liquids and Slurries (product page) (2025), American Society of Mechanical Engineers (ASME)](https://asme.org/codes-standards/find-codes-standards/b31-4-pipeline-transportation-systems-liquids-slurries)
8. [B31.8, Gas Transmission and Distribution Piping Systems (product page) (2025), American Society of Mechanical Engineers (ASME)](https://www.asme.org/codes-standards/find-codes-standards/b31-8-gas-transmission-distribution-piping-systems)
9. [Process Safety Management for Petroleum Refineries: Lessons Learned from the Petroleum Refinery Process Safety Management National Emphasis Program (OSHA 3918), US Occupational Safety and Health Administration (OSHA)](https://www.osha.gov/Publications/OSHA3918.pdf)
10. [2025 Publications Catalog (Refining: Inspection of Refinery Equipment), American Petroleum Institute (API)](https://www.api.org/-/media/files/publications/2025-catalog/2025_pubs%20catalog.pdf)

Published by Winda Beacon (https://beacon.winda.ai).
