In this guide

  1. The short answer
  2. What a diketopiperazine ring is
  3. The mechanism: an amine closing a ring
  4. Diketopiperazine formation in solid-phase synthesis
  5. Which sequences are most prone
  6. A worked case: the penultimate-proline route
  7. Diketopiperazine formation on storage and in drugs
  8. How it is detected, weighed and named
  9. How chemists suppress it
  10. Diketopiperazines beyond the side reaction
  11. What this guide does not establish
  12. Frequently asked questions
  13. References
Start here

The short answer

Diketopiperazine (DKP) formation is a side reaction in which the free amino end of a short peptide folds back and cyclises with a nearby backbone or ester bond, closing a stable six-membered ring and splitting off the first two residues as a cyclic dipeptide. It is driven by the basic conditions used to remove the Fmoc group during synthesis, and it can also occur slowly in a finished peptide on storage.

The ring it makes — a 2,5-diketopiperazine — is the smallest cyclic peptide there is, and it is unusually easy to form because the two ends of a dipeptide sit close enough to reach each other. During synthesis this becomes a problem at the exact moment a chain is only two residues long: strip the protecting group off the second residue, and the amine it uncovers is one short loop away from the bond that holds the chain to the resin. Under base, it attacks, the ring closes, and a cyclic dipeptide drops off the support. The chain is either lost outright or, in a related variant, left two residues short.

The rest of this guide takes the reaction apart: what the ring is and why it is so stable, the step-by-step mechanism, why solid-phase synthesis is the classic setting, which amino acids make it worst, how it also shows up as a storage and drug-degradation pathway, how it is measured, and the strategies chemists use to shut it down. For the manufacturing backdrop, see What Is Solid-Phase Peptide Synthesis and How Peptides Are Made.

Structure

What a diketopiperazine ring is

A diketopiperazine is the six-membered ring formed when two amino acids are joined head-to-tail by two amide bonds. Because it is two residues closed into a circle, it is the smallest cyclic peptide that can exist, and its systematic name is piperazine-2,5-dione — the ring is a piperazine carrying two carbonyl (keto) groups at opposite corners, which is why the common name is 2,5-diketopiperazine.

The parent ring has the molecular formula C₄H₆N₂O₂ and a very high melting point, around 311–312 °C, a first hint of how stable the structure is.[1] It was, in fact, the first compound containing a peptide bond ever characterised by X-ray crystallography, back in 1938.[1] The two amide groups sit across the ring from each other, giving a nearly planar, conformationally constrained scaffold with both hydrogen-bond donors and acceptors built in.[1] That rigidity is the reason the ring matters twice over: it makes the molecule stable and resistant to the enzymes that chew up ordinary peptides, and it makes the closed ring thermodynamically favourable — so a dipeptide with a free amino end and an activated or ester-bound carboxyl end will cyclise toward it readily.[1][2]

Chemically a 2,5-diketopiperazine is just the cyclic form of a dipeptide. A linear dipeptide carries a water molecule’s worth of extra mass over its two residues; closing the ring expels that water, so the finished cyclic dipeptide weighs exactly the sum of its two residue masses. That bookkeeping detail turns out to be how the reaction is detected, as the analysis section below explains. The ring can also be made deliberately — it is a workhorse scaffold in medicinal chemistry — but the focus of this guide is the version that forms when it is not wanted.

Mechanism

The mechanism: an amine closing a ring

Diketopiperazine formation is an intramolecular aminolysis: a nucleophilic nitrogen on one end of a dipeptide attacks a carbonyl carbon near the other end, displacing whatever was attached there and closing the ring. The reaction needs three things to line up — a free (deprotected) amino group, a carbonyl it can reach in a six-membered transition, and conditions that make the amine nucleophilic.

In the textbook case the free α-amino group of the second residue swings back onto the carbonyl of the first residue. If that first carbonyl is an ester — for instance the ester that links the chain to a Wang-type resin — the amine displaces the alcohol and the cyclic dipeptide is released.[3][4] If the carbonyl is an amide one residue further along the chain, the amine displaces the rest of the peptide instead, excising the top two residues and leaving the remainder behind. Either way the product is a 2,5-diketopiperazine, and either way the driving force is the same: a strained, reactive acyl group being replaced by a stable six-membered ring.

Base is the accelerant. Deprotonating or simply solvating the amine makes it a far better nucleophile, and the alkaline conditions required for Fmoc removal do exactly that, which is why the reaction is tied so tightly to the deprotection step.[4][5] Geometry is the other half of the story: the ring can only close if the backbone can fold into a compact loop, which means the amide bond being formed has to adopt a cis arrangement. Residues that tolerate or favour that cis geometry — proline above all — make the folding easy, and residues that resist it slow the reaction down.[2][6] The same cyclisation underlies both the synthesis problem and the slow N-terminal degradation of finished peptides; only the leaving group differs.

Synthesis

Diketopiperazine formation in solid-phase synthesis

Solid-phase peptide synthesis is the classic setting for diketopiperazine formation because it creates the vulnerable arrangement — a two-residue chain anchored through an ester with a newly freed amine — as a routine step. The reaction therefore has a specific window: it happens after the second residue is coupled and its Fmoc group is removed, before the third residue caps the amine.

To see why, recall that solid-phase synthesis builds the chain from its C-terminal end, each cycle removing the temporary Fmoc group from the last residue and coupling the next one, as set out in What Is Solid-Phase Peptide Synthesis. On many resins the first residue is attached to the support through an ester bond. When the chain is only two residues long and the second Fmoc group comes off, the amine that appears is held just one short loop away from that ester. Expose it to the piperidine base used for deprotection, and a fraction of the chains cyclise: the amine attacks the ester carbonyl, the diketopiperazine forms, and the cyclic dipeptide washes away, taking both residues off the resin.[3][4] The vendor and technical literature describe this as a recognised cause of lost resin loading and reduced yield, and note that it can cleave the growing peptide off the support entirely.[4][5] The foundational description of the effect — a “carboxyl-catalysed intramolecular aminolysis” releasing diketopiperazine during solid-phase synthesis — dates back to work by Gisin and Merrifield in 1972, and the specific case of alkoxybenzyl (Wang) ester resins with Fmoc amino acids was documented by Pedroso, Giralt and co-workers in 1986.[3][7]

There are two flavours of the problem. In the conventional case the whole dipeptide leaves the resin, so the affected chains simply disappear and the yield drops. In what has been called the traceless case, the cyclisation attacks an internal amide rather than the resin ester, so the top two residues are lost as a DKP while the rest of the chain stays anchored — producing a truncated peptide of the correct lower length rather than an obvious loss of loading.[6] The traceless version is the more insidious because it leaves a real, same-looking impurity instead of just a missing peak, and recent method work has focused on suppressing both at once.[6] The chemistry of the resin linkages that make this possible is covered in What Is Resin in Peptide Synthesis and What Is Peptide Cleavage.

Sequence dependence

Which sequences are most prone

Diketopiperazine formation is strongly sequence-dependent, and a handful of residues at the C-terminal dipeptide account for almost all of the risk. The common thread is anything that makes the backbone fold easily into the compact cis loop the ring requires, or that leaves the reacting amine unobstructed.

Proline is the headline case. Its nitrogen is a secondary amine, a stronger nucleophile than the primary amines of ordinary residues, and proline uniquely favours the cis-amide geometry that lets the ring close.[2][4][5] A proline in the C-terminal or penultimate position is therefore the single most reliable way to invite the reaction. Glycine is the next most troublesome: with no side chain at all, there is nothing to sterically hinder the amine’s approach to the carbonyl, so glycine-terminated dipeptides cyclise readily.[5] Beyond those two, N-methylated residues lower the energy barrier to the cis/trans flip and so speed cyclisation, and sequences that alternate D- and L-configured residues adopt folded geometries that favour the ring.[5] The enabling factor behind all of them is the ester linkage: the technical literature singles out standard ester resins such as Wang as “highly prone” to DKP loss, precisely because the ester is an easy leaving group for the amine to displace.[5]

Factor Effect on DKP risk Why
C-terminal or penultimate prolineHighestSecondary-amine nucleophile and a natural preference for the cis-amide geometry the ring needs
C-terminal glycineHighNo side chain to block the amine’s approach to the carbonyl
N-methylated residueElevatedLowers the barrier to the cis/trans isomerisation that precedes ring closure
Alternating D- and L-residuesElevatedFavours a folded backbone that brings the two ends together
Ester (Wang-type) resin linkageEnablingThe ester is an easy leaving group; an amide anchor resists displacement
Prolonged or strongly basic Fmoc removalMultiplierBase makes the free amine more nucleophilic the longer it is exposed

The same logic explains why some sequences are essentially immune: a bulky, β-branched residue such as valine or isoleucine at the C-terminus hinders the approach, and an amide-anchored support removes the easy leaving group altogether. Sequence context also interacts with the protecting-group chemistry discussed in What Is a Protecting Group, and with the stereochemistry covered in What Is Racemization in Peptides.

Case study

A worked case: the penultimate-proline route

The clearest recent illustration of diketopiperazine formation is a published mechanistic study of its appearance during the solid-phase synthesis of a long GIP and GLP-1 receptor agonist peptide. It is worth working through because it shows the traceless version in action and makes the role of a penultimate proline concrete.

In that work, Wang and co-workers at Eli Lilly examined why a diketopiperazine-related impurity was forming during assembly of the peptide and traced it to the behaviour of the chain near a proline residue.[8] The key point for understanding the general reaction is that the free N-terminal amine, under the basic deprotection conditions, can close a diketopiperazine ring onto the amide one residue below it when a proline sits in the penultimate position — excising the top two residues as a cyclic dipeptide while the rest of the chain remains anchored.[6][8] Because the result is a shortened chain rather than a lost one, it behaves as a genuine truncation impurity. The study was published in ACS Omega in 2022 as a mechanistic investigation, and it sits alongside method-development work aimed squarely at suppressing both conventional and traceless DKP formation during Fmoc removal.[6][8] The practical lesson generalises well beyond that one molecule: wherever a proline or glycine falls at the growing end of a chain, the deprotection step deserves extra scrutiny.

Degradation

Diketopiperazine formation on storage and in drugs

Diketopiperazine formation is not only a synthesis problem; the same cyclisation is a recognised route by which finished peptides and peptide-like drugs degrade over time. Here the free amino terminus of an intact molecule folds back onto the amide two residues in, releasing a cyclic dipeptide and leaving a shortened chain — a slow, spontaneous version of the reaction that needs no resin at all.

The broad literature on cyclic dipeptides notes that 2,5-diketopiperazines form non-enzymatically as by-products of dipeptidyl cyclisation in drugs, during peptide synthesis, and on storage, and names classes such as the aminopenicillins, amoxicillin and the ACE-inhibitor drugs as recognised examples of medicines that generate a diketopiperazine degradation product.[2] In those small peptide-derived drugs the cyclisation is favoured by aqueous conditions and accelerates with pH and temperature, which is why it is a standard concern in stability testing. The reaction belongs to the same family of intrinsic degradation pathways as deamidation and pyroglutamate formation — each an internal nucleophile closing a small ring — and like those it is temperature- and pH-sensitive. For how peptides break down more generally, and why cold, dry, dark storage slows these routes, see How Peptides Degrade; for the neighbouring end-group and side-chain cyclisations, see What Is Pyroglutamate and What Is Deamidation in Peptides.

Analysis

How it is detected, weighed and named

Diketopiperazine formation is caught by the same two-tool approach used for any peptide impurity: a mass measurement that reads the size change, and a separation that resolves the by-product from the target. The reaction has an unusually clean mass signature, which makes it one of the more straightforward side reactions to pin down.

Because the excised diketopiperazine is the cyclic form of the two lost residues, the remaining peptide becomes lighter by exactly the sum of those two residue masses. A glycine-glycine DKP takes away about 114 daltons; a glycine-proline DKP about 154; a pair of tryptophans about 372.[5] Mass spectrometry reads that defined loss directly, and the method for doing so is described in What Is Mass Spectrometry. Reversed-phase HPLC then resolves the truncated chain as its own peak, usually eluting apart from the full-length target, which is how the level is quantified; the capabilities and limits of that separation are the subject of What Is HPLC. During synthesis itself there is a third tell: a colour test for free amines, such as the Kaiser test, can read falsely negative after a deprotection step, because the amine that the test detects has been consumed by the cyclisation rather than being available to couple.[5]

Excised dipeptide Approx. mass lost (Da) Note
Gly–Gly114.04Smallest possible DKP; sum of two glycine residues
Gly–Pro154.07Common high-risk pair; proline drives the cyclisation
Ala–Pro168.09Penultimate proline again the trigger
Pro–Pro194.11Two prolines; strongly ring-forming
Trp–Trp372.16Large residues give a large, easily resolved mass shift

These values are chemistry, not measurements of any product: each is simply the sum of the two residue masses involved, the mass the cyclic dipeptide carries away when the ring closes. In a certificate of analysis a diketopiperazine truncation is counted among the peptide-related substances described in Peptide Impurities Explained, grouped under the heading of related peptides.

Control

How chemists suppress it

Suppressing diketopiperazine formation comes down to two ideas: keep the free amine away from the carbonyl it would attack, and shorten the time it spends under base before the next residue caps it. A range of practical tactics follow from those two principles, and most target the single vulnerable window at the dipeptide stage.

The most direct structural fix is the choice of resin. Bulky, sterically demanding linkers such as 2-chlorotrityl physically block the amine’s path to the anchoring carbonyl, and amide-anchored supports such as Rink amide remove the easy ester leaving group altogether, so the amine has nothing favourable to displace.[5] On the deprotection side, keeping the base exposure short — brief or flow-based Fmoc removal, or room-temperature deprotection for high-risk sequences — limits how long the amine has to react, and alternative deprotection reagents have been explored for the same reason.[5][6] Dedicated method work on the Fmoc-removal step has shown that an optimised strategy can suppress both the conventional and the traceless diketopiperazine pathways together.[6]

Several building-block strategies attack the problem before it starts. Coupling a pre-formed dipeptide or a pseudoproline dipeptide unit skips the exposed two-residue intermediate entirely; alternative N-terminal protecting groups that are removed under non-basic conditions avoid the piperidine step for that residue; and a fast, efficient coupling of the third residue caps the free amine quickly, closing the reactive window.[4][5] The common thread across all of these is that diketopiperazine formation is a kinetic race between cyclisation and the next coupling, and the chemist’s job is to make the coupling win. The broader toolkit of protecting groups and coupling chemistry is covered in What Is a Protecting Group and How Peptides Are Made.

Context

Diketopiperazines beyond the side reaction

Away from the synthesis bench, the diketopiperazine ring is far from an error — it is one of nature’s most common small scaffolds and a valued structure in medicinal chemistry. The same stability that makes the ring form so readily during synthesis makes it durable and biologically interesting once formed.

2,5-diketopiperazines occur widely in fermentation broths, yeast cultures and countless natural products, and they turn up as flavour-active degradation products of proteins during food and beverage processing — they have been detected in roasted coffee, cocoa, beer, aged cheese, bread, stewed beef and dried fish, where they contribute bitter, savoury and metallic notes.[1][2] Proline-containing DKPs are the most abundant in food, a direct consequence of the same proline chemistry that drives the synthesis reaction.[1][2] In living systems the ring is assembled deliberately by dedicated enzymes — tRNA-dependent cyclodipeptide synthases and non-ribosomal peptide synthetases — and reviews catalogue hundreds of genes devoted to making these molecules.[1][2]

The scaffold is also a recognised pharmacophore. Several marketed or investigational drugs are built on a 2,5-diketopiperazine core, including the PDE5 inhibitor tadalafil, the oxytocin antagonists retosiban and epelsiban, the HIV entry inhibitor aplaviroc, and the experimental agent plinabulin.[1] Many anticancer and antimicrobial natural products, from the gliotoxin family to a wide range of marine metabolites, share the ring as well.[1][9] This dual identity — a nuisance in the synthesis of linear peptides, a prized structure in its own right — is why the diketopiperazine turns up in such different corners of chemistry. It is a close relative of the deliberately cyclised peptides described in Cyclic Peptides Explained and the designed mimics in What Is a Peptidomimetic.

Honest limits

What this guide does not establish

This guide is an educational account of the chemistry of diketopiperazine formation and the analytics used to track it. A few limits are worth stating plainly.

  • It describes a reaction, not any specific product. Whether a given lot carries a diketopiperazine truncation, and at what level, is a property of that lot and its certificate of analysis, not something that can be read off a compound’s name.
  • Mass losses are chemistry, not measurements of a vial. Values such as about 114 or 154 daltons follow directly from the residue masses involved; they describe the reaction, not any particular material.
  • The drug and natural-product examples are about other molecules. Compounds such as tadalafil or the ACE-inhibitor drugs are named only to illustrate where the diketopiperazine ring appears in chemistry; nothing here is a statement about any research peptide.
  • Nothing here concerns use in a person or animal. The reaction is discussed only as a matter of synthesis, analysis and chemical stability, and this guide does not describe how to use any product.
  • Nothing here describes where any peptide is synthesised. The synthesis chemistry is general; it is not a claim about the origin of any specific material.
FAQ

Frequently asked questions

What is diketopiperazine formation?

Diketopiperazine (DKP) formation is a side reaction in which the free amino end of a short peptide folds back and cyclises with a nearby backbone or ester bond, closing a stable six-membered ring and splitting off the first two residues as a cyclic dipeptide. It is driven by the basic conditions of Fmoc deprotection during synthesis and can also occur slowly in finished peptides on storage.

What is a diketopiperazine (DKP)?

A diketopiperazine is the six-membered ring formed when two amino acids are joined head-to-tail by two amide bonds. The most common form, the 2,5-diketopiperazine, is the smallest possible cyclic peptide; chemically it is piperazine-2,5-dione. The ring is rigid and chemically stable, which is why it is found throughout nature and in many foods and drugs.

Why does diketopiperazine formation happen during peptide synthesis?

In solid-phase synthesis the chain is built one residue at a time, and once only two residues are in place the removal of the N-terminal Fmoc group leaves a free amine positioned one turn away from the ester that anchors the chain to the resin. Under the basic conditions used for that deprotection, the amine attacks the ester, closes a diketopiperazine ring, and the cyclic dipeptide falls off the support. The reaction is therefore a dipeptide-stage event favoured by base.

Which amino acids cause diketopiperazine formation?

A C-terminal or penultimate proline is the classic trigger, because its secondary amine is a strong nucleophile and it favours the folded cis-amide geometry the ring needs. Glycine is a close second, since it has no side chain to block the approach, and N-methylated residues and alternating D- and L-residues also accelerate the reaction. Sequences ending in proline or glycine on an ester-linked resin are the highest-risk cases.

How is diketopiperazine formation detected?

By mass spectrometry and HPLC together. When DKP forms, the peptide loses mass equal to the sum of the two excised residue masses, so a truncated chain appears that is lighter by a defined amount; mass spectrometry reads that difference directly, while reversed-phase HPLC resolves the truncation as its own peak. In synthesis, a free-amine colour test such as the Kaiser test can also turn negative once the amine has been consumed by cyclisation.

How is diketopiperazine formation prevented?

The main approach is to keep the free amine away from the anchoring ester and to shorten its exposure to base. Bulky resins such as 2-chlorotrityl physically hinder the cyclisation, amide-anchored supports remove the vulnerable ester, and the next residue is coupled quickly to cap the amine. Milder or briefer Fmoc-removal conditions, alternative N-protecting groups, dipeptide and pseudoproline building blocks, and optimised deprotection reagents are also used for high-risk sequences.

Is a diketopiperazine harmful or just a synthesis problem?

In peptide manufacturing a diketopiperazine is an unwanted by-product, because its formation either lowers the yield of the target chain or leaves a truncated impurity. As a molecule in its own right, though, the 2,5-diketopiperazine ring is widespread and benign in nature: it occurs in fermented foods, is a common scaffold in natural products, and forms the core of several approved medicines. Whether a DKP is a problem depends entirely on context.

Is diketopiperazine formation the same as aspartimide formation?

No. Both are base-promoted cyclisations that trouble Fmoc synthesis, but they close different rings in different places. Diketopiperazine formation closes a six-membered ring at the C-terminal dipeptide using the free N-terminal amine, excising two residues. Aspartimide formation closes a five-membered ring at an internal aspartate side chain and leaves a family of ring-opened and epimerised products. They are separate side reactions with separate controls.

Sources

References

  1. 2,5-Diketopiperazine. Wikipedia (encyclopaedic overview of structure, formation, natural occurrence and pharmacology). Accessed November 2026. https://en.wikipedia.org/wiki/2,5-Diketopiperazine
  2. Bojarska, J., Mieczkowski, A., Ziora, Z. M., Skwarczynski, M., Toth, I., Shalash, A. O., Parang, K., et al. (2021). Cyclic Dipeptides: The Biological and Structural Landscape with Special Focus on the Anti-Cancer Proline-Based Scaffold. Biomolecules, 11(10), 1515. doi:10.3390/biom11101515
  3. Gisin, B. F., & Merrifield, R. B. (1972). Carboxyl-Catalyzed Intramolecular Aminolysis. A Side Reaction in Solid-Phase Peptide Synthesis. Journal of the American Chemical Society, 94(9), 3102–3106. doi:10.1021/ja00764a036
  4. Peptide Chemistry. Diketopiperazine Formation (DKP) in Peptide Synthesis: Mechanism, Risks, and Prevention (technical guide). peptidechemistry.org. Accessed November 2026. https://peptidechemistry.org/diketopiperazine-formation-peptide-synthesis/
  5. Iris Biotech GmbH (2024). Common Side Reactions in Fmoc Solid-Phase Peptide Synthesis (technical blog). https://iris-biotech.de/global/blog/common-side-reactions-in-fmoc-solid-phase-peptide-synthesis.html
  6. Yang, Y., & Hansen, L. (2022). Optimized Fmoc-Removal Strategy to Suppress the Traceless and Conventional Diketopiperazine Formation in Solid-Phase Peptide Synthesis. ACS Omega, 7(14), 12015–12020. doi:10.1021/acsomega.2c00214
  7. Pedroso, E., Grandas, A., de las Heras, X., Eritja, R., & Giralt, E. (1986). Diketopiperazine formation in solid phase peptide synthesis using p-alkoxybenzyl ester resins and Fmoc-amino acids. Tetrahedron Letters, 27(6), 743–746. doi:10.1016/S0040-4039(00)84089-7
  8. Wang, J., Berglund, M. R., Braden, T., Embry, M. C., Johnson, M. D., Groskreutz, S. R., Sayyed, F. B., et al. (2022). Mechanistic Study of Diketopiperazine Formation during Solid-Phase Peptide Synthesis of Tirzepatide. ACS Omega, 7(50), 46809–46824. doi:10.1021/acsomega.2c05915
  9. Borthwick, A. D. (2012). 2,5-Diketopiperazines: Synthesis, Reactions, Medicinal Chemistry, and Bioactive Natural Products. Chemical Reviews, 112(7), 3641–3716. doi:10.1021/cr200398y
  10. Alsina, J., Giralt, E., & Albericio, F. (1996). Use of N-trityl amino acids and PyAOP for the suppression of diketopiperazine formation in Fmoc/tBu solid-phase peptide synthesis using alkoxybenzyl ester anchoring linkages. Tetrahedron Letters, 37(24), 4195–4198. doi:10.1016/0040-4039(96)00793-9
  11. Perzborn, M., Syldatk, C., & Rudat, J. (2013). Enzymatical and microbial degradation of cyclic dipeptides (diketopiperazines). AMB Express, 3(1), 51. doi:10.1186/2191-0855-3-51
  12. European Medicines Agency. Guideline on the development and manufacture of synthetic peptides (draft, quality requirements and impurity control for synthetic peptides). ema.europa.eu. https://www.ema.europa.eu/en/documents/scientific-guideline/draft-guideline-development-manufacture-synthetic-peptides_en.pdf
  13. ChEBI. 2,5-diketopiperazines (CHEBI:65061), chemical ontology entry. EMBL-EBI. https://www.ebi.ac.uk/chebi/

For the neighbouring base-promoted and end-group cyclisations, see What Is Aspartimide Formation and What Is Pyroglutamate; for the degradation context, see How Peptides Degrade; for the synthesis setting, see What Is Solid-Phase Peptide Synthesis; and for the deliberate version of the same ring, see Cyclic Peptides Explained.

All Patriot Labs products are sold strictly for in-vitro research and laboratory use only. Not for human or veterinary consumption. This guide is educational and describes the chemistry and analysis of diketopiperazine formation in general terms; it is not medical advice, does not describe how to use any product, and makes no claim about the purity, impurity profile or manufacturing location of any specific product.