Introduction to API 12J
API 12J, “Specification for Oil and Gas Separators ,” is the primary standard of the American Petroleum Institute (API). This standard governs the design, manufacture, and testing of oil and gas separators.
It establishes minimum requirements for the design, materials, manufacturing, testing, and labeling of separation equipment. These systems are typically used in the early stages of oil and gas production to separate the different phases—gas, oil, and water.
In short, the oil-gas mixture emerging from an oil well consists of natural gas, oil, and water. Separating these three phases requires equipment capable of handling differences in density, pressure, and other physical properties. API standard 12J provides recommendations for the design and manufacture of such equipment.
History and development of standards
The API 12J standard was first published in the 1960s and has been continuously updated since then. The eighth edition was published in October 2008 and came into effect in April 2009.
This version is the most comprehensive and detailed version of the standard to date, providing detailed information on the design, testing, and manufacturing of remote control systems.
In recent years, the API has published a new version of API RP 12J (Recommended Practice) , which focuses on process design and aims to modernize and improve separation processes. As a result, specification 12J has been gradually phased out of the official API certification system.
Nevertheless, API 12J remains the current reference standard for the design and construction of separation plants in many oilfield projects worldwide.
Standard application
The API 12J standard applies to installations that receive multiphase flows (oil, gas, and water) from oil wells or production pipelines and require separation. These installations are typically installed at wellheads or collection points.
The types of fractures covered by this standard include:
-
Vertical partition
-
Horizontal single-drum separator
-
horizontal double cylinder separator
-
ball separator
The selection of the appropriate filter type is based on specific flow conditions, the gas-liquid ratio, the operating pressure, and the available space. API standard 12J defines the criteria for design, selection, and testing.
Main components of the standard
1. Scope of application
This standard clearly defines its scope from the outset: API 12J specifies minimum requirements for the design, manufacture, assembly, and testing of separators for separating oil and gas or oil, gas, and water in the system.
Unless otherwise agreed between the manufacturer and the purchaser, these devices must be manufactured in accordance with ASME Section 8, Part 1, “Pressure Characteristics.”
This standard generally does not apply to filters, centrifugal separators, and sand separators.
2. Design and construction materials
The design section covers aspects such as material selection, hull strength, design pressure, hydrostatic testing, joints, welding, and surface treatment.
All materials used must be resistant to pressure, heat, and environmental corrosion. In environments with acidic gases containing hydrogen sulfide (H₂S) or carbon dioxide (CO₂), sulfide-resistant materials or suitable coatings are required.
This section also addresses the design of internal fittings such as baffles, screens, vents, and droplet separators.
3. Tests and Experiments
Devices manufactured according to API 12J standards must undergo quality control and stress testing. Key tests include:
-
Hydrostatic testing
-
Leakage and water tightness tests
-
Weld inspection and non-destructive testing (NDT)
-
Inspection of the internal equipment and the insulation condition.
All these steps must be carried out in the presence of the expert appointed by the buyer or their authorized representative.
4. Labels and documents
Each separator must be fitted with a nameplate indicating the manufacturer’s name, serial number, year of manufacture, design pressure and temperature, tare weight, and information such as “Manufactured to API 12J”.
The buyer must also be provided with the official design documentation, test reports, construction drawings, and operating instructions.
API 12J Process Design
Although the standard focuses primarily on mechanical aspects, its scope also includes principles of process design. The most important process standards include the following:
1. Apparent gas velocity
To prevent droplets from entering the gas outlet, the apparent gas velocity must be determined.
This velocity depends on the density of the gas and liquid, the operating temperature, and the permissible droplet size. An empirical coefficient K is used for the design, the value of which varies depending on the separator type. K is higher for horizontal separators and lower for vertical ones.
2. Liquid residence time
To completely separate water and oil, the liquid content of the separator must be sufficiently high to allow the liquid to settle and separate.
Typically, the residence time is 3 to 5 minutes for light oils (API density above 35) and 5 to 10 minutes for heavy or emulsified oils.
3. Type and size of the separator
The choice of separator type depends on the liquid composition, the gas-liquid ratio, the oil viscosity, and the available space.
-
Vertical separators are better suited for logistics processes with high gas-liquid ratios.
-
For high liquid flow rates and more stable operating conditions , horizontal separators are the best choice.
-
Ball pumps are suitable for applications with low flow rates and limited space.
4. Internal Team
A rational design of the internal components plays a crucial role in improving separation efficiency. This includes:
-
A device for the uniform distribution of liquids.
-
Reflectors are used to reduce turbulence.
-
De-icing devices are used to remove liquid droplets from the airflow.
-
The API 12J standard for level controllers contains general guidelines and recommendations for the design of these components.
Methods of implementation in design and operation
Several basic principles must be observed for the successful implementation of the API 12J standard in industrial projects:
-
Select the appropriate separator type depending on the operating conditions.
-
The composition of the incoming materials is carefully checked, including the ratio of gas, water and oil.
-
Corrosion and ambient temperature must be taken into account, especially in areas containing hydrogen sulfide or carbon dioxide.
-
To ensure the correct functioning of the devices, factory and field tests are carried out.
-
The design is safe and easy to maintain.
-
It fully meets the printing specifications and safety standards.
-
Complete records of document control and equipment specifications are retained for future audits.
Advantages of API 12J compliance
Applying the requirements of this standard can bring numerous advantages during the planning, construction and operation phases:
-
Improving occupational safety in production facilities
-
Ensuring the proper operation of the separator and the quality of the discharged liquid.
-
Reducing the probability of planning and construction errors
-
Simplifying the testing and approval process for manufacturers
-
Adherence to material and welding standards increases the service life of the equipment.
-
Because it complies with the API reference specifications, it facilitates collaboration on international projects.

Limitations and problems
While the API-12J standard offers many advantages, it also has some limitations:
-
This specification sets minimum requirements; therefore, in certain situations (e.g., very high flow rates or emulsion flow) a special design may be necessary .
-
API 12J does not directly address dynamic problems such as unstable flow or the presence of solids.
-
Following the removal of the standard from the official Monogram Certification Programme, manufacturers can no longer obtain the API monogram mark according to the 12J standard.
-
For a detailed process design, it is recommended to refer to the new standard API RP 12J , which describes detailed calculations and design principles.
Standard Iranian application
This standard is widely used in onshore and offshore oil and gas projects in Iran.
Given the diversity of Iranian oil fields (ranging from heavy oil to sour natural gas), it is crucial to adapt the standard’s requirements to actual operating conditions. The following are some key points that apply to Iran:
-
Verification of the exact composition of the liquid (the ratio of gas, oil and water).
-
Take into account the presence of acidic gases and use materials that are resistant to hydrogen sulfide.
-
Due to the high temperatures and aggressive environmental conditions in the southern part of the country.
-
Design of the separator size to account for fluctuations in the oil well flow rate
-
Pressure and leak tests were carried out in accordance with applicable standards before commissioning.
-
Complies with national safety requirements as well as API and ASME standards.
Important technical aspects of the design
a) Formula for the apparent velocity of a gas
When designing a separator, the apparent gas velocity is a crucial factor to prevent liquid entrainment at the outlet. This velocity is determined by the relationship between the density difference of the gas and the liquid and the droplet size.
The greater the density difference between the gas and the liquid, the higher the permissible velocity. Therefore, options for denser gases or less dense liquids must be carefully considered during the design process.
b) The time the liquid remains
In a three-phase separator, the residence time of the liquid must be sufficient to allow the water molecules to separate from the oil. If the residence time is too short, the water flows out along with the oil, and vice versa, reducing the separation efficiency.
Designers determine the residence time by calculating the flow rate and volume of the liquid in the separator.
c) Specify the type of separator.
At high gas-liquid ratios, a vertical separator is the optimal choice, as it allows for a shorter gas path and a higher liquid separation rate.
Conversely, for large liquid volumes, a horizontal separator is more efficient due to its larger gas-liquid contact area and longer contact time.
In confined installation spaces (e.g., on offshore platforms), a ball separator is used.
d) Document records
Accurate documentation, including drawings, calculations, test reports, and data sheets, is essential for compliance with standards . Even with a reliable device design, inadequate documentation can lead to rejection during inspection.
Comparison of API Spec 12J and API RP 12J
Specification 12J focuses primarily on mechanical, manufacturing, materials engineering, and testing aspects.
RP 12J, on the other hand, focuses on process design, separator performance analysis, specific operating conditions, and performance optimization.
Therefore, it is recommended to use both versions together in new projects to ensure that the mechanical and process engineering characteristics meet current requirements.
In conclusion
API 12J is one of the most authoritative international standards for the design and construction of oil and gas separators. This standard significantly contributes to improving the safety and efficiency of production facilities and provides detailed recommendations for material selection, design, testing, and marking. By complying with this standard, companies can ensure the proper operation
of their facilities, reduce maintenance costs, and extend the service life of their process equipment.
However, for optimal results, it is recommended to use the supplementary guidelines of RP 12J in conjunction with the design and to adapt the design to the specific conditions of each field (fluid properties, pressure, temperature and corrosive environment).
In short, API 12J is not just a manufacturing standard, but also a foundation for trust and quality in the design and implementation of critical facilities in the oil and gas industry.