Closures are devices and techniques used to close or seal container such as a bottle, jug, jar, tube, can, etc. Closures can be a cap, cover, lid, plug, etc.
Other types of containers such as boxes and drums may also have closures but are not discussed in this article.
Many containers and packages require a means of closing. It can be a separate device or seal or sometimes an integral latch or lock. Depending on the contents and container, closures have several functions:
Many types of packaging with their closures are regulated for strength, safety, security, communication, recycling, and environmental requirements plus many others.
Closures need a means of attaching to the container with sufficient security. Threads, lugs, hinges, locks, adhesives, etc. are used. Many plastic closures are made by injection molding
Many closures need to have the ability to adjust to slight manufacturing variation in the container and the closure structure. Some closures are made of flexible material such as cork, rubber, or plastic foam. Often an o-ring or a closure liner (gasket made of pulp or foam cap liner) is used. Linerless closures often use a deformable plastic rim or structure to maintain the seal.
Secondary seals are common with sensitive products that may deteriorate or where extra security is needed. Foil or plastic innerseals are used on some bottles, Heat sealed lidding films are used on some tubs. External shrink bands, labels, and tapes are sometimes used outside the primary closure structure. Additionally, many closures feature ventilation to prevent bloating, collapse or explosion due to unequalized pressure during processing or storage. Venting technologies utilize common materials such as PTFE, PP, etc. These elements are preferred due to their ability to withstand temperatures of 260°C and water intrusion pressure levels of 770 mbar.
A screw closure is a mechanical device which is screwed on and off of a threaded "finish" on a container. Either continuous threads (C-T) or lugs are used. Metal caps can be either preformed or in some instances, rolled on after application. Plastic caps may use several types of molded polymer.
Some screw tops have multiple pieces. For example, a mason jar often has a lid with a built in rubbery seal and a separate threaded ring or band.
Main article: Bottle cap
Beverage bottles are frequently closed with crown beverage caps. These are shallow metal caps that are crimped into locking position around the head of the bottle.
Some closures snap on. For opening, the top is designed to pry off or, break off, or have a built in dispenser.
Some containers have a loose lid for a closure. Laboratory glassware often has ground glass joints that allow the pieces to be fitted together easily.
An Interference fit or friction fit requires some force to close and open, providing additional security. Paint cans often have a friction fit plug.
Main article: Tamper resistant
Main article: Tamper-evident
Resistance to tampering is required for some types of products. Container closures can be one of several layers of packaging to deter tampering and to provide evidence of attempts at tampering. *Sometimes tamper resistance is obtained by a tamper-evident band; separate or integral with the closure. 
Main article: Pump dispenser
A wide variety of convenience dispensing features can be built into closures. Spray bottles and cans with aerosol spray (valves, actuator) have special closure requirements. Pour spouts, triggers, sprayer cap, measuring attachments, sifting devices, etc. are common caps.
Main article: Spray bottle
A spray bottle is a bottle that can dispense, squirt, spray or mist fluids. A common use for spray bottles is dispensing cool cleaners, cosmetics, and chemical specialties.
Main article: Child-resistant packaging
Child-resistant packaging or C-R packaging has special closures designed to reduce the risk of children ingesting dangerous items. This is often accomplished by the use of a special safety cap. It is required by regulation for prescription drugs, over-the-counter medications, pesticides, and household chemicals.
Early pottery and ceramic containers often had lids that fit reasonably snug onto the body of the container. The narrow necks of ancient amphora were closed with a plug of cork, wood, or ceramic and sealed with mortar. Wooden Barrels often had bungholes closed by cork or wood bungs.
Some early tinplate cans were made with threaded necks for screw top closures.
Beverage bottles started using the Hutter Stopper in 1893. This involved a porcelain plug fitted with a rubber washer, which was then forced down into the lip of the bottle. This technique only works with carbonated beverages. The Hutter Stopper became standard in beer bottling in the late 1890s / early 1900s. Bail closures on bottles were invented by Henry William Putnam in 1859. These involved heavy wire bail attached to a bottle's neck that swung over the cork to hold it in.
The world's first modern bottle cap, the crown cork, was invented by William Painter in 1890 in Baltimore. The screw cap using rust resistant aluminum was first used in prescription drug bottling in the 1920s. Molded urea based bottle caps were first introduced in the early 1900s.
A history of accidents involving children opening household packaging and ingesting the contents led the US Congress to pass the Poison Prevention Packaging Act of 1970.
The International Society of Beverage Technologists (ISBT) is the main trade association for closure manufacturers. It develops voluntary industry standards for its members to use in the manufacture of closures.
((citation)): CS1 maint: location (link)