Pyrrolysine, the twenty-second amino acid found to be encoded in the natural genetic code, is necessary for all of the known pathways by which methane is formed from methylamines. Pyrrolysine comprises a methylated pyrroline carboxylate in amide linkage to the ∊-amino group of L-lysine. In certain Archaea, three methyltransferases initiate methanogenesis from the various methylamines, and these enzymes are encoded by genes with an in-frame amber codon that is translated as pyrrolysine. Escherichia coli that has been transformed with the pylTSBCD genes from methanogenic Archaea can incorporate endogenously biosynthesized pyrrolysine into proteins. The decoding of UAG as pyrrolysine requires pylT, which produces tRNAPyl (also called tRNACUA), and pylS, which encodes a pyrrolysyl-tRNA synthetase. The pylB, pylC and pylD genes are each required for tRNA-independent pyrrolysine synthesis. Pyrrolysine is the last remaining genetically encoded amino acid with an unknown biosynthetic pathway. Here we provide genetic and mass spectrometric evidence for a pylBCD-dependent pathway in which pyrrolysine arises from two lysines. We show that a newly uncovered UAG-encoded amino acid, desmethylpyrrolysine, is made from lysine and exogenous D-ornithine in a pylC-dependent process followed by a pylD-dependent process, but it is not further converted to pyrrolysine. These results indicate that the radical S-adenosyl-L-methionine (SAM) protein PylB mediates a lysine mutase reaction that produces 3-methylornithine, which is then ligated to a second molecule of lysine by PylC before oxidation by PylD results in pyrrolysine. The discovery of lysine as the sole precursor to pyrrolysine will further inform discussions of the evolution of the genetic code and amino acid biosynthetic pathways. Furthermore, intermediates of the pathway may provide new avenues by which the pyl system can be exploited to produce recombinant proteins with useful modified residues.