Answer
In the context of Port State Control (PSC) inspections (under regional agreements like the Paris MOU, Tokyo MOU, or Indian Ocean MOU), Code 17 and Code 30 are standard "Action Taken" codes issued by a Port State Control Officer (PSCO).
While both codes require the vessel to resolve issues before sailing, they represent entirely different levels of severity, administrative procedures, and consequences for the ship and company.
1. Quick Summary Comparison
| Feature | Code 17 | Code 30 |
|---|---|---|
| Official Meaning | Rectify deficiency before departure. | Grounds for Detention (Detainable Deficiency). |
| Severity Level | Major / Significant Deficiency. | Critical / Severe Deficiency (Unseaworthy vessel). |
| Official Detention? | No. The ship is not officially detained. | Yes. The ship is placed under official detention. |
| PSC Re-inspection | Often not mandatory; proof of repair via email/agent may suffice (depends on the port). | Mandatory. The PSCO must physically return to verify the rectification before lifting the code. |
| External Impact | Low external impact if closed out immediately. | High impact: Flag State, Classification Society (RO), and Company DPA must be officially notified. |
| KPIs & Company Profile | Does not hurt the company’s PSC target factor. | Severely damages the company profile and ship's risk rating. |
2. In-Depth Technical Breakdown
Code 17: Rectify Deficiency Before Departure
When a PSCO issues a Code 17, they have found an item non-compliant with international conventions (SOLAS, MARPOL, STCW, etc.), but it is not severe enough on its own to make the ship immediately unseaworthy or hazardous to life or the environment.
The Mandate: The Master is instructed that the defect must be fully repaired and brought to a compliant state before the vessel clears port limits. Leaving port with an unrectified Code 17 means the vessel is intentionally sailing in an unseaworthy state, which carries severe legal penalties.
Engine Room Example: One of the three auxiliary engines has a leaky fuel injector valve body or a defective low lube oil pressure alarm, but the other two generators are fully functional and capable of handling the maximum sea load plus redundant safety margins.
Clearance: Once the ship’s staff finishes the repair, the Master typically provides evidence (photos, logbook entries, calibration reports) through the ship's agent to the PSC office. If satisfied, the PSCO closes it out using Code 10 (Deficiency Rectified) without needing to physically re-board the ship.
Code 30: Grounds for Detention
Code 30 is the most dreaded code during a PSC inspection. It means the surveyor has discovered a critical deficiency (or a cumulative combination of major deficiencies) that renders the ship a direct threat to safety, human life, or the marine environment.
The Mandate: The vessel is prohibited from leaving the berth or port. The PSCO will issue a formal Notice of Detention to the Master.
Engine Room Example: The Oily Water Separator (OWS) 15-ppm monitor bypass valve arrangement is altered ("magic pipe" scenario), the emergency fire pump fails to take suction during a live drill, or quick-closing valves for the fuel tanks are found intentionally blocked or jammed open.
The Administrative Chain Reaction:
The PSCO issues Code 30.
The Flag State administration and the vessel's Classification Society (Recognized Organization) are formally notified.
The Classification Society surveyor must usually come onboard to conduct an occasional survey and issue a report.
The company must raise an official ISM NC, Triggering an Unscheduled External ISM Audit
If the surveyor asks: "What is the difference between a Code 17 and a Code 30 deficiency?"
Your structured Management-Level response:
"Sir, both codes require rectification prior to the vessel's departure, but they differ fundamentally in severity, administrative action, and impact on the vessel’s status.
A Code 17 is issued for a notable deficiency that does not pose an immediate danger to the crew, ship, or environment. The ship is not officially detained. The ship's staff must rectify the item before sailing, and it can often be closed out by submitting documented proof of repair via the agent to the PSCO.
A Code 30, on the other hand, means Grounds for Detention. It is applied to critical safety or environmental failures—such as an inoperable emergency fire pump or severe MARPOL violations—rendering the vessel unseaworthy. This activates a formal detention notice, requiring immediate notification of the Flag State and Classification Society. The vessel is legally barred from sailing until a physical re-inspection is conducted by the PSCO to verify compliance and formally lift the detention."