Protein primary structure is the ordered amino acid sequence of a polypeptide, linked by covalent peptide bonds. The approximately planar peptide bond restricts local geometry, while backbone torsion angles give conformational freedom subject to steric exclusion. Protein secondary structure comprises local backbone arrangements, especially the alpha helix, with backbone hydrogen bonds between residues and , and the beta sheet, whose strands are joined by backbone hydrogen bonds. Turns and loops connect these elements. Protein tertiary structure is the full three-dimensional organization of a single chain, often including several protein domains. Protein quaternary structure is the arrangement of multiple chains in a protein complex.
Protein folding is governed by the Gibbs free energy of the chain together with its solvent, not by the chain's energy alone. Folding reduces the chain's conformational entropy, but can gain solvent entropy through the hydrophobic effect, burying nonpolar side chains away from water. Favorable hydrogen bonds, Van der Waals forces, electrostatic interactions and sometimes covalent disulfide bonds stabilize particular structures. Steric repulsion prevents atomic overlap. At fixed temperature and pressure, the native ensemble is favored when its total is lower than competing ensembles. The balance depends on the solvent, pH, salt and ligands. Molecular chaperones help avoid aggregation or kinetic traps; a stable fold is not a perfectly rigid conformation, and some proteins have disordered regions.
For a soluble globular protein, a typical pattern is a nonpolar core and a polar, hydrated surface. A transmembrane protein instead presents nonpolar side chains to the hydrocarbon interior of the lipid bilayer. Membrane-spanning alpha helices satisfy their polar backbone groups through internal hydrogen bonds; a roughly membrane-thickness helix commonly contains about twenty residues, depending on tilt and bilayer thickness. Multiple helices can enclose polar channels or binding sites. Membrane-spanning beta barrels likewise expose mainly nonpolar groups outward towards lipid while arranging backbone hydrogen bonds between strands and often lining an aqueous pore with polar groups. Exposed loops and domains contacting water can resemble soluble proteins. Not every membrane-associated protein spans the membrane: peripheral attachment and lipid anchoring are distinct possibilities.
The organizing distinction is the environment of each surface: water favors accessible polar groups, while the membrane core favors outward-facing nonpolar groups. Buried polar groups can still be essential to a transport pathway or catalytic site.