KALTECKOREA

BlogApplication notes

Why do pipes rust inside after hydrotest water is drained?

Type
Application notes
Published
23 November 2026
Prepared by
Jonghwan Moon
Product group
Corrosion Prevention

Once a hydrotest is over it is easy to drain the water and leave the line as it is, but water left behind, wet walls and air that gets in later keep the rust growing. What actually lies behind it can be test water trapped in low points and crevices, slow drying, a missing or weak inhibitor, oxygen and chloride in the test water, mill scale and weld spatter, or humid air drawn in after draining, and sometimes two or more at once.

Background

A new carbon steel line or pressure vessel passes its hydrotest and is drained, yet a few weeks later an opened flange shows red rust streaks along the bottom and rust nodules beside the welds. Cleaning out the rust and inspecting again are added before start-up, and loose rust can block valves, filters and instruments. Where rust has dug in as pits it can lead to leaks early in service, and failures caused by test water have occasionally been reported even before a line entered service (Darwin et al., 2010).

Iron needs water and oxygen together to rust. At one spot on a wet surface iron goes into the water as ions, the electrons released are taken up elsewhere by oxygen in the water, and the dissolved iron meets oxygen again to form red rust. In neutral water at room temperature, how much oxygen reaches the metal surface sets the corrosion rate, and where one surface has areas with more and less oxygen, the area with less becomes the one that dissolves (Revie & Uhlig, 2008). So even after draining, rust carries on wherever water is left, a wet film remains or the wall gets wet again.

A review of carbon steel pipelines holding test water lists the corrosion routes as corrosion caused by microbes, oxygen-related corrosion, galvanic corrosion between different metals or surfaces, and under-deposit corrosion. As the factors that set the risk it names the water source, the degree of filtration, how long and how warm the water stays, and air pockets trapped in the line (Darwin et al., 2010). The test itself may be over in days, but the whole time from filling until the inside is fully dry is time in which rust can grow.

In such cases the technical team sets up the six hypotheses below and rules them out one by one. The start is always the same: mark where the rust is on the piping drawing, with photographs, and check the source of the test water, the chemicals added, the fill and drain dates, the date drying finished and how the line was stored afterwards, item by item against the test procedure.

Hypothesis 1: trapped test water

If rust runs in a line along the bottom of the pipe or gathers in certain sections only, check whether water failed to drain somewhere. Typical places are sagging runs, dead legs where water does not flow such as blanked ends, nozzles set lower than the drain, the bottom of horizontal vessels and the gap between a weld backing ring and the pipe wall. It is especially likely when water was simply let out through a valve and never pushed out with a pig or compressed air. Picture a rack line in a plant whose lowest drain valve was opened after the test and shut again once the flow stopped. A few weeks later a flange below a sagging run is opened, and a band of rust runs along the bottom.

A pool of water left behind has air above it, so it keeps taking up oxygen. Near the edge of the water, the line where air, water and metal meet, oxygen is plentiful, but in the middle of the pool and deep in crevices it is used up quickly, forming an oxygen concentration cell in which the side with less oxygen becomes the one that dissolves (Revie & Uhlig, 2008). As a pool dries slowly, what was dissolved in it gathers in the remaining water, and even clean water can become a far stronger and more aggressive solution (ASSDA, 2010). One study, working from the hypothesis that pitting in carbon steel transfer lines came mainly from high humidity and in some cases was driven by residual test water, tested drying the lines as a way to reduce corrosion (Shukla et al., 2024).

The position of the rust is the first clue. If it gathers at the bottom of the pipe section, in sagging runs, at vessel bottoms and in dead legs, and ends in a line at the height the water stood, suspect water left behind. Look into sections that cannot be opened with an inspection camera, and open low-point drains together with high-point vents to see whether more water comes out. Where rust looks deep at a low point, measure the remaining wall with ultrasonic thickness readings.

With the cause narrowed to water left behind, make draining a set step in the test procedure. Open the high-point vents first so air can enter, open a drain at every low point, and push out what remains with a pig or dry air. Horizontal runs should slope so they drain by themselves, and passing a pig followed by blowing dry air through is the recommended method (ASSDA, 2010). Places a pig cannot reach, such as dead legs and vessel bottoms, are opened separately, drained and wiped out.

Hypothesis 2: slow drying

Sometimes drying is put off for days even after all the water is out. The line may be waiting for the next section's test, for painting or insulation, the dry-air equipment or nitrogen may take time to arrive, or a weekend or holiday intervenes. Say the test finishes and the line is drained on a Friday afternoon, but the drying equipment arrives only in the middle of the next week. Meanwhile the pipe ends are blanked, and a torch shows the inside wall glistening with moisture.

Right after draining, the wall is not dry but wet with a thin film and droplets of water. Atmospheric corrosion proceeds while a surface stays wet, so the standard for atmospheric corrosivity estimates corrosion by counting as time of wetness the hours when relative humidity is above 80% and the temperature above 0°C (ISO, 2012). Inside a blanked line, the remaining moisture evaporates and tends to keep the humidity high, so the longer drying is delayed, the longer the wall stays wet. How long untreated water may stay in a line is treated as an item to be set separately in managing test-water corrosion (Darwin et al., 2010).

From the test records, count for each section the time between finishing the drain and starting to dry. If rust has spread more widely in sections where that gap was longer, the weight shifts to this hypothesis. If drying is under way, measure the dew point of the outlet air with a dew point meter, and open an end and rub the wall with a dry cloth to see whether moisture and rust come off.

The remedy is to treat draining and drying as one job. Have the drying equipment and nitrogen ready before the test, start blowing dry air or nitrogen as soon as the water is out, and keep going until the outlet dew point reaches the value set in the procedure. Close the ends only once dryness is confirmed, and record the date and the dew point. If the schedule does not allow drying straight away, change the plan to treat the test water instead.

Hypothesis 3: inhibitor too low

When test water will stay in a long time, or the schedule does not allow drying right after draining, the procedure may call for an oxygen scavenger, a corrosion inhibitor and a biocide in the test water. But if dosing is missed in one section, poured by eye without metering, or mixed only into the first part of the water during filling, the set concentration is not held. Think of two sections tested on the same day: one is filled with the chemical pump connected, while the other is filled with plain water first while the pump is being moved. When they are opened, the rust in the two differs in amount and form.

Each chemical has a different job. An oxygen scavenger reacts with dissolved oxygen and removes it, a corrosion inhibitor acts on the metal surface to slow dissolution, and a biocide reduces microbes. Whether these three went into the test water properly is an item checked separately when corrosion after a test is assessed (Javaherdashti & Akvan, 2017). Inhibitors that passivate the surface, such as nitrite, can concentrate attack on small uncovered spots when their concentration falls short, causing pitting or crevice corrosion, and have long been called dangerous inhibitors if used wrongly (De Chant & Bruckner, 1968; Revie & Uhlig, 2008). So a short or uneven dose may do more than simply give less protection.

Work through the dosing records first. Divide the amount of chemical added by the test water volume of that section and compare it with the recommended concentration in the chemical's technical data sheet, the TDS, and look at when and how it was added. If there is leftover test water or a sample taken during draining, measure the concentration by the method given in the TDS and the oxygen with a dissolved oxygen meter. Record as well whether the rust is spread evenly over the wall or has dug in as small, deep pits.

Add chemicals with a metering pump in proportion to the fill flow, and calculate the amount from the test water volume in advance and write it into the procedure. Once filling is complete, take a sample at the far end to confirm the concentration. Keep the inhibitor from dropping below its set concentration, and check beforehand the discharge conditions that apply when treated water is disposed of (Darwin et al., 2010).

Hypothesis 4: oxygen and chloride

Where river water, groundwater, process water or seawater from nearby is used for testing, look at the water itself. Water in the cold season, water stored open to the air for a long time, and groundwater with salt in it near the coast all fall into this group. Consider a coastal plant that pumped groundwater from its own well straight into the line as test water. The rust is not just in sagging runs but spread thinly and evenly over the wall of every tested section, a little heavier towards the bottom.

Cold water dissolves more oxygen than warm water (USGS, n.d.). In neutral water the corrosion rate of iron rises with the amount of oxygen reaching the surface, and chloride makes the water conduct well, so corrosion current can flow even when the dissolving sites and the sites where oxygen reacts are far apart. Chloride also hinders the growth of a protective rust layer on the surface (Revie & Uhlig, 2008). Dissolved salts stay on the wall when the water drains, so the saltier the water used, the more likely that any moisture on a wall that later gets wet is a strong salt solution from the start.

Find the source of the test water and any analysis of it first. Taking water from the same source and measuring chloride by titration or test strip, conductivity with a conductivity meter and dissolved oxygen with an oxygen meter puts a number on how aggressive the water was. If the rust is spread evenly over the whole section and seems unrelated to water left behind or to crevices, suspect the water itself.

If the water is the cause, changing the test water is the surest fix. The water source and the degree of filtration are named as factors that change the risk of test-water corrosion (Darwin et al., 2010). Use clean water such as mains or treated water; if other water must be used, filter out the solids, add oxygen scavenger and inhibitor at the set concentration, and shorten the time the water stays in. Rinsing once with clean water after draining to wash salt off the wall, then drying straight away, is also worth considering.

Hypothesis 5: scale and spatter

When the rust has not spread widely but sits here and there as spots or small nodules, the thing to look at is the condition of the wall surface. New steel pipe whose bore has not been blasted or pickled is covered with mill scale, the iron oxide skin formed in rolling, and inside welded joints spatter, the droplets of metal thrown off in welding, along with root reinforcement and slag, tends to remain. Take the moment a nozzle on a new carbon steel vessel is opened and a torch shone in. The wall is mostly still under its blue-black skin, but red spots of rust sit only where the skin has flaked off and right beside the weld line.

Mill scale is not a continuous layer and is usually cracked. In a study of linepipe mill scale, cracks through the scale connected the corrosive solution to the steel underneath, breaking the scale down faster, and formed a crevice between scale and steel where pits could start and grow (Filice et al., 2022). In tests on structural steel, mill scale caused pitting even in chloride-free solution (Gomaa et al., 2024). Narrow gaps under spatter droplets and beside the root reinforcement let little oxygen in, so they become the small dissolving sites of an oxygen concentration cell (Revie & Uhlig, 2008).

Brush the rust off lightly and look underneath. If the spots gather where the scale is broken and around spatter and root reinforcement, with a hollow beneath them, they fit this hypothesis. Measure the depth of the hollows with a pit gauge, and open the ends of other pipes from the same material to compare the condition of the scale.

From the next order, specify pipe with a blasted or pickled bore, and remove spatter and slag from inside the welds wherever it can be reached. For piping already installed, remove the rust, compare pit depth with the allowable wall and decide whether it stays in service. The more a line has surfaces like these, the more it matters to keep the test short, dry right after draining and hold the inhibitor concentration.

Hypothesis 6: humid air drawn in

Rust that appears after the line was drained and dried may come from air that got in afterwards. This applies when ends are left open or covered only with plastic sheet, in the rainy season or in coastal areas, where day and night temperatures differ widely, and where the pipe sits underground or in shade and stays cooler than the air. Suppose a line dried in the rainy season has its ends wrapped in plastic while it waits to be installed. Every morning droplets form inside the plastic, and near the ends a thin rust creeps up the wall towards the top.

Experiments showed long ago that the atmospheric rusting of iron has a critical relative humidity above which rust starts to grow quickly, and that sulphur dioxide and particles suspended in the air greatly increase it (Vernon, 1935). When the wall is colder than the dew point of the surrounding air, water condenses on the surface, and the likelihood of condensation is estimated from air temperature, relative humidity and surface temperature (ISO, 2017). In a line left unsealed, the swing between day and night temperatures can move air in and out, so even a line that has been dried can take in humid air again. The transfer-line study mentioned above also took humidity as the main suspect and tested carbon steel corrosion at relative humidities from 30 to 100% and at seasonal temperatures (Shukla et al., 2024).

Begin with how the ends were sealed. If rust is spread thinly near the ends and up the wall, rather than along the bottom where water stood, condensation is the likely route. At the storage site, work out the dew point from air temperature and relative humidity, measure the pipe surface temperature with a contact thermometer, and record the difference between the two in the morning and in the afternoon.

The task here is to keep a dried line dry. Seal the ends with blanks or rigid caps as soon as drying is finished, fill with dry nitrogen or dry air at a slight positive pressure for long storage, and measure the dew point of the air inside at set intervals. For long storage, also review adding a vapour-phase corrosion inhibitor with the supplier.

Finding the cause

Six hypotheses do not need six investigations at once. Rule out first what records and eyes can settle. Water source, chemical dosing, drain and drying dates and storage method can be checked on paper, and the position and form of the rust show once a few ends are opened. Water analysis and thickness measurement come after that.

The position and form of the rust point the way. Rust gathered at the bottom of the section, in sagging runs and dead legs points to trapped test water; thin rust spread evenly over a whole section points to water rich in oxygen and chloride or to slow drying. Spots at broken scale and around welds suggest mill scale and spatter, and rust near the ends climbing up the wall suggests humid air that got in later. If sections with and without chemical dosing differ sharply, look at the inhibitor.

If that still does not settle it, compare. Among sections tested on the same day with the same water, comparing the rust between sections that differed in chemicals, draining method or time to drying shows what made the difference. In the next test, immerse coupons of the same material in the test water, then after draining dry some at once and leave others as they are, changing only one thing at a time.

The final check is the next test. Open sections tested under the revised procedure at the same places after the same interval, and compare the area covered by rust and the depth of the spots with earlier records on the same basis. The cause has been found only when less rust is confirmed.

The hypotheses can overlap. Water left in a sagging run delays drying, water rich in chloride leaves salt on the wall even once it is dry, and crevices at mill scale and spatter become small pools that never drain. In such cases, put draining fully and drying at once right first, because while the wall stays dry, oxygen, chloride and surface crevices all lose their chance to feed the rust.

Limits and cautions

Test pressure and duration, test water quality, chemical type and concentration, and the dew point used as the drying criterion are set by design codes, the owner's specification and the chemicals' TDS, so numeric decisions follow those documents. Whether a line with deep pits or lost wall can stay in service is for a pressure equipment inspector or a corrosion specialist to judge, and if microbial corrosion is suspected, send samples to a laboratory to confirm it.

Safety matters too. For oxygen scavengers, inhibitors and biocides, follow the product's safety data sheet, the SDS, for protective equipment, and dispose of treated test water only after checking the discharge conditions that apply. Piping and vessels dried or filled with nitrogen are short of oxygen inside, so ventilate them and measure oxygen before anyone enters. When rust is removed by blasting or grinding, guard against dust and noise.

Sources

  1. Australian Stainless Steel Development Association [ASSDA]. (2010). Hydrostatic testing of stainless steels. Australian Stainless, 47. https://assda.asn.au/blog/33-hydrostatic-testing-of-stainless-steels
  2. Darwin, A., Annadorai, K., & Heidersbach, K. (2010). Prevention of corrosion in carbon steel pipelines containing hydrotest water – An overview (Paper No. 10401). CORROSION 2010. NACE International. https://doi.org/10.5006/C2010-10401
  3. De Chant, J., & Bruckner, W. H. (1968). Control of steel corrosion in chloride waters with anodic inhibitor. CORROSION 1968 (pp. 294–306). NACE International. https://doi.org/10.5006/C1968-68072
  4. Filice, S. E., McDermid, J. R., & Kish, J. R. (2022). Effect of accelerated cooling on linepipe steel mill scale and resulting localized corrosion susceptibility. Corrosion, 78(2), 168–180. https://doi.org/10.5006/3936
  5. Gomaa, S., El-Hossieny, O., & Alnaggar, M. (2024). Effects of mill scale and varying exposure conditions on corrosion behavior of A572 structural steel. Construction and Building Materials, 440, 136995. https://doi.org/10.1016/j.conbuildmat.2024.136995
  6. International Organization for Standardization [ISO]. (2012). ISO 9223:2012, Corrosion of metals and alloys — Corrosivity of atmospheres — Classification, determination and estimation. https://www.iso.org/standard/53499.html
  7. International Organization for Standardization [ISO]. (2017). ISO 8502-4:2017, Preparation of steel substrates before application of paints and related products — Tests for the assessment of surface cleanliness — Part 4: Guidance on the estimation of the probability of condensation prior to paint application. https://www.iso.org/standard/58061.html
  8. Javaherdashti, R., & Akvan, F. (2017). Hydrostatic testing, corrosion, and microbiologically influenced corrosion: A field manual for control and prevention. CRC Press.
  9. Revie, R. W., & Uhlig, H. H. (2008). Corrosion and corrosion control: An introduction to corrosion science and engineering (4th ed.). Wiley.
  10. Shukla, P. K., Fuentes, R. E., Wiersma, B. J., Girardot, C., Page, J., & Campbell, S. (2024). Effect of drying on corrosion mitigation of Hanford transfer lines (SRNL-STI-2024-00026). AMPP Annual Conference + Expo 2024. https://www.osti.gov/biblio/2322414
  11. U.S. Geological Survey [USGS]. (n.d.). Dissolved oxygen and water. Water Science School. Retrieved November 2026. https://www.usgs.gov/special-topics/water-science-school/science/dissolved-oxygen-and-water
  12. Vernon, W. H. J. (1935). A laboratory study of the atmospheric corrosion of metals. Part II.—Iron: The primary oxide film. Part III.—The secondary product or rust (influence of sulphur dioxide, carbon dioxide, and suspended particles on the rusting of iron). Transactions of the Faraday Society, 31, 1668–1700. https://doi.org/10.1039/TF9353101668

Product and site consultation

Leave your company, site and the product groups in use. Our engineer will get in touch to go through your site conditions and concerns. Materials, equipment, operating conditions and downstream steps show what should change and what can stay. If nothing needs to change, we will say so.

Contact us
After you contact us
  1. 01
    Site setup

    We confirm process conditions and needs first.

  2. 02
    Spec design

    We set the product spec and selection criteria.

  3. 03
    Comparison

    We compare matching candidates and propose.

  4. 04
    Tailored supply

    We supply on time and manage the stock.

  5. 05
    Site check

    We visit, check conditions of use and record.

  6. 06
    Use management

    We track use and change cycles to catch issues.

  7. 07
    Regular analysis

    We analyze the records and send a yearly report.