The purpose of this chapter is to discuss the codes and standards employed in the oil and gas industry in order to maintain high levels of safety valve quality and reliability. In accordance with law, contract, or industry practice, industrial equipment, including valves, must comply with codes, standards, and specifications. In different countries – even within the same country – and within different industries, these codes, standards, and specifications may differ. American Petroleum Institute (API), American Society of Mechanical Engineers (ASME), and the International Organization for Standardization (ISO) are the most common codes and standards for safety valves. Various ASME Boiler and Pressure Vessel Codes (BPVCs) and piping codes are briefly discussed. Also included are five API standards that address safety relief valves and relieving devices. A brief discussion is provided on BS 6759, which is no longer valid and consists of three parts. Additionally, Australian pressure safety valve AS 1271 is briefly discussed in this chapter. A brief explanation of hydrogen sulfide corrosion protection is provided by the National Association of Corrosion Engineers (NACE). In compliance with Pressure Equipment Directive (PED) 2014/68/EU and Pressure Equipment (Safety) Regulation 2016 (PE(S)R), pressure equipment destined for Europe and the United Kingdom must be marked with CE and UKCA.