Spider silk is a protein fibre or silk spun by spiders. Spiders use silk to make webs or other structures that function as adhesive traps to catch prey, to entangle and restrain prey before biting, to transmit tactile information, or as nests or cocoons to protect their offspring. They can also use the silk to suspend themselves from height, to float through the air, or to glide away from predators. Most spiders vary the thickness and adhesiveness of their silk for different uses.
 In some cases, spiders may even use silk as a source of food. While methods have been developed to collect silk from a spider by force, it is difficult to gather silk from many spiders compared to silk-spinning organisms such as silkworms.
 All spiders produce silk, and even in non-web-building spiders, silk is intimately tied to courtship and mating. Silk produced by females provides a transmission channel for male vibratory courtship signals, while webs and draglines provide a substrate for female sex pheromones. Observations of male spiders producing silk during sexual interactions are also common across phylogenetically widespread taxa. However, the function of male-produced silk in mating has received very little study.
 Silks, like many other biomaterials, have a hierarchical structure. The primary structure is the amino acid sequence of its proteins (spidroin), mainly consisting of highly repetitive glycine and alanine blocks, which is why silks are often referred to as a block co-polymer. On a secondary structure level, the short side chained alanine is mainly found in the crystalline domains (beta sheets) of the nanofibril, glycine is mostly found in the so-called amorphous matrix consisting of helical and beta turn structures. It is the interplay between the hard crystalline segments, and the strained elastic semi-amorphous regions, that gives spider silk its extraordinary properties. Various compounds other than protein are used to enhance the fibre's properties. Pyrrolidine has hygroscopic properties which keeps the silk moist while also warding off ant invasion. It occurs in especially high concentration in glue threads. Potassium hydrogen phosphate releases hydrogen ions in aqueous solution, resulting in a pH of about 4, making the silk acidic and thus protecting it from fungi and bacteria that would otherwise digest the protein. Potassium nitrate is believed to prevent the protein from denaturing in the acidic milieu.
 This first very basic model of silk was introduced by Termonia in 1994 who suggested crystallites embedded in an amorphous matrix interlinked with hydrogen bonds. This model has refined over the years: semi-crystalline regions were found as well as a fibrillar skin core model suggested for spider silk, later visualised by AFM and TEM. Sizes of the nanofibrillar structure and the crystalline and semi-crystalline regions were revealed by neutron scattering.
 It has been possible to relate microstructural information and macroscopic mechanical properties of the fibres. The results show that ordered regions (i) mainly reorient by deformation for low-stretched fibres and (ii) the fraction of ordered regions increases progressively for higher stretching of the fibres.
  Each spider and each type of silk has a set of mechanical properties optimised for their biological function.
 Most silks, in particular dragline silk, have exceptional mechanical properties. They exhibit a unique combination of high tensile strength and extensibility (ductility). This enables a silk fibre to absorb a large amount of energy before breaking (toughness, the area under a stress-strain curve).
 A frequent mistake made in the mainstream media is to confuse strength and toughness, when comparing silk to other materials.[citation needed] Weight for weight, silk is stronger than steel, but not as strong as Kevlar. Spider silk is, however, tougher than both.
 The variability of mechanical properties of spider silk fibres may be important and it is related to their degree of molecular alignment. Mechanical properties depend strongly on the ambient conditions, i.e. humidity and temperature.
 A dragline silk's tensile strength is comparable to that of high-grade alloy steel (450−2000 MPa), and about half as strong as aramid filaments, such as Twaron or Kevlar (3000 MPa).
 Consisting of mainly protein, silks are about a sixth of the density of steel (1.3 g/cm3). As a result, a strand long enough to circle the Earth would weigh about 2 kilograms (4.4 lb). (Spider dragline silk has a tensile strength of roughly 1.3 GPa. The tensile strength listed for steel might be slightly higher – e.g. 1.65 GPa, but spider silk is a much less dense material, so that a given weight of spider silk is five times as strong as the same weight of steel.)
 The energy density of dragline spider silk is roughly 1.2×108 J/m3.
 Silks are also extremely ductile, with some able to stretch up to five times their relaxed length without breaking.
 The combination of strength and ductility gives dragline silks a very high toughness (or work to fracture), which "equals that of commercial polyaramid (aromatic nylon) filaments, which themselves are benchmarks of modern polymer fibre technology".
 While unlikely to be relevant in nature, dragline silks can hold their strength below -40 °C (-40 °F) and up to 220 °C (428 °F). As occurs in many materials, spider silk fibres undergo a glass transition. The glass-transition temperature depends on the humidity, as water is a plasticiser for the silk.
 When exposed to water, dragline silks undergo supercontraction, shrinking up to 50% in length and behaving like a weak rubber under tension. Many hypotheses have been suggested as to its use in nature, with the most popular being to automatically tension webs built in the night using the morning dew.[citation needed]
 The toughest known spider silk is produced by the species Darwin's bark spider (Caerostris darwini): "The toughness of forcibly silked fibers averages 350 MJ/m3, with some samples reaching 520 MJ/m3. Thus, C. darwini silk is more than twice as tough as any previously described silk and over 10 times tougher than Kevlar".
 Silk fibre is a two-compound pyriform secretion, spun into patterns (called "attachment discs") that are employed to adhere silk threads to various surfaces using a minimum of silk substrate. The pyriform threads polymerise under ambient conditions, become functional immediately, and are usable indefinitely, remaining biodegradable, versatile and compatible with numerous other materials in the environment. The adhesive and durability properties of the attachment disc are controlled by functions within the spinnerets. Some adhesive properties of the silk resemble glue, consisting of microfibrils and lipid enclosures.
 All spiders produce silks, and a single spider can produce up to seven different types of silk for different uses. This is in contrast to insect silks, where an individual usually only produces one type of silk. Spider silks may be used in many different ecological ways, each with properties to match the silk's function. As spiders have evolved, so has their silks' complexity and diverse uses, for example from primitive tube webs 300–400 million years ago to complex orb webs 110 million years ago.
 Meeting the specification for all these ecological uses requires different types of silk suited to different broad properties, as either a fibre, a structure of fibres, or a silk-globule. These types include glues and fibres. Some types of fibres are used for structural support, others for constructing protective structures. Some can absorb energy effectively, whereas others transmit vibration efficiently. In a spider, these silk types are produced in different glands; so the silk from a particular gland can be linked to its use by the spider.
 Many species of spiders have different glands to produce silk with different properties for different purposes, including housing, web construction, defence, capturing and detaining prey, egg protection, and mobility (fine "gossamer" thread for ballooning, or for a strand allowing the spider to drop down as silk is extruded). Different specialised silks have evolved with properties suitable for different uses. For example, Argiope argentata has five different types of silk, each used for a different purpose:
 The production of silks, including spider silk, differs in an important aspect from the production of most other fibrous biological materials: rather than being continuously grown as keratin in hair, cellulose in the cell walls of plants, or even the fibres formed from the compacted faecal matter of beetles; it is "spun" on demand from liquid silk precursor out of specialised glands.
 The spinning process occurs when a fibre is pulled away from the body of a spider, whether by the spider's legs, by the spider's falling under its own weight, or by any other method including being pulled by humans. The term "spinning" is misleading because no rotation of any component occurs, but rather comes from analogy to the textile spinning wheels. Silk production is a pultrusion, similar to extrusion, with the subtlety that the force is induced by pulling at the finished fibre rather than being squeezed out of a reservoir. The unspun silk fibre is pulled through silk glands of which there may be both numerous duplicates and different types of glands on any one spider species.
 The gland's visible, or external, part is termed the spinneret. Depending on the complexity of the species, spiders will have two to eight spinnerets, usually in pairs. There exist highly different specialised glands in different spiders, ranging from simply a sac with an opening at one end, to the complex, multiple-section major ampullate glands of the golden silk orb-weavers.
 Behind each spinneret visible on the surface of the spider lies a gland, a generalised form of which is shown in the figure to the right, "Schematic of a generalised gland".
 Throughout the process the unspun silk appears to have a nematic texture, in a similar manner to a liquid crystal, arising in part due to the extremely high protein concentration of silk dope (around 30% in terms of weight per volume). This allows the unspun silk to flow through the duct as a liquid but maintain a molecular order.
 As an example of a complex spinning field, the spinneret apparatus of an adult Araneus diadematus (garden cross spider) consists of the glands shown below. Similar multiple gland architecture exists in the black widow spider.
 To artificially synthesise spider silk into fibres, there are two broad areas that must be covered. These are synthesis of the feedstock (the unspun silk dope in spiders), and synthesis of the spinning conditions (the funnel, valve, tapering duct, and spigot). There have been a number of different approaches but few of these methods have produced silk that can efficiently be synthesised into fibres.
 The molecular structure of unspun silk is both complex and extremely long. Though this endows the silk fibres with their desirable properties, it also makes replication of the fibre somewhat of a challenge. Various organisms have been used as a basis for attempts to replicate some components or all of some or all of the proteins involved. These proteins must then be extracted, purified, and then spun before their properties can be tested.
 Spider silks with comparatively simple molecular structure need complex ducts to be able to spin an effective fibre. There have been a number of methods used to produce fibres, of which the main types are briefly discussed below.
 Feedstock is simply forced through a hollow needle using a syringe. This method has been shown to make fibres successfully on multiple occasions.
 Although very cheap and easy to produce, the shape and conditions of the gland are very loosely approximated. Fibres created using this method may need encouragement to change from liquid to solid by removing the water from the fibre with such chemicals as the environmentally undesirable methanol or acetone, and also may require post-stretching of the fibre to attain fibres with desirable properties.
 Placing a solution of spider silk on a superhydrophobic surface can generate sheets, particles, and nanowires of spider silk. 


 Self-assembly of silk at standing liquid-gas interphases of a spider silk solution allows the formation of tough and strong sheets. These sheets are now explored for mimicking the basal membrane in tissue modeling.


 As the field of microfluidics matures, it is likely that more attempts to spin fibres will be made using microfluidics. These have the advantage of being very controllable and able to test spin very small volumes of unspun fibre but setup and development costs are likely to be high. A patent has been granted in this area for spinning fibres in a method mimicking the process found in nature, and fibres are successfully being continuously spun by a commercial company.
 Electrospinning is a very old technique whereby a fluid is held in a container in a manner such that it is able to flow out through capillary action. A conducting substrate is positioned below, and a large difference in electrical potential is applied between the fluid and the substrate. The fluid is attracted to the substrate, and tiny fibres jump almost instantly from their point of emission, the Taylor cone, to the substrate, drying as they travel. This method has been shown to create nano-scale fibres from both silk dissected from organisms and regenerated silk fibroin.
 Silk can be formed into other shapes and sizes such as spherical capsules for drug delivery, cell scaffolds and wound healing, textiles, cosmetics, coatings, and many others. Spider silk proteins can also self-assemble on superhydrophobic surfaces to generate nanowires, as well as micron-sized circular sheets. It has recently been shown that recombinant spider silk proteins can self-assemble at the liquid-air interface of a standing solution to form protein-permeable, strong, and flexible nanomembranes that support cell proliferation. Suggested applications include skin transplants, and supportive membranes in organ-on-a-chip. These spider silk nanomembranes have also been used to create a static in-vitro model of a blood vessel.
 Replicating the complex conditions required to produce fibres that are comparable to spider silk has proven difficult in research and early-stage manufacturing. Through genetic engineering, Escherichia coli bacteria, yeasts, plants, silkworms, and animals other than silkworms have been used to produce spider silk proteins, which have different, simpler characteristics than those from a spider. Extrusion of protein fibres in an aqueous environment is known as "wet-spinning". This process has so far produced silk fibres of diameters ranging from 10 to 60 μm, compared to diameters of 2.5–4 μm for natural spider silk. Artificial spider silks have fewer and simpler proteins than natural dragline silk, and are consequently half the diameter, strength, and flexibility of natural dragline silk.
 Due to spider silk being a scientific research field with a long and rich history, there can be unfortunate occurrences of researchers independently rediscovering previously published findings. What follows is a table of the discoveries made in each of the constituent areas, acknowledged by the scientific community as being relevant and significant by using the metric of scientific acceptance, citations. Thus, only papers with 50 or more citations are included.
 The earliest recorded attempt to weave fabric from spider silk was conducted in 1709 by François Xavier Bon who, using a process similar to creating silkworm silk, wove silk derived spider's egg cocoons into three pairs of stockings and gloves. Fifty years later the Spanish Jesuit missionary Ramón M. Termeyer [pl], invented a reeling device for harvesting spider's silk directly from a spider's body, allowing it to be spun into threads. Neither Bon nor Termeyer were successful in producing spider's silk in commercially viable quantities.
 The development of methods to mass-produce spider silk has led to the manufacturing of military, medical, and consumer goods, such as ballistics armour, athletic footwear, personal care products, breast implant and catheter coatings, mechanical insulin pumps, fashion clothing, and outerwear. However, due to the difficulties in extracting and processing substantial amounts of spider silk, the largest known piece of cloth made of spider silk is an 11-by-4-foot (3.4 by 1.2 m) textile with a golden tint made in Madagascar in 2009. Eighty-two people worked for four years to collect over one million golden orb spiders and extract silk from them. In 2012, spider silk fibres were used to create a set of violin strings.
 Peasants in the southern Carpathian Mountains used to cut up tubes built by Atypus and cover wounds with the inner lining. It reportedly facilitated healing, and even connected with the skin. This is believed to be due to the antiseptic properties of spider silk and because the silk is rich in vitamin K, which can be effective in clotting blood.[verify] The silk of Nephila clavipes was used in research concerning mammalian neuronal regeneration.
 Spider silk has been used as a thread for crosshairs in optical instruments such as telescopes, microscopes, and telescopic rifle sights. In 2011, spider silk fibres were used in the field of optics to generate very fine diffraction patterns over N-slit interferometric signals used in optical communications. Spider silk has been used to create biolenses that could be used in conjunction with lasers to create high-resolution images of the inside of the human body.
 Spider silk has been used to suspend inertial confinement fusion targets during laser ignition, as it remains considerably elastic and has a high energy to break at temperatures as low as 10–20 K. In addition, it is made from "light" atomic number elements that won't emit x-rays during irradiation that could preheat the target so that the pressure differential required for fusion is not achieved.