Myoglobin is an iron- and oxygen-binding protein found in the muscle tissue of vertebrates in general and in almost all mammals. It is related to hemoglobin, which is the iron- and oxygen-binding protein in blood, specifically in the red blood cells. In humans, myoglobin is only found in the bloodstream after muscle injury. It is an abnormal finding, and can be diagnostically relevant when found in blood. 
Myoglobin is the primary oxygen-carrying pigment of muscle tissues. High concentrations of myoglobin in muscle cells allow organisms to hold their breath for a longer period of time. Diving mammals such as whales and seals have muscles with particularly high abundance of myoglobin. Myoglobin is found in Type I muscle, Type II A and Type II B, but most texts consider myoglobin not to be found in smooth muscle.
Myoglobin was the first protein to have its three-dimensional structure revealed by X-ray crystallography. This achievement was reported in 1958 by John Kendrew and associates. For this discovery, John Kendrew shared the 1962 Nobel Prize in chemistry with Max Perutz. Despite being one of the most studied proteins in biology, its physiological function is not yet conclusively established: mice genetically engineered to lack myoglobin are viable, but showed a 30% reduction in volume of blood being pumped by the heart during a contraction. They adapted to this deficiency through natural reactions to inadequate oxygen supply (hypoxia) and a widening of blood vessels (vasodilation). In humans myoglobin is encoded by the MBgene.
Myoglobin contains hemes, pigments responsible for the color of red meat. The color that meat takes is partly determined by the degree of oxidation of the myoglobin. In fresh meat the iron atom is the ferrous state bound to a dioxygen molecule (O2). Meat cooked well done is brown because the iron atom is now in the ferric (+3) oxidation state, having lost an electron. If meat has been exposed to nitrites, it will remain pink because the iron atom is bound to NO, nitric oxide (true of, e.g., corned beef or cured hams). Grilled meats can also take on a pink "smoke ring" that comes from the iron binding to a molecule of carbon monoxide. Raw meat packed in a carbon monoxide atmosphere also shows this same pink "smoke ring" due to the same principles. Notably, the surface of this raw meat also displays the pink color, which is usually associated in consumers' minds with fresh meat. This artificially induced pink color can persist, reportedly up to one year. Hormel and Cargill are both reported to use this meat-packing process, and meat treated this way has been in the consumer market since 2003.
Myoglobin is released from damaged muscle tissue (rhabdomyolysis), which has very high concentrations of myoglobin. The released myoglobin is filtered by the kidneys but is toxic to the renal tubular epithelium and so may cause Acute kidney injury. It is not the myoglobin itself that is toxic (it is a protoxin) but the ferrihemate portion that is dissociated from myoglobin in acidic environments (e.g., acidic urine, lysosomes).
Molecular orbital description of Fe-O2 interaction in myoglobin.
Myoglobin belongs to the globin superfamily of proteins, and as with other globins, consists of eight alpha helices connected by loops. Human globin contains 154 amino acids.
Myoglobin contains a porphyrin ring with an iron at its center. A proximalhistidine group (His-94) is attached directly to iron, and a distal histidine group (His-65) hovers near the opposite face. The distal imidazole is not bonded to the iron but is available to interact with the substrate O2. This interaction encourages the binding of O2, but not carbon monoxide (CO), which still binds about 240× more strongly than O2.
The binding of O2 causes substantial structural change at the Fe center, which shrinks in radius and moves into the center of N4 pocket. O2-binding induces "spin-pairing": the five-coordinate ferrous deoxy form is high spin and the six coordinate oxy form is low spin and diamagnetic.
Many models of myoglobin have been synthesized as part of a broad interest in transition metal dioxygen complexes. A well known example is the picket fence porphyrin, which consists of a ferrous complex of a sterically bulky derivative of tetraphenylporphyrin. In the presence of an imidazole ligand, this ferrous complex reversibly binds O2. The O2 substrate adopts a bent geometry, occupying the sixth position of the iron center. A key property of this model is the slow formation of the μ-oxo dimer, which is an inactive diferric state. In nature, such deactivation pathways are suppressed by protein matrix that prevents close approach of the Fe-porphyrin assemblies.
A picket-fence porphyrin complex of Fe, with axial coordination sites occupied by methylimidazole (green) and dioxygen. The R groups flank the O2-binding site.
^Mammen PP, Kanatous SB, Yuhanna IS, Shaul PW, Garry MG, Balaban RS, Garry DJ (2003). "Hypoxia-induced left ventricular dysfunction in myoglobin-deficient mice". American Journal of Physiology. Heart and Circulatory Physiology285 (5): H2132–41. doi:10.1152/ajpheart.00147.2003. PMID12881221.
^McGee H (2004). On Food and Cooking: The Science and Lore of the Kitchen. New York: Scribner. p. 148. ISBN0-684-80001-2.
^Fraqueza MJ, Barreto AS (September 2011). "Gas mixtures approach to improve turkey meat shelf life under modified atmosphere packaging: the effect of carbon monoxide". Poult. Sci.90 (9): 2076–84. doi:10.3382/ps.2011-01366. PMID21844276.
^Weber M, Rau M, Madlener K, Elsaesser A, Bankovic D, Mitrovic V, Hamm C (November 2005). "Diagnostic utility of new immunoassays for the cardiac markers cTnI, myoglobin and CK-MB mass". Clin. Biochem.38 (11): 1027–30. doi:10.1016/j.clinbiochem.2005.07.011. PMID16125162.
Collman JP, Boulatov R, Sunderland CJ, Fu L (February 2004). "Functional analogues of cytochrome c oxidase, myoglobin, and hemoglobin". Chem. Rev.104 (2): 561–88. doi:10.1021/cr0206059. PMID14871135.
Reeder BJ, Svistunenko DA, Cooper CE, Wilson MT (December 2004). "The radical and redox chemistry of myoglobin and hemoglobin: from in vitro studies to human pathology". Antioxid. Redox Signal.6 (6): 954–66. doi:10.1089/ars.2004.6.954. PMID15548893.
Schlieper G, Kim JH, Molojavyi A, Jacoby C, Laussmann T, Flögel U, Gödecke A, Schrader J (April 2004). "Adaptation of the myoglobin knockout mouse to hypoxic stress". Am. J. Physiol. Regul. Integr. Comp. Physiol.286 (4): R786–92. doi:10.1152/ajpregu.00043.2003. PMID14656764.
Roy A, Sen S, Chakraborti AS (February 2004). "In vitro nonenzymatic glycation enhances the role of myoglobin as a source of oxidative stress". Free Radic. Res.38 (2): 139–46. doi:10.1080/10715160310001638038. PMID15104207.
Stewart JM, Blakely JA, Karpowicz PA, Kalanxhi E, Thatcher BJ, Martin BM (March 2004). "Unusually weak oxygen binding, physical properties, partial sequence, autoxidation rate and a potential phosphorylation site of beluga whale (Delphinapterus leucas) myoglobin". Comp. Biochem. Physiol. B, Biochem. Mol. Biol.137 (3): 401–12. doi:10.1016/j.cbpc.2004.01.007. PMID15050527.