A power cord, line cord, or mains cable is a cable that temporarily connects an appliance to the mains electricity supply via a wall socket or extension cord. The terms are generally used for cables using a power plug to connect to a single-phase alternating current power source at the local line voltage—(generally 100 to 240 volts, depending on the location). The terms power cable, mains lead, flex or kettle lead are also used. A lamp cord (also known as a zip cord) is a light-weight, ungrounded, single-insulated two-wire cord used for small loads such as a table or floor lamp.

A cord set includes connectors molded to the cord at each end (see Appliance coupler). Cord sets are detachable from both the power supply and the electrical equipment, and consist of a flexible cord with electrical connectors at either end, one male, and one female. One end of the cord set is attached to a molded electrical plug; the other is typically a molded electrical receptacle to prevent the possibility of having an exposed live prong or pin which would cause electric shock. The female connector attaches to the piece of equipment or appliance while the male plug connects to the electrical receptacle or outlet.