The IP Code, International Protection Marking, IEC standard 60529, sometimes interpreted as Ingress Protection Marking, classifies and rates the degree of protection provided against intrusion (body parts such as hands and fingers), dust, accidental contact, and water by mechanical casings and electrical enclosures. It is published by the International Electrotechnical Commission (IEC). The equivalent British standard is EN 60529.
The standard aims to provide users more detailed information than vague marketing terms such as waterproof. The digits (characteristic numerals) indicate conformity with the conditions summarized in the tables below. Where there is no data available to specify a protection rating with regard to one of the criteria, the digit is replaced with the letter X. The digit 0 is used where no protection is provided.
A rating of X for one or more of the protection criteria can be erroneously misinterpreted as "no protection". To illustrate, a piece of electronic equipment rated IPX7 will almost certainly demonstrate a robust resistance to the ingress of particles, even though a rating for ingress of solids hasn't been formally assigned. Hence, an X designation shouldn't be automatically misconstrued as a lack of protection.
For example, an electrical socket rated IP22 is protected against insertion of fingers and will not be damaged or become unsafe during a specified test in which it is exposed to vertically or nearly vertically dripping water. For example, a particular cellular phone rated at IP58 is "dust resistant" and can be "immersed in 1.5 meters of freshwater for up to 30 minutes". IP22 or 2X are typical minimum requirements for the design of electrical accessories for indoor use.
The ratings for water ingress are not cumulative beyond IPX6. A device which is compliant with IPX7, covering immersion in water, need not be compliant with IPX5 or IPX6, covering exposure to water jets. A device which meets both tests is indicated by listing both tests separated by a slash, e.g. IPX5/IPX7.
An additional number has sometimes been used to specify the resistance of equipment to mechanical impact. This mechanical impact is identified by the energy needed to qualify a specified resistance level, which is measured in joules (J). This has now been superseded by the separate 'IK code' specified in EN 62262.
Although dropped from the 3rd edition of IEC 60529 onwards, and not present in the EN version, older enclosure specifications will sometimes be seen with an optional third IP digit denoting impact resistance. Newer products are likely to be given an IK rating instead. However, there is not an exact correspondence of values between the old and new standards.