What Is Nitrogen Purging: A Guide to Purging Pipelines, Tanks and Vessels and How to Prove the End Point

List of contents:

Summary: Nitrogen purging is the flushing of a pipeline, tank, or vessel with nitrogen gas to displace air, hydrocarbon vapour, or water vapour until its concentration is below the limit set by the procedure. Purging is considered complete not on the basis of duration or gas volume, but on the basis of oxygen, hydrocarbon, or dew point measurements at an outlet point that represents the whole system.

The term N2 purging appears in almost every commissioning, shutdown, and hot work procedure at oil and gas, petrochemical, and process industry facilities. Although it is carried out often, nitrogen purging is also often considered complete too early because its end point is not measured properly.

This guide is written for commissioning engineers, operations supervisors, and HSE teams. We cover what it is, its purpose, methods, work steps, end-point criteria, how to verify them, and the mistakes that occur most often in the field.

What Is Nitrogen Purging: A Brief Definition

Nitrogen purging is the process of replacing the atmosphere inside a closed system with nitrogen. Nitrogen is chosen because it is inert, widely available, and relatively inexpensive compared with other inert gases.

What is displaced may be air before hydrocarbons are introduced, hydrocarbon vapour before the system is opened, or water vapour after hydrostatic testing. The purposes differ, but the principle is the same: the concentration of the unwanted substance is reduced to a measured safe limit.

Purging is different from blanketing. Blanketing maintains a nitrogen layer in the tank vapour space during operation, whereas purging is a one-off job with a clear starting point and end point.

TermMeaningWhen used
Purging (inerting)Displacing air with nitrogen before flammable gases or liquids are introducedCommissioning and start-up
Gas-freeingDisplacing hydrocarbons with nitrogen before the system is openedShutdown, repairs, and hot work
DryingReducing water content with dry nitrogen until the target dew point is reachedAfter hydrostatic testing or before dry gas service
BlanketingContinuously maintaining a nitrogen layer in the vapour spaceDuring tank operation

Purposes of Nitrogen Purging in Industry

Each purpose of nitrogen purging has a different end-point parameter. Choosing the wrong parameter means a system can be declared ready even though the risk has not been removed.

  • Preventing flammable mixtures — oxygen is reduced before hydrocarbons are introduced, so the mixture inside the system is never within the flammable range.
  • Preparing for hot work — hydrocarbons are displaced before welding or cutting on a system that previously contained flammable material.
  • Drying the system — water vapour left from hydrostatic testing is reduced so that it does not cause corrosion, hydrates, or freezing when the system is in operation.
  • Protecting catalysts and sensitive materials — reactors and adsorbents are kept free of oxygen and water before or after replacement.
  • Preparing cryogenic systems — LNG and liquid nitrogen lines are dried so that ice does not form when they are cooled down.

Nitrogen Purging Methods and When to Use Them

There are four common nitrogen purging methods. The choice depends on the system geometry, design pressure, and the availability of nitrogen on site.

MethodHow it worksSuitable forNotes
Displacement (plug flow)Nitrogen pushes the system contents like a piston from one end to the otherLong pipelines of relatively small diameterEfficient if the flow is fast enough and there are no branches
Dilution (sweep)Nitrogen flows continuously and mixes with the system contents until their concentration fallsLarge-volume tanks and vesselsRequires several system volumes
Pressure cycleThe system is pressurised with nitrogen and then vented, repeated over several cyclesSmall vessels, instruments, systems with many branchesThe number of cycles is calculated from the target concentration
Vacuum purgeThe system is evacuated and then filled with nitrogenVacuum-rated equipmentSaves nitrogen, but not all equipment can withstand vacuum

Many procedures combine two methods, for example pressure cycling for instrument branches and dilution for the main vessel. What matters is that every part of the system has its own measuring point.

Embun dan bunga es pada sambungan pipa saat purging nitrogen untuk mengeringkan jalur gas
Water vapour left after hydrostatic testing must be displaced until the target dew point is reached.

Nitrogen Purging Applications in Pipelines, Tanks, and Vessels

Commissioning gas and process pipelines

Before natural gas or process gas flows for the first time, the pipeline is flushed to displace air. On pipelines that have just been hydrostatically tested, nitrogen purging is also used to dry the line until the target dew point is reached.

Storage tanks and process vessels

Large-volume tanks and vessels are usually flushed using the dilution method. The measuring point is placed far from the nitrogen inlet so the result represents the part that is slowest to be flushed.

Inerting before hot work

Before welding or cutting on a system that has contained hydrocarbons, nitrogen purging displaces flammable vapour. Hot work permits generally require gas measurement results before work begins.

Reactors, catalysts, and cryogenic units

Reactors are flushed before catalyst is loaded or replaced. Cryogenic units need very dry nitrogen so that ice does not form in lines that are to be cooled down.

7 Steps to Controlled Nitrogen Purging

The following sequence is a general framework. The procedure at your facility remains the main reference, including the applicable work permits and safety reviews.

  • 1. Set the purpose and end-point criteria — which parameter is measured, what the limit is, and at which point.
  • 2. Map the system — identify dead legs, high and low points, and equipment isolated from the main flow.
  • 3. Prepare the nitrogen supply — make sure the volume is sufficient and its quality is known, including residual oxygen and water content.
  • 4. Install measuring points and sampling points — at the furthest outlet and at every section that could become a gas pocket.
  • 5. Run the purge and keep records — flow rate, pressure, temperature, nitrogen volume, and time are recorded throughout the job.
  • 6. Measure the end point and repeat — the result is declared stable when several consecutive measurements are below the target.
  • 7. Document and hand over — measurement results, instrument calibration, and laboratory reports are attached to the handover file.

The first and sixth steps matter most. Nitrogen purging without a written end-point criterion will be stopped on gut feeling, not data.

Need proof of the purging end point for your commissioning file?

We can take samples at the outlet point and test residual oxygen, purity, and water content in an accredited laboratory. Contact us via WhatsApp or email us at [email protected].

Estimating Nitrogen Requirements for Purging

Nitrogen requirements depend on the method, system volume, and end-point target. This estimate is important so that the supply does not run out mid-job and nitrogen purging does not have to be restarted from the beginning.

Dilution method

In dilution, the concentration of the displaced substance falls gradually because nitrogen keeps mixing with the system contents. The lower the target, the more multiples of the system volume need to be passed through.

Pressure cycle method

In pressure cycling, each cycle dilutes the system contents in proportion to the ratio of absolute pressures when filled and when vented. The number of cycles can therefore be calculated from the initial concentration, final target, and permitted working pressure.

Displacement method

Displacement is the most economical when the nitrogen flow is fast enough to push the pipeline contents out without much mixing. In branched or large-diameter pipelines, mixing at the gas interface makes the requirement greater than a simple estimate suggests.

The calculations above are only initial estimates. The end point of nitrogen purging is still determined by measurement results, because gas pockets, leaks, and nitrogen quality can make reality differ from the plan.

Nitrogen Purging Documentation for Handover

A complete purging file makes handover easier and serves as evidence if questions arise later. The minimum content commonly requested by facility owners is as follows.

  • A system diagram marking the injection points, vent points, measuring points, and sampling points.
  • End-point criteria for each section of the system, complete with parameter, limit, and number of readings.
  • Execution records: time, flow rate, pressure, temperature, and volume of nitrogen used.
  • On-site measurement results with the identity and calibration status of the measuring instruments.
  • Laboratory reports for samples sent, including container identity and sampling point.
  • Nitrogen quality data at the injection point, especially residual oxygen and water content.

An accredited laboratory report makes this file stronger, because the method, detection limit, and traceability of the results are clearly stated in it.

Nitrogen Purging End-Point Criteria

The end point is a measurable condition that proves nitrogen purging has achieved its purpose. Its value is set by the facility procedure, safety review, or process owner's requirements, not by generic figures from the internet.

Purging purposeEnd-point parameterMeasured with
Inerting before hydrocarbons are introducedOxygen below the procedure targetOn-site oxygen analyser, confirmed by laboratory testing
Gas-freeing before hot workHydrocarbons or flammable limit below targetFlammable gas detector and gas testing in line with the work permit
Drying after hydrostatic testingDew point below target at the reference pressureDew point hygrometer
Preparing catalysts or sensitive unitsOxygen and water content below the process owner's targetTrace oxygen analyser and hygrometer, supplemented by laboratory testing

End-point criteria should also state the number of consecutive readings that must pass and the time interval between readings. A single low reading may only be momentary.

Illustration: suppose the oxygen target has been reached at the main outlet, but a dead leg near the inlet has not yet been flushed. A common pattern like this only becomes visible if every branch has a measuring point, not just the end of the pipeline.

How to Verify the Nitrogen Purging End Point

Verification of the nitrogen purging end point is generally layered. Direct on-site measurement is used for quick decisions, while samples sent to the laboratory serve as traceable evidence.

Residual oxygen

Oxygen is the main parameter for inerting. Portable analysers give quick figures, while samples in closed containers can be analysed in the laboratory for oxygen and nitrogen purity.

Dew point or water content

For drying, dew point is measured with a hygrometer at a recorded pressure. The relationship between dew point and ppm water is explained in our article on moisture content in gas.

Hydrocarbons and gas composition

For gas-freeing, hydrocarbons are measured with a gas detector in line with the work permit. If the composition of the residual gas needs to be known in more detail, samples can be analysed via Gas Composition.

Empat cara mengukur kadar air dalam gas untuk verifikasi titik akhir pengeringan
Dew point is always recorded together with its reference pressure.
Verification layerAdvantagesLimitations
On-site analysers and detectorsFast, supporting decisions on the spotDepend on calibration and how they are used
Samples sent to an accredited laboratoryTraceable, multi-parameter, suitable for audit filesResults are not immediate
A combination of bothQuick decisions plus written evidenceRequires sampling point planning

Why Independent Verification of Nitrogen Purging Matters

On commissioning projects, nitrogen purging is often carried out by a contractor and accepted by the facility owner. Data measured by the same party that performed the work is easily questioned when problems arise after handover.

  • A clean handover — a report from an independent laboratory becomes an attachment to the commissioning file that can be rechecked.
  • Traceable calibration — accredited laboratory instruments are calibrated and controlled within a quality system, unlike portable instruments that change hands.
  • More than one parameter — the laboratory can test oxygen, purity, water content, CO, CO2, and hydrocarbons from the same sample.
  • Evidence during investigations — if an incident or premature corrosion occurs, the report shows the condition of the system at the time of handover.

Independent verification does not replace the on-site measurements required by the work permit. The two complement each other within a single nitrogen purging plan.

Nitrogen Quality for Purging Determines the Result

The oxygen target will never be reached if the nitrogen used carries more oxygen than that target. The same principle applies to water content: wet nitrogen cannot dry a pipeline.

Nitrogen sourceRisk in purgingWhat to check
Vaporised liquid nitrogenGenerally dry and pure; risks lie in hoses and connectionsOxygen and water content at the injection point
Cylinders or cylinder racksQuality depends on container handlingPurity, oxygen, water content
On-site PSA or membrane generatorPurity drops at high flow ratesResidual oxygen at the purging flow rate

For nitrogen from a generator, purity at the purging flow rate can differ from the figure in the brochure. This is explained in our article on nitrogen generator purity, while general nitrogen test parameters are covered in nitrogen gas purity testing.

Teknisi mengambil sampel gas dengan silinder di fasilitas industri untuk verifikasi purging
A sample at the outlet point becomes traceable evidence for the commissioning file.

Nitrogen Purging Safety: Asphyxiation Hazard

Nitrogen is not toxic, but it displaces oxygen. An oxygen-deficient atmosphere gives no warning through smell or colour, so people can lose consciousness without warning.

  • A system that has just been purged with nitrogen must not be entered before it has been ventilated and tested in accordance with the confined space entry procedure.
  • Purge exhaust gas is directed to a safe location, away from work areas and building air intakes.
  • Workers near the vent point wear personal oxygen detectors.
  • Nitrogen purging work is always carried out under the work permit in force at the facility.

General guidance on confined space hazards can be found in OSHA's confined space guidance. The procedures and limits at your facility remain the main reference.

Common Mistakes in Nitrogen Purging

MistakeConsequencePrevention
Stopping purging based on durationPockets of air or hydrocarbons remainStop based on measured end-point results
Measuring only at the end of the pipelineDead legs are not flushedMeasuring points at every branch and pocket
Not checking nitrogen qualityOxygen or dew point target is not reachedTest the nitrogen at the injection point
Measuring instruments not calibratedFalsely low readingsCalibration and laboratory cross-checks
Samples taken in unpurged containersFalsely high oxygen and water readingsPurge the container and sample line several times
No written recordsWeak handover filePurging forms and laboratory reports

Many of these mistakes arise because nitrogen purging is carried out under start-up schedule pressure. Preparing end-point criteria, measuring points, and a sampling plan from the planning stage makes field work faster, not slower, because the decision to stop is no longer debated.

Sampling errors work in both directions. Unpurged containers make results look worse, while uncalibrated instruments can make results look better than reality.

Nitrogen Purging Verification Services from DND Java

PT DnD Java Indonesia is an oil and gas laboratory in Bojonegoro, East Java, accredited by the National Accreditation Committee (KAN) to ISO/IEC 17025:2017 under number LP-2246-IDN. Through our Gas Purity Testing service, we test nitrogen purity, residual oxygen, water content, CO, CO2, and hydrocarbons.

Lima tahap alur uji kemurnian nitrogen dari penetapan tujuan sampai laporan laboratorium
Properly purged containers prevent falsely high oxygen and water readings.

For nitrogen purging, our field sampling team can take samples at the outlet and injection points, measure gas water content with a portable analyser, and then send sealed samples to the laboratory. The availability of direct on-site oxygen measurement needs to be confirmed per job.

Results are reported against the end-point criteria in your procedure through nitrogen purity and residual oxygen testing in our laboratory. Field service details are on our page for Sampling and Onsite Analysis and coverage areas on our page for oil and gas laboratory service areas.

Analis mengemas sampel gas tersegel untuk dikirim ke laboratorium migas dari proyek di seluruh Indonesia
Samples and teams can be mobilised throughout Indonesia.

If your facility also uses compressed air for instruments, see our Compressed Air Testing. Send your purging plan and sampling points via our contact page.

Frequently Asked Questions about Nitrogen Purging

What is nitrogen purging?

Nitrogen purging is the flushing of a pipeline, tank, or vessel with nitrogen gas to displace air, hydrocarbon vapour, or water vapour until its concentration is below the limit set by the procedure. Its purpose is to prevent flammable mixtures, prepare for hot work, or dry the system.

What is the difference between nitrogen purging and nitrogen blanketing?

Purging is a one-off job to replace the atmosphere inside a system until the end point is reached. Blanketing continuously maintains a nitrogen layer in the tank vapour space during operation.

How do you know nitrogen purging is complete?

Purging is complete when the end-point parameter, for example oxygen, hydrocarbons, or dew point, is below the procedure target over several consecutive readings at every measuring point, not on the basis of duration.

Which parameters are measured to verify purging?

Residual oxygen for inerting, hydrocarbons for gas-freeing, and dew point for drying. Samples sent to the laboratory can add nitrogen purity, water content, CO, CO2, and hydrocarbons as traceable evidence.

Can nitrogen from a generator be used for purging?

Yes, as long as its purity at the purging flow rate meets the target. Generators can produce higher residual oxygen at high flow rates, so nitrogen quality at the injection point needs to be checked.

Can DND Java verify purging at the project site?

Yes. Our team takes samples at the outlet and injection points, then tests residual oxygen, purity, and water content in a laboratory accredited to ISO/IEC 17025:2017 (LP-2246-IDN). Direct on-site oxygen measurement is confirmed per job.

Related Articles and Services

Prove the nitrogen purging end point with accredited data

Send your purging plan, number of measuring points, and the end-point criteria in your procedure. Our team will prepare the containers, sampling schedule, and verification parameters.

WhatsApp 0888-9507-534  ·  [email protected]  ·  Phone (0353) 8940000

Share this to:

Writer

Picture of DnD Java Indonesia

DnD Java Indonesia

Oil & Gas Laboratory

Office Phone(0353) 8940000 Send Email[email protected]
Chat with Admin Consult via WhatsApp