PHAR-111 · Lesson 2 of 12 · 25 min
Functional groups in drugs
▶ Video coming soon A video version of this lesson is on the way.
On a Tuesday afternoon at Halvard Regional Hospital, a fictional teaching hospital, pharmacy resident Tomasz Achebe-Rourke is asked three apparently unrelated questions. A nurse wants to know why the aspirin tablets in an old ward stock bottle smell like vinegar. A physician asks whether a patient who had a rash with sulfamethoxazole might react to furosemide. A pharmacy technician asks why the label on an injectable penicillin says to use the solution soon after mixing. Tomasz answers all three by pointing to functional groups: an ester in aspirin that breaks down with moisture, a sulfonamide group shared in different contexts by the antibacterial and the diuretic, and a strained beta-lactam amide that opens in water. Functional groups are the working parts of a molecule, and recognizing them is the single most useful skill in pharmaceutical chemistry.
What a functional group is
A functional group is a specific arrangement of atoms that behaves in a characteristic way wherever it appears. An ester behaves like an ester whether it is part of aspirin, a local anaesthetic or an ACE inhibitor prodrug: it can be hydrolysed by water or esterase enzymes into a carboxylic acid and an alcohol. A primary amine behaves like a base whether it is part of an antihistamine or a neurotransmitter. Because the behaviour is transferable, a pharmacy professional who knows a dozen groups can make sound predictions about thousands of drugs.
Functional groups determine five practical properties: acidity or basicity (and therefore ionization at body pH), polarity and hydrogen bonding (and therefore solubility and membrane crossing), chemical reactivity (and therefore stability and incompatibilities), metabolic fate (which groups the liver will oxidize, hydrolyse or conjugate) and binding to the drug's target. The rest of this course develops each of those properties; this lesson builds the catalogue.
Hydrocarbon frameworks
The carbon skeleton is not inert scenery. Alkyl chains (methyl, ethyl, isopropyl, tert-butyl) are non-polar and add lipophilicity and bulk. Branching can protect a nearby group from enzymes by steric hindrance, as the tert-butyl group on the nitrogen of salbutamol helps to direct selectivity and resist metabolism by monoamine oxidase. Rings make molecules rigid, which reduces the number of shapes a drug can adopt and can raise potency if the locked shape is the one the target prefers. Alkenes (carbon–carbon double bonds) are flat and can produce cis and trans isomers; they can also be sites of oxidation. Aromatic rings, discussed in the previous lesson, are flat, lipophilic and electronically versatile: groups attached to them can donate electrons into the ring (hydroxyl, amino, methoxy) or withdraw electrons from it (nitro, carbonyl, trifluoromethyl), which changes the acidity of nearby groups and the ring's vulnerability to metabolism.
Oxygen-containing groups
Alcohols and phenols
An alcohol has a hydroxyl group (OH) on an sp3 carbon; a phenol has a hydroxyl directly on an aromatic ring. Both donate and accept hydrogen bonds, which increases water solubility and often forms key contacts with a target protein. They differ in acidity. Alcohols are essentially neutral in the body, with pKa values around 15 to 18. Phenols are weak acids, with pKa values usually around 9 to 10, because the phenoxide anion is stabilized by resonance with the ring. At pH 7.4 most phenols are therefore un-ionized, although electron-withdrawing groups on the ring can make a phenol considerably more acidic. Phenols are prone to oxidation, especially when two hydroxyls sit next to each other on a ring, the catechol arrangement found in epinephrine, norepinephrine, dopamine and levodopa. Catechols oxidize to coloured quinones, which is why epinephrine solutions that have turned pink or brown must not be used.
Ethers
An ether has an oxygen bonded to two carbons (R–O–R′). Ethers accept hydrogen bonds but cannot donate them, and they are chemically quite stable. They appear throughout drug chemistry, from the aryl ether of the beta-blockers (the -olol drugs) to the methoxy groups on many aromatic rings. In the body, aryl methyl ethers can be O-dealkylated by cytochrome P450 enzymes, which unmasks a phenol, a reaction discussed in the lesson on metabolism.
Aldehydes and ketones
Aldehydes (R–CHO) and ketones (R–CO–R′) contain a carbonyl group, a carbon double-bonded to oxygen. The carbonyl oxygen is a good hydrogen bond acceptor, and the carbonyl carbon is electron-poor. Aldehydes are reactive and easily oxidized, so they are rare in finished drugs, though they appear as metabolites (for example, formaldehyde released in N-demethylation). Ketones are more stable and appear in many drugs, including steroid hormones such as progesterone and corticosteroids such as prednisone.
Carboxylic acids
A carboxylic acid (R–COOH) is the most important acidic group in drugs. Typical pKa values fall between about 3 and 5, so carboxylic acids are almost completely ionized to the carboxylate anion (R–COO−) at physiological pH. That charge raises water solubility, allows the formation of sodium or potassium salts and often forms an ionic bond with a positively charged amino acid in the target. Non-steroidal anti-inflammatory drugs such as ibuprofen, naproxen and diclofenac, many beta-lactam antibiotics, loop diuretics such as furosemide, and fluoroquinolones all contain carboxylic acids. Carboxylic acids also undergo characteristic metabolism, particularly conjugation with glucuronic acid to form acyl glucuronides.
Esters
An ester (R–COO–R′) is formed in principle from a carboxylic acid and an alcohol, and it can be broken back into those two parts by hydrolysis. Esters are neutral, more lipophilic than the parent acid, and accept but do not donate hydrogen bonds. Their susceptibility to hydrolysis makes them a stability concern in liquid products and a powerful tool in drug design: many prodrugs are esters that are absorbed easily and then hydrolysed by esterases in the liver, plasma or intestinal wall to release an active acid. Enalapril, ramipril, oseltamivir and valacyclovir are ester prodrugs, and the local anaesthetics of the ester type, such as procaine and tetracaine, are rapidly hydrolysed by plasma esterases, which shortens their duration.
Amides and lactams
An amide (R–CO–NR′R″) joins a carbonyl to a nitrogen. Resonance makes the amide flat, neutral and much more resistant to hydrolysis than an ester. Amides donate (if they carry an N–H) and accept hydrogen bonds, and they are the linkages that join amino acids in proteins. Acetaminophen and the amide-type local anaesthetics, such as lidocaine and bupivacaine, contain amides; the latter's resistance to plasma esterases is one reason they last longer than ester-type agents and are metabolized mainly in the liver. A cyclic amide is called a lactam. The four-membered beta-lactam ring of penicillins and cephalosporins is highly strained, so unlike a normal amide it opens readily, both when it acylates the bacterial target and, unfortunately, when it reacts with water or with bacterial beta-lactamase enzymes.
Nitrogen-containing groups
Amines
Amines are derivatives of ammonia in which one, two or three hydrogens are replaced by carbon groups, giving primary (R–NH2), secondary (R2NH) and tertiary (R3N) amines. The lone pair on nitrogen accepts a proton, so aliphatic amines are bases. The pKa of the protonated form (the conjugate acid) is usually around 9 to 11, which means that aliphatic amines are mostly protonated and positively charged at pH 7.4. This positive charge is a key binding feature for drugs acting on receptors for neurotransmitters such as norepinephrine, dopamine, serotonin, histamine and acetylcholine, all of which contain a nitrogen that is charged at body pH. A large share of all small-molecule drugs contain at least one basic nitrogen.
Aromatic amines (anilines), in which nitrogen is attached directly to an aromatic ring, are much weaker bases, with conjugate acid pKa values around 4 to 5, because the lone pair is delocalized into the ring. The para-amino group of sulfonamide antibacterials, for example, is an aniline nitrogen. Aromatic amines can be oxidized to reactive metabolites, a point that matters in the lesson on reactive metabolites.
Quaternary ammonium groups
A quaternary ammonium group has four carbon groups on nitrogen (R4N+) and carries a permanent positive charge regardless of pH. Because permanently charged molecules cross lipid membranes poorly, quaternary drugs are absorbed poorly from the gut and do not easily enter the central nervous system. This property is used deliberately: neuromuscular blockers such as rocuronium act at the neuromuscular junction without significant central effects, and quaternary anticholinergics such as ipratropium act in the airways with little systemic absorption.
Nitrogen heterocycles
Many drugs contain nitrogen within rings. Pyridine is weakly basic (conjugate acid pKa about 5), imidazole is moderately basic (about 7), and piperidine and piperazine, which are saturated rings, are strongly basic like other aliphatic amines. Amidines and guanidines are very strong bases because their protonated forms are stabilized by resonance; metformin, a biguanide, is fully protonated in the body and is so polar that it relies on transporter proteins to enter cells. Tetrazoles are an example of a nitrogen ring that behaves as an acid, with a pKa similar to a carboxylic acid; they are used in several angiotensin II receptor blockers as a carboxylic acid replacement.
Sulfur, phosphorus and halogens
Sulfonamides (R–SO2–NH–R′) are weak acids because the N–H is flanked by the strongly electron-withdrawing sulfonyl group. The antibacterial sulfonamides mimic para-aminobenzoic acid; sulfonamide groups also appear in thiazide and loop diuretics, carbonic anhydrase inhibitors and the sulfonylureas used in diabetes. Whether a patient allergic to a sulfonamide antibacterial will cross-react with non-antibacterial sulfonamides has been studied extensively; allergy experts generally regard cross-reactivity as uncommon because the antibacterial agents carry structural features, such as the aromatic amine, that the others lack, but local policies and the patient's history guide each decision.
Thioethers (R–S–R′) and thiols (R–SH) contain sulfur in lower oxidation states. Thioethers can be oxidized to sulfoxides and sulfones, both chemically and by enzymes; thiols are easily oxidized and can form disulfide bonds, which is the basis of the covalent action of proton pump inhibitors and the active metabolite of clopidogrel. Phosphate esters are highly polar and ionized, and they are used to make water-soluble injectable prodrugs, such as fosphenytoin. Halogens on aromatic rings, especially fluorine and chlorine, raise lipophilicity and block positions that would otherwise be oxidized by metabolic enzymes, a strategy seen in many modern drugs.
Putting groups together: reading a drug
Real drugs combine several groups, and their properties emerge from the combination. A systematic inventory, done the same way every time, keeps the analysis complete.
Worked problem
A functional group inventory of aspirin
Identify the functional groups of acetylsalicylic acid and predict one consequence of each.
Show solution
- Aromatic ring: flat and lipophilic; provides a scaffold that holds the two other groups next to each other.
- Carboxylic acid (pKa about 3.5): mostly ionized at pH 7.4, so it binds plasma albumin and forms soluble salts; un-ionized in the stomach, so some absorption begins there.
- Ester (acetyl group on the phenolic oxygen): susceptible to hydrolysis by moisture and by esterases, giving salicylic acid and acetic acid; this explains the vinegar smell of old tablets.
- The same acetyl group is transferred to a serine residue in cyclooxygenase, inactivating the enzyme irreversibly, which explains why one dose affects platelets for their lifespan.
Answer: Aspirin is an aromatic carboxylic acid carrying a reactive ester; acidity governs absorption and binding, and the ester governs both stability and its unique irreversible action.
Worked problem
A functional group inventory of lidocaine
Lidocaine contains a 2,6-dimethylphenyl ring joined through an amide to a short chain ending in a tertiary diethylamino group. Predict its key properties.
Show solution
- Aromatic ring with two methyl groups: lipophilic; the methyl groups flank the amide and shield it from hydrolysis.
- Amide: neutral and resistant to esterases; the drug is metabolized mainly in the liver rather than in plasma.
- Tertiary amine (conjugate acid pKa about 7.9): partly protonated at pH 7.4. The un-ionized form crosses nerve membranes; the protonated form blocks the sodium channel from inside.
- Because the amine is a base, lidocaine is supplied as the hydrochloride salt for water solubility.
Answer: Lidocaine is a lipophilic aromatic amide with a basic amine; its pKa explains both its formulation as a hydrochloride and its slower onset in acidic, inflamed tissue.
The vignette resolved
Tomasz explains to the nurse that moisture has hydrolysed the ester in the old aspirin tablets, releasing acetic acid, so the stock should be discarded. He explains to the physician that sulfamethoxazole and furosemide share a sulfonamide group but differ in the features thought to drive most antibacterial sulfonamide allergies; the decision about this patient follows the hospital's allergy assessment process and the documented nature of the reaction. And he explains to the technician that the beta-lactam ring is a strained amide that reacts with water, so reconstituted solutions have limited stability and must be used within the time given in the product information. Three questions, three functional groups.
Common mistakes
MistakeCalling every nitrogen in a drug basic.
InsteadOnly amine-type nitrogens are significantly basic; amide, sulfonamide and most aromatic nitrogens are neutral or weakly basic, and some (tetrazole, sulfonamide N–H) are acidic.
MistakeTreating esters and amides as equally stable.
InsteadEsters hydrolyse much more readily; amides are stabilized by resonance, except for strained lactams.
MistakeAssuming phenols are ionized at body pH like carboxylic acids.
InsteadMost phenols have pKa values around 9 to 10 and are largely un-ionized at pH 7.4.
MistakeForgetting that quaternary ammonium drugs are always charged.
InsteadA permanent charge limits oral absorption and entry into the brain regardless of pH.
MistakeIgnoring catechol groups when advising on storage.
InsteadCatechols oxidize readily; protect from light and air, and discard discoloured solutions.
Summary and key terms
- Functional groups behave consistently across molecules and govern acidity, polarity, reactivity, metabolism and binding.
- Carboxylic acids (pKa about 3 to 5) are ionized at pH 7.4; phenols (about 9 to 10) mostly are not; alcohols are neutral.
- Esters hydrolyse readily and are used in prodrugs; amides resist hydrolysis except in strained beta-lactams.
- Aliphatic amines are bases (conjugate acid pKa about 9 to 11) and are mostly protonated at pH 7.4; anilines are much weaker bases.
- Quaternary ammonium groups carry a permanent positive charge; sulfonamides are weakly acidic; halogens add lipophilicity and block metabolism.
- A systematic inventory of groups predicts a drug's absorption, binding, stability and metabolism.
- Functional group
- A characteristic arrangement of atoms that confers predictable chemical behaviour.
- Phenol
- A hydroxyl group attached directly to an aromatic ring; weakly acidic.
- Catechol
- A benzene ring bearing two adjacent hydroxyl groups; easily oxidized.
- Ester
- A group R–COO–R′ formed from an acid and an alcohol; hydrolysable.
- Amide
- A carbonyl bonded to nitrogen; flat, neutral and relatively resistant to hydrolysis.
- Beta-lactam
- A strained four-membered cyclic amide found in penicillins and cephalosporins.
- Quaternary ammonium
- A nitrogen bonded to four carbon groups, carrying a permanent positive charge.
- Sulfonamide
- A group R–SO2–NH–R′; the N–H is weakly acidic.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Which functional group explains why old aspirin tablets smell of vinegar?
Show answer
The ester (acetyl) group, which hydrolyses to salicylic acid and acetic acid.
Is a phenol with pKa 10 mostly ionized or un-ionized at pH 7.4?
Show answer
Mostly un-ionized, because the pH is well below the pKa.
Why do quaternary ammonium drugs such as ipratropium have few central nervous system effects?
Show answer
Their permanent positive charge prevents them from crossing the blood-brain barrier easily.
Name two drugs that are ester prodrugs.
Show answer
Examples include enalapril, ramipril, oseltamivir and valacyclovir.
Why do amide-type local anaesthetics generally last longer than ester types?
Show answer
Amides are not hydrolysed by plasma esterases; they are metabolized more slowly in the liver.
A drug contains a tetrazole ring. What does that suggest about its acidity?
Show answer
It is acidic, with a pKa similar to a carboxylic acid, and will be ionized at pH 7.4.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.