Examination of the ways side-chain carboxylate and amide groups in high-resolution protein crystal structures form hydrogen bonds with main-chain atoms reveals that the most common category is a two-hydrogen-bond four to five residue motif with an aspartate or asparagine (Asx) at the first residue, for which we propose the name Asx-motif. Similar motifs with glutamate or glutamine residues at that position are rare. Asx-motifs occur typically as (1) a common feature of the N termini of [alpha]-helices called the Asx N-cap motif; (2) an independent motif, usually a [beta]-turn with an appropriately hydrogen-bonded Asx as the first residue; and (3) a motif incorporated in a [beta]-bulge loop. Asx-motifs are common, there being just under two-and-a-half in an average-sized protein subunit; of these, about 55 % are Asx N-cap motifs. Because they occur often in many situations, it seems that these motifs have an inherent propensity to form on their own rather than just being a feature stabilised at the end of a helix. Asx-motifs also occur in functionally interesting situations in aspartyl proteases, citrate synthase, EF hands, haemoglobins, lipocalins, glutathione reductase and the [alpha]/[beta] hydrolases.