Acid-Base Extraction of Carboxylic Acids

Reversible carboxylate formation and phase preference

Lesson 2343 of 4,500 · Aldehydes, Ketones and Carboxylic Acids

Learning objectives

Introduction

Chemists often end a reaction with a mixture: the product, unreacted starting materials and by-products all dissolved in one organic solvent. If one component is a carboxylic acid, there is an elegant way to pull it out. Converting the acid into its ionic salt makes it prefer water; turning it back into the acid makes it prefer the organic solvent again. This reversible switch, called acid–base extraction , is one of the most used purification methods in organic chemistry.

Core explanation

Two immiscible phases. Water and a solvent such as ethoxyethane (diethyl ether) or ethyl ethanoate do not mix; they form two layers in a separating funnel. A solute distributes itself between them according to its polarity. Most neutral organic molecules with more than a few carbons, including benzoic acid and other medium-sized carboxylic acids, prefer the organic layer.

The switch. Adding aqueous base converts the acid into its carboxylate:

RCOOH (organic) + HCO₃⁻ (aqueous) → RCOO⁻ (aqueous) + H₂O + CO₂

The carboxylate ion is charged and strongly hydrated, so it moves almost completely into the aqueous layer. Neutral compounds stay behind in the organic layer. The layers are then separated.

Recovery. Adding a strong acid such as dilute hydrochloric acid to the aqueous layer until it is clearly acidic (pH about 2) reverses the switch:

RCOO⁻ + H⁺ → RCOOH

The neutral acid, now much less soluble in water, may precipitate as a solid (benzoic acid does) or can be extracted back into fresh organic solvent.

Choosing the base with pKa. The rule is that a base deprotonates an acid if its conjugate acid is weaker (has a higher pKa). Useful values:

Species Approximate pKa --- --- Carboxylic acids 4–5 Carbonic acid (H₂CO₃) 6.4 Phenol 10 Water 15.7

Sodium hydrogencarbonate therefore deprotonates carboxylic acids but not phenols. Sodium hydroxide deprotonates both. Using the two bases in sequence separates all three classes.

A three-component separation. Suppose benzoic acid, phenol and naphthalene are dissolved in ethoxyethane:

1. Extract with aqueous NaHCO₃: only benzoate moves into water. 2. Extract the remaining organic layer with aqueous NaOH: phenoxide moves into water. 3. Naphthalene, which is neutral, stays in the organic layer; evaporate the solvent to recover it. 4. Acidify each aqueous extract to regenerate benzoic acid and phenol.

How far does the switch go? Using the Henderson–Hasselbalch relationship, at pH 8 an acid with pKa 4.2 is more than 99.9% ionised; at pH 2 it is more than 99% un-ionised. A pH difference of two units either side of the pKa is enough for an effectively complete switch.

Safe practice. Hydrogencarbonate extractions release CO₂, which builds pressure in a closed funnel, so the funnel must be vented frequently. Organic solvents like ethoxyethane are highly flammable, so there must be no nearby flames.

Formulae

Fraction as RCOOH = 1 ÷ (1 + 10^(pH − pKa)). Distribution ratio D = [solute]organic ÷ [solute]aqueous.

Step-by-step reasoning

To plan an extraction:

1. List each component and its pKa, or note it is neutral. 2. Choose the weakest base that deprotonates the target acid but not the others. 3. Predict which layer each species ends up in: ions in water, neutral molecules in organic solvent. 4. Separate the layers. 5. Acidify the aqueous layer to recover the acid.

Visual explanation

Picture a separating funnel with a clear upper ether layer and a lower aqueous layer. Before adding base, benzoic acid molecules are drawn in the top layer. After shaking with NaHCO₃ solution, they appear as benzoate ions in the lower layer, while naphthalene molecules remain on top.

Real-world analogy

It is like a guest who changes into a uniform to get into a staff-only room. As a neutral acid the molecule belongs in the organic "guest" room; putting on a charge (becoming a carboxylate) lets it into the aqueous "staff" room. Taking the uniform off (acidifying) sends it back.

Real-world example

Pharmaceutical chemists use acid–base extraction to purify ibuprofen, a carboxylic acid, from neutral by-products. The same principle explains drug absorption: weak acids such as aspirin are largely un-ionised in the acidic stomach, which helps them cross lipid membranes, but are ionised in the more alkaline blood.

Why?

Why does a carboxylate salt stay in water rather than in ether? Ether cannot solvate ions well because it has a low permittivity and no hydrogen-bond donors. Water surrounds the charged carboxylate and its sodium ion with strong ion–dipole attractions and hydrogen bonds, making the aqueous phase far more stable for the ion.

Common misconception

"Sodium hydroxide is always the best base for extracting an acid." It removes phenols too, and can hydrolyse esters in the mixture. Choosing the mildest base that does the job, often sodium hydrogencarbonate, gives a cleaner separation.

Worked example

Question: A mixture of 4-methylphenol and propyl benzoate (an ester) is dissolved in ether. How would you isolate the phenol?

Reasoning: The ester is neutral; the phenol has pKa about 10 and needs NaOH. Hydrogencarbonate would not work. Brief extraction with cold dilute NaOH moves the phenoxide into water, limiting ester hydrolysis.

Answer: Extract with dilute NaOH, separate the aqueous layer, then acidify it to regenerate 4-methylphenol.

Quick check

1. In which layer is benzoic acid found after shaking an ether solution with aqueous sodium hydrogencarbonate, and in what form? Answer: In the aqueous layer, as benzoate ions (sodium benzoate).

Exam focus

Justify each step with pKa comparisons and state which layer each species occupies. Remember that acidification regenerates the acid and that venting is needed with hydrogencarbonate. Flowchart questions separating an acid, a phenol and a neutral compound are common.

Advanced insight

Amines can be separated the same way in reverse: dilute acid converts them into water-soluble ammonium salts, and adding alkali regenerates the free amine. Combining acid and base washes lets a chemist separate acidic, basic and neutral components of a single crude mixture.

Summary

Acid–base extraction converts a carboxylic acid into its water-soluble carboxylate with a suitable base, separating it from neutral organic compounds. Sodium hydrogencarbonate removes carboxylic acids but not phenols; sodium hydroxide removes both. Acidifying the aqueous layer regenerates the acid. pKa values and pH predict how complete each switch is.

Practice questions

1. Why does NaHCO₃ extract ethanoic acid but not phenol from an ether solution? Answer: Ethanoic acid (pKa 4.8) is stronger than carbonic acid (pKa 6.4) and so protonates HCO₃⁻, but phenol (pKa 10) is weaker and does not. 2. What would you add to the aqueous extract to recover a carboxylic acid, and why? Answer: A strong acid such as dilute HCl, to protonate the carboxylate and regenerate the neutral, less water-soluble acid. 3. What percentage of an acid with pKa 4.0 is ionised at pH 6.0? Answer: The ratio of ion to acid is 100 : 1, so about 99% is ionised. 4. Give one safety precaution specific to hydrogencarbonate extractions. Answer: Vent the separating funnel frequently to release the pressure of carbon dioxide gas.