The triboelectric effect (also known as triboelectricity, triboelectric charging, triboelectrification, or tribocharging) describes electric charge transfer between two objects when they contact or slide against each other. It can occur with different materials, such as the sole of a shoe on a carpet, or between two pieces of the same material. It is ubiquitous, and occurs with differing amounts of charge transfer (tribocharge) for all solid materials. There is evidence that tribocharging can occur between combinations of solids, liquids and gases, for instance liquid flowing in a solid tube or an aircraft flying through air.
Often static electricity is a consequence of the triboelectric effect when the charge stays on one or both of the objects and is not conducted away. The term triboelectricity has been used to refer to the field of study or the general phenomenon of the triboelectric effect, or to the static electricity that results from it. When there is no sliding, tribocharging is sometimes called contact electrification, and any static electricity generated is sometimes called contact electricity. The terms are often used interchangeably, and may be confused.