Gold plating is a method of depositing a thin layer of gold onto the surface of another metal, most often copper or silver (to make silver-gilt), by chemical or electrochemical plating. This article covers plating methods used in the modern electronics industry; for more traditional methods, often used for much larger objects, see gilding.[clarification needed]
There are several types of gold plating used in the electronics industry:
- Soft, pure gold plating is used in the semiconductor industry. The gold layer is easily soldered and wire bonded. Its Knoop hardness ranges between 60–85. The plating baths have to be kept free of contamination.
- Soft, pure gold is deposited from special electrolytes. Entire printed circuit boards can be plated. This technology can be used for depositing layers suitable for wire bonding.
- Bright hard gold on contacts, with Knoop hardness between 120–300 and purity of 99.7–99.9% gold. Often contains a small amount of nickel and/or cobalt; these elements interfere with die bonding, therefore the plating baths cannot be used for semiconductors.
- Bright hard gold on printed circuit board tabs is deposited using lower concentration of gold in the baths. Usually contains nickel and/or cobalt as well. Edge connectors are often made by controlled-depth immersion of only the edge of the boards.
Gold plating chemistryEdit
There are five recognized classes of gold plating chemistry:
- Alkaline gold cyanide, for gold and gold alloy plating
- Neutral gold cyanide, for high-purity plating
- Acid gold plating for bright hard gold and gold alloy plating
- Non-cyanide, generally sulphite or chloride-based for gold and gold alloy plating
Gold plating of silver is used in the manufacture of jewelry. Silver atoms diffuse into the gold layer, causing slow gradual fading of its color and eventually causing tarnishing of the surface. This process may take months and even years, depending on the thickness of the gold layer. A barrier metal layer is used to counter this effect. Copper, which also migrates into gold, does so more slowly than silver. The copper is usually further plated with nickel. A gold-plated silver article is usually a silver substrate with layers of copper, nickel, and gold deposited on top of it.
Gold, applied by evaporated methods or electroplating, has been specified by NASA to thermally control spacecraft instruments, due to its 99% reflectivity in infrared wavelengths.
A layer of a suitable barrier metal, usually nickel, is often deposited on the copper substrate before the gold plating. The layer of nickel provides mechanical backing for the gold layer, improving its wear resistance. It also reduces the impact of pores present in the gold layer. 
Both the nickel and gold layers can be plated by electrolytic or electroless processes. There are many factors to consider in selection of either electrolytic or electroless plating methods. These include what the deposit will be used for, configuration of the part, materials compatibility and cost of processing. In different applications, electrolytic or electroless plating can have cost advantages.
At higher frequencies, the skin effect may cause higher losses due to higher electrical resistance of nickel; a nickel-plated trace can have its useful length shortened three times in the 1 GHz band in comparison with the non-plated one. Selective plating is used, depositing the nickel and gold layers only on areas where it is required and does not cause the detrimental side effects.
Now, a reliable nickel-free surface finish solution is available for high-frequency applications. 
Gold plating may lead to formation of gold whiskers.
Wire bonding between gold plated contacts and aluminium wires or between aluminium contacts and gold wires under certain conditions develops a brittle layer of gold-aluminium intermetallics, known as purple plague.
Gold reacts with both tin and lead in their liquid state, forming brittle intermetallics. When eutectic 63% tin – 37% lead solder is used, no lead-gold compounds are formed, because gold preferentially reacts with tin, forming the AuSn
4 compound. Particles of AuSn
4 disperse in the solder matrix, forming preferential cleavage planes, significantly lowering the mechanical strength and therefore reliability of the resulting solder joints.
If the gold layer does not completely dissolve into the solder, then slow intermetallic reactions can proceed in the solid state as the tin and gold atoms cross-migrate. Intermetallics have poor electrical conductivity and low strength. The ongoing intermetallic reactions also cause Kirkendall effect, leading to mechanical failure of the joint, similar to the degradation of gold-aluminium bonds known as purple plague.
A 2–3 µm layer of gold dissolves completely within one second during typical wave soldering conditions.  Layers of gold thinner than 0.5 µm (0.02 thou) also dissolve completely into the solder, exposing the underlying metal (usually nickel) to the solder. Impurities in the nickel layer can prevent the solder from bonding to it. Electroless nickel plating contains phosphorus. Nickel with more than 8% phosphorus is not solderable. Electrodeposited nickel may contain nickel hydroxide. An acid bath is required to remove the passivation layer before applying the gold layer; improper cleaning leads to a nickel surface difficult to solder. A stronger flux can help, as it aids dissolving the oxide deposits. Carbon is another nickel contaminant that hinders solderability.
- Weisberg, Alfred M. (1997). "Gold Plating". Products Finishing Magazine. Retrieved 2013-04-03.
- "Surface finishes for Better Reliability". Lilotree. Retrieved 1 Aug 2019.
- "A Novel & Cost-Effective Electroless Nickel Immersion Gold (ENIG) Surface Finish for Better Reliability of Electronic Assemblies". Lilotree. SMTA International. Retrieved 18 Oct 2018.
- "Nickel-gold plating copper PCB traces". Polar Instruments. 2003. Retrieved 2007-03-28.
- "Reliable Novel Nickel-Free Surface Finish Solution for High-Frequency PCB Applications". Lilotree. SMTA International. Retrieved 7 September 2019.