Skip to content

Pyridine, Pyridones and Pyrylium Salts

CSIR NET organic chemistry: pyridine basicity, N-oxides, SEAr vs SNAr, Chichibabin and Minisci reactions, Hantzsch synthesis, pyridones and pyrylium salts.

  • 17 min read
  • Updated
On this page · 18 sections
  1. Prerequisites
  2. The Hook: The Solvent That Will Not Be Nitrated
  3. Electronic Structure: A π-Deficient Benzene
  4. Basicity and Reactions at Nitrogen
  5. Electrophilic Substitution: Slow, and at C3
  6. Pyridine N-Oxide: Switching the Rules
  7. Nucleophilic Substitution: Fast, and at C2/C4
  8. Side-Chain Reactivity and Reduction
  9. Hydroxy- and Aminopyridines: Tautomerism
  10. Synthesis of Pyridines
  11. Pyrylium Salts and Pyrones: The Oxygen Analogues
  12. Memory Tricks
  13. Don’t Confuse
  14. Common Mistakes
  15. Practice
  16. Quick Revision Table
  17. Key Takeaways
  18. What’s Next

Prerequisites

The Hook: The Solvent That Will Not Be Nitrated

Electronic Structure: A π-Deficient Benzene

Pyridine is benzene with one CH replaced by N. The nitrogen is sp²; it supplies one electron to the π sextet, and its lone pair occupies an sp² orbital in the ring plane, orthogonal to the π system. That lone pair is therefore free to bond to protons, alkyl groups, Lewis acids and metals without disturbing aromaticity.

Nitrogen is more electronegative than carbon, so it withdraws π density, both inductively and by resonance. The dipolar resonance forms put positive charge at C2, C4 and C6. Pyridine is therefore described as π-deficient (electron-poor): ring carbons are less nucleophilic than benzene carbons and C2/C4 are electrophilic.

PropertyPyridineBenzene
π electrons6 (N gives 1)6
N lone pairsp², in plane, not in sextet—
Dipoleabout 2.2 D, N negative end0
¹H NMR (approx., CDCl₃)H2 δ 8.6, H3 δ 7.3, H4 δ 7.7δ 7.3
¹³C NMR (approx.)C2 150, C3 124, C4 136128.5
BasicitypKaH about 5.2not basic

The NMR order (H2 > H4 > H3, and C2 > C4 > C3) mirrors the charge distribution: positions 2 and 4 are the electron-poor ones.

Basicity and Reactions at Nitrogen

Pyridine (pKaH about 5.2) is a much weaker base than piperidine (pKaH about 11.1). The lone pair is in an sp² orbital (33% s character) and is held closer to the nucleus than an sp³ lone pair (25% s). Aromaticity is not lost on protonation, so pyridine is still a reasonable base, comparable to aniline.

Substituent effect on pKaHApproximate pKaHReason
Pyridine5.2reference
2-, 3-, 4-methylpyridine (picolines)about 6.0+I of CH₃
4-Aminopyridineabout 9.2+M from NH₂ delocalises onto ring N (amidinium-like cation)
4-(Dimethylamino)pyridine (DMAP)about 9.6stronger +M; DMAP is a highly nucleophilic acylation catalyst
2-Aminopyridineabout 6.9+M opposed partly by –I of the nearby N
3-Nitro-, 3-chloro-, 3-cyanopyridinesbelow 5.2–I/–M substituents
2,6-Di-tert-butylpyridinelower than expected in watersteric hindrance to solvation and to approach; a non-nucleophilic base
Pyridine N-oxideabout 0.8O-protonation; much weaker base

The nitrogen lone pair reacts with electrophiles directly:

  • Protonation → pyridinium salts.
  • Alkylation (Menshutkin reaction) → N-alkylpyridinium salts.
  • Acylation → N-acylpyridinium salts, which are more reactive acylating agents than the acid chloride itself. This is nucleophilic catalysis; DMAP is far better at it than pyridine.
  • Oxidation with peracids (m-CPBA, or H₂O₂ in AcOH) → pyridine N-oxide.
  • Lewis acids (BH₃, SO₃, Br₂) → donor–acceptor complexes; pyridine–SO₃ is a mild sulfonating agent and pyridine–BH₃ a mild reductant.

Electrophilic Substitution: Slow, and at C3

Two effects make SEAr on pyridine very hard:

  1. The ring is π-deficient; the σ-complex is destabilised by the electronegative N.
  2. Under the acidic conditions of nitration, sulfonation and halogenation, pyridine is almost entirely present as the pyridinium ion, which is even less reactive.

When it does occur, substitution is at C3. Attack at C2 or C4 gives a σ-complex with one resonance contributor that puts the positive charge on an electron-deficient, sextet-lacking nitrogen; attack at C3 avoids this.

ReactionConditions (indicative)Product
Nitrationvery forcing (KNO₃, fuming H₂SO₄, high temperature); low yield3-nitropyridine
Sulfonationoleum with HgSO₄ catalyst, high temperaturepyridine-3-sulfonic acid
BrominationBr₂ in oleum, heat3-bromopyridine (3,5-dibromo also forms)
Friedel–Craftsfails: AlCl₃ complexes N—

Electron-donating substituents (NH₂, OH, OMe) make SEAr practical; 2-aminopyridine nitrates and brominates mainly at C5 (para to NH₂).

Pyridine N-Oxide: Switching the Rules

The N-oxide oxygen can donate electrons back into the ring (to C2 and C4) and the N⁺ can accept them. The result is a ring that is activated toward both electrophiles and nucleophiles at C2 and C4.

graph TD
    A["Pyridine"] -->|"m-CPBA or H2O2/AcOH"| B["Pyridine N-oxide"]
    B -->|"HNO3/H2SO4"| C["4-Nitropyridine N-oxide"]
    C -->|"PCl3 or PPh3
(deoxygenation)"| D["4-Nitropyridine"] B -->|"POCl3"| E["2-Chloropyridine
(+ 4-chloro)"] B -->|"RMgX, then Ac2O"| F["2-Substituted pyridine"] B -->|"Me3SiCN, PhCOCl
(Reissert-Henze)"| G["2-Cyanopyridine"]
  • Nitration of the N-oxide occurs smoothly at C4; PCl₃ (or PPh₃) then removes the oxygen. This is the standard route to 4-substituted pyridines.
  • POCl₃ converts the N-oxide to 2-chloropyridine (with some 4-chloro): the oxygen is activated as a leaving group, chloride adds at C2, and elimination restores aromaticity.
  • Boekelheide rearrangement: 2-picoline N-oxide with Ac₂O gives 2-(acetoxymethyl)pyridine, functionalising the side-chain methyl group.

Nucleophilic Substitution: Fast, and at C2/C4

Nucleophiles add to C2 or C4 because the resulting anionic intermediate carries the negative charge on the electronegative nitrogen. Addition at C3 cannot do this.

SNAr of halopyridines

2- and 4-Halopyridines are displaced by alkoxides, amines and thiolates by addition–elimination, much more easily than chlorobenzene. 3-Halopyridines are far less reactive by this pathway, behaving more like chlorobenzene.

The Chichibabin reaction

Pyridine heated with sodium amide (in toluene, xylene or liquid NH₃) gives 2-aminopyridine.

  1. NH₂⁻ adds to C2 to give an anionic σ-adduct (a σᴴ adduct, negative charge on N).
  2. Hydride is expelled to restore aromaticity; it is not a free leaving group in solution but reacts with the acidic N–H of the product (or with NH₃) to give H₂.
  3. The sodium salt of 2-aminopyridine is protonated on work-up.

If both C2 and C6 are blocked, amination occurs at C4.

Organometallic addition

Organolithium reagents (PhLi, n-BuLi) add to C2. On heating, LiH is lost to give 2-substituted pyridines; alternatively, the dihydropyridine is oxidised. This is why simple deprotonation of pyridine with BuLi is not straightforward: BuLi adds as a nucleophile. Lithiopyridines are made by halogen–metal exchange at low temperature (3-bromopyridine + n-BuLi → 3-lithiopyridine) or by directed ortho-metalation of substituted pyridines with hindered amide bases (LDA, LiTMP).

The pyridyne route

3-Halopyridines with very strong bases (KNH₂ in NH₃) react through 3,4-pyridyne, giving mixtures of 3- and 4-amino products, by analogy with benzyne. See Benzynes.

Minisci radical substitution

Nucleophilic alkyl or acyl radicals (generated, for example, from carboxylic acids with AgNO₃ and persulfate, which decarboxylates RCOO• to R•) add to protonated pyridines at C2 and C4. Protonation makes the ring even more electron-poor and so more reactive toward nucleophilic radicals. This is the radical counterpart of Chichibabin selectivity.

Side-Chain Reactivity and Reduction

  • 2- and 4-Methylpyridines are C–H acids. The carbanion is stabilised by delocalisation onto N (an aza-enolate). They condense with aldehydes (2-picoline + benzaldehyde → 2-styrylpyridine), are deprotonated by BuLi or LDA (lateral lithiation), and are alkylated. 3-Picoline lacks this stabilisation.
  • Oxidation of picolines (KMnO₄, or industrially by ammoxidation then hydrolysis) gives picolinic (2-), nicotinic (3-) and isonicotinic (4-) acids. Isoniazid, an antitubercular drug, is isonicotinic acid hydrazide.
  • Reduction: catalytic hydrogenation (H₂, Pt, acidic medium) or Na/EtOH gives piperidine. Pyridinium salts are reduced by NaBH₄ to tetrahydropyridines. 1,4-Dihydropyridines are hydride donors: NADH is one, and Hantzsch esters are used as NADH mimics in organocatalytic transfer hydrogenation.

Hydroxy- and Aminopyridines: Tautomerism

2- and 4-Hydroxypyridine exist mainly as 2-pyridone and 4-pyridone in water, in polar solvents and in the solid state; the hydroxy forms become significant only in the gas phase or in very non-polar media. The pyridones keep substantial aromatic character through the dipolar (N⁺=C–O⁻) contributor. 3-Hydroxypyridine cannot form a neutral pyridone and behaves as a phenol (with a zwitterionic form in water).

Amino-pyridines, by contrast, exist as the amino tautomers, not imino forms.

Pyridone reactionOutcome
POCl₃ or PCl₅2-chloropyridine (from 2-pyridone); a standard activation
Alkylation of the anionambident: alkali salts mostly N-alkylate; silver salts favour O-alkylation
SEAractivated: substitution at C3 and C5
Diels–Alder2-pyridones act as dienes toward reactive dienophiles

Synthesis of Pyridines

Principle: 1,5-dicarbonyl + ammonia

A 1,5-dicarbonyl compound condenses with NH₃ to give a dihydropyridine, which is oxidised to the pyridine. With hydroxylamine instead of ammonia, water is lost instead of hydrogen and no oxidant is needed. Retrosynthetically: disconnect both C–N bonds to reach a 1,5-dicarbonyl, which in turn comes from a Michael addition of an enolate to an enone.

Hantzsch dihydropyridine synthesis

Two equivalents of a β-ketoester + one aldehyde + ammonia (or NH₄OAc) give a symmetrical 1,4-dihydropyridine (a “Hantzsch ester”), which is oxidised (HNO₃, DDQ, MnO₂, ceric ammonium nitrate) to the pyridine-3,5-dicarboxylate.

graph LR
    A["Aldehyde + beta-ketoester"] -->|"Knoevenagel"| B["Alkylidene ketoester
(Michael acceptor)"] C["beta-Ketoester + NH3"] --> D["Enamine
(beta-aminocrotonate)"] B --> E["Michael addition"] D --> E E -->|"cyclisation, -H2O"| F["1,4-Dihydropyridine
(Hantzsch ester)"] F -->|"oxidation (HNO3, DDQ)"| G["Pyridine-3,5-dicarboxylate"]

The aldehyde carbon becomes C4; the ketoester methyl groups become C2 and C6; the ester groups sit at C3 and C5. 4-Aryl-1,4-dihydropyridines of this type are the calcium-channel-blocker drug class (nifedipine is one).

Other pyridine syntheses

NameComponentsProduct type
Guareschi–Thorpecyanoacetamide (or cyanoacetate + NH₃) + 1,3-dicarbonyl3-cyano-2-pyridones
KröhnkeN-(2-oxoalkyl)pyridinium salt + α,β-unsaturated ketone + NH₄OAc2,4,6-trisubstituted pyridines (via a 1,5-dicarbonyl)
Bohlmann–Rahtzenamine + alkynyl ketone, then heat (or acid)2,3,6-trisubstituted pyridines without an oxidation step
From pyrylium saltspyrylium salt + NH₃ (or RNH₂ → pyridinium salts)pyridines with the pyrylium substitution pattern
Cobalt-catalysed [2+2+2]two alkynes + a nitrile, Co catalystsubstituted pyridines
Oxazole Diels–Alder (Kondrat’eva)oxazole (typically 5-alkoxy) + alkene, then loss of the alcohol (or water)3-hydroxypyridines; route to vitamin B6 (see Azoles and Diazines)
1,2,4-Triazine inverse-electron-demand Diels–Aldertriazine + enamine or electron-rich alkene; loss of N₂ and aminepyridines
Industrial (Chichibabin pyridine synthesis)aldehydes + NH₃ over oxide catalysts at high temperaturepyridine and alkylpyridines

Pyrylium Salts and Pyrones: The Oxygen Analogues

Replace N in pyridine by O⁺ and you get the pyrylium cation, C₅H₅O⁺. It is isoelectronic with pyridine, aromatic (6π), but carries a full positive charge, so it is far more electrophilic. Stable salts need non-nucleophilic anions (BF₄⁻, ClO₄⁻) and usually substituents at C2, C4 and C6.

Synthesis

  • 1,5-Diketones + acid + hydride acceptor: cyclisation gives a 4H-pyran, and hydride abstraction (trityl salt, or a sacrificial chalcone) gives the pyrylium. Acetophenone + chalcone + HBF₄ (or BF₃·OEt₂) gives 2,4,6-triphenylpyrylium tetrafluoroborate, with excess chalcone as the hydride acceptor.
  • Diacylation of alkenes (Balaban): tert-butanol or isobutene with acetic anhydride and a strong acid (HClO₄ or HBF₄) gives 2,4,6-trimethylpyrylium salts.

Reactions

  • Nucleophiles add at C2 (and C4). Water or hydroxide gives 2-hydroxy-2H-pyrans that ring-open to unsaturated 1,5-dicarbonyl compounds (pseudobases).
  • Ammonia gives pyridines; primary amines give N-substituted pyridinium salts (Katritzky salts, used as alkyl radical precursors).
  • Hydrogen sulfide or NaSH gives thiopyrylium salts, which are more stable (less electrophilic) than pyrylium salts.
  • Grignard reagents add to give 2H- or 4H-pyrans.

Pyrones

  • 2-Pyrone (α-pyrone) behaves as a diene: with alkynes it gives a bicyclic lactone that loses CO₂ to form a benzene ring.
  • 4-Pyrone (γ-pyrone) is basic for a ketone: it protonates on the carbonyl oxygen to give a 4-hydroxypyrylium ion, which is aromatic.
  • Benzo relatives: coumarin (2H-chromen-2-one; Pechmann synthesis from a phenol + β-ketoester + H₂SO₄, or Perkin reaction of salicylaldehyde), chromone (4H-chromen-4-one) and the flavylium (2-phenylbenzopyrylium) cation, the core of anthocyanidin plant pigments.

Memory Tricks

Don’t Confuse

ThisvsThat
Pyridine N lone pair: sp², in plane, basic (pKaH 5.2)Pyrrole N lone pair: p, in sextet, non-basic (pKaH −3.8)
Pyridine (pKaH 5.2)Piperidine (pKaH 11.1)
4-Aminopyridine: strongly basic (ring N protonated)Aniline: protonated on NH₂, pKaH about 4.6
SEAr on pyridine: C3SEAr on pyridine N-oxide: C4
SNAr on 2-/4-halopyridine: addition–elimination3-Halopyridine + KNH₂: pyridyne (elimination–addition)
2-Pyridone (dominant tautomer)2-Aminopyridine (amino, not imino, tautomer)
Hantzsch pyridine synthesis (ketoester × 2 + aldehyde + NH₃)Hantzsch pyrrole (α-haloketone + ketoester + amine) and thiazole (α-haloketone + thioamide)
Pyrylium: aromatic cation, strongly electrophilic4-Pyrone: neutral; becomes a 4-hydroxypyrylium ion on protonation

Common Mistakes

Practice

All questions below are original practice questions written for this page. They are not from any CSIR NET paper.

Level 1: Foundation

  1. Where does the nitrogen lone pair of pyridine lie, and how many π electrons does nitrogen contribute?
  2. What is the product of pyridine with NaNH₂ on heating?
  3. Which reagent removes the oxygen from 4-nitropyridine N-oxide?
Answers
  1. In an sp² orbital in the ring plane, outside the π system. Nitrogen contributes one π electron.
  2. 2-Aminopyridine (Chichibabin reaction), with evolution of H₂.
  3. PCl₃ (or PPh₃).

Level 2: Part B Style

Practice Q1. The correct order of basicity (pKaH) is:

(a) piperidine > 4-aminopyridine > pyridine > pyrrole (b) 4-aminopyridine > piperidine > pyridine > pyrrole (c) piperidine > pyridine > 4-aminopyridine > pyrrole (d) pyridine > piperidine > pyrrole > 4-aminopyridine

Answer: (a)

Approximate pKaH values: piperidine 11.1, 4-aminopyridine 9.2 (the amino group’s +M effect stabilises the ring-N-protonated cation), pyridine 5.2, pyrrole −3.8 (lone pair in the sextet).

Practice Q2. Pyridine is converted into 4-nitropyridine by which sequence?

(a) HNO₃/H₂SO₄ at 25 °C (b) m-CPBA; then HNO₃/H₂SO₄; then PCl₃ (c) NaNH₂; then NaNO₂/HCl (d) n-BuLi; then N₂O₄

Answer: (b)

N-Oxidation activates C4 toward electrophiles; nitration of the N-oxide gives 4-nitropyridine N-oxide; PCl₃ deoxygenates it. Direct nitration (a) gives, at best, 3-nitropyridine under far harsher conditions.

Practice Q3. Which halopyridine reacts fastest with sodium methoxide in methanol by addition–elimination?

(a) 3-chloropyridine (b) 4-chloropyridine (c) chlorobenzene (d) 3-chloropyridine N-protonated at low pH with no methoxide present

Answer: (b)

At C4 (and C2) the Meisenheimer-type intermediate puts the negative charge on the ring nitrogen. 3-Chloropyridine cannot do this and reacts like an aryl chloride. Option (d) has no nucleophile.

Practice Q4. In the Hantzsch synthesis using benzaldehyde, two equivalents of ethyl acetoacetate and ammonium acetate, the phenyl group appears in the 1,4-dihydropyridine at:

(a) C2 (b) C3 (c) C4 (d) N1

Answer: (c)

The aldehyde carbon becomes C4 (the sp³ carbon of the 1,4-dihydropyridine). C2 and C6 carry the methyl groups from the ketoesters, and C3 and C5 carry the ester groups.

Level 3: Part C Style

Practice Q5. Take pKaH(pyridine) = 5.2. Which statements are correct?

  1. At pH 3.2, about 99% of pyridine is present as the pyridinium ion.
  2. At pH 7.2, about 1% of pyridine is protonated.
  3. Nitration in concentrated H₂SO₄ is slow partly because the substrate is almost entirely the pyridinium ion.
  4. At pH 5.2, the pyridinium and pyridine concentrations are equal.

(a) 1, 2, 3 and 4 (b) 1 and 3 only (c) 2 and 4 only (d) 3 and 4 only

Answer: (a)

Fraction protonated = \( 1/(1 + 10^{\text{pH} - \text{p}K_{aH}}) \).

  • pH 3.2: \( 1/(1 + 10^{-2}) = 0.990 \), i.e. 99.0% (1 correct).
  • pH 7.2: \( 1/(1 + 10^{2}) = 0.0099 \), i.e. about 1% (2 correct).
  • In concentrated H₂SO₄ essentially all pyridine is protonated, and the pyridinium ion is strongly deactivated (3 correct).
  • At pH = pKaH the ratio is 1 (4 correct).

Practice Q6. Benzaldehyde (10.61 g, 0.100 mol), ethyl acetoacetate (2.0 equiv) and ammonium acetate give the 1,4-dihydropyridine X (C₁₉H₂₃NO₄, M = 329.40 g mol⁻¹) in 85% yield. X is oxidised with HNO₃ to Y (C₁₉H₂₁NO₄, M = 327.38 g mol⁻¹) in 90% yield. Which option is correct?

(a) Mass of X = 28.0 g; mass of Y = 25.0 g; overall yield 76.5% (b) Mass of X = 32.9 g; mass of Y = 32.7 g; overall yield 100% (c) Mass of X = 28.0 g; mass of Y = 27.8 g; overall yield 85% (d) Mass of X = 25.0 g; mass of Y = 22.5 g; overall yield 68%

Answer: (a)
  • X: 0.100 × 0.85 = 0.0850 mol × 329.40 = 28.0 g.
  • Y: 0.0850 × 0.90 = 0.0765 mol × 327.38 = 25.0 g.
  • Overall yield = 0.85 × 0.90 = 0.765 = 76.5%. X is diethyl 2,6-dimethyl-4-phenyl-1,4-dihydropyridine-3,5-dicarboxylate; Y is the corresponding pyridine. The formulas differ by H₂, the two hydrogens removed on aromatisation (from N1 and C4).

Practice Q7. 2,4,6-Trimethylpyrylium tetrafluoroborate is treated separately with (i) aqueous ammonia, (ii) methylamine and (iii) aqueous NaOH. Which statements are correct?

  1. (i) gives 2,4,6-trimethylpyridine (2,4,6-collidine).
  2. (ii) gives 1,2,4,6-tetramethylpyridinium tetrafluoroborate.
  3. (iii) gives a ring-opened unsaturated 1,5-dicarbonyl compound via attack at C2.
  4. The pyrylium cation is less electrophilic than the corresponding N-methylpyridinium cation.

(a) 1, 2 and 3 only (b) 1 and 4 only (c) 2 and 3 only (d) 1, 2, 3 and 4

Answer: (a)

Nucleophilic attack at C2, ring opening and re-closure with nitrogen converts pyrylium salts into pyridines (with NH₃) or N-substituted pyridinium salts (with RNH₂): 1 and 2 are correct. Hydroxide adds at C2 and the 2H-pyranol ring-opens (3 correct). Oxygen is more electronegative than nitrogen, so the pyrylium ring is more electrophilic than a pyridinium ring (4 wrong).

Quick Revision Table

TopicKey fact
StructureN gives 1 π e⁻; sp² lone pair in plane; π-deficient ring
BasicitypKaH 5.2; piperidine 11.1; DMAP about 9.6; N-oxide about 0.8
SEArvery slow, C3, harsh conditions; N-protonation deactivates further
N-oxideSEAr at C4; POCl₃ → 2-Cl; PCl₃ deoxygenates; Boekelheide on 2-picoline N-oxide
SNAr2- and 4-halo easy; 3-halo hard (pyridyne with KNH₂)
ChichibabinNaNH₂ → 2-aminopyridine + H₂
Organolithiumsadd at C2; lithiopyridines by halogen–metal exchange
MinisciR• + pyridinium → C2/C4 alkylation
Side chain2-/4-CH₃ acidic; condense with aldehydes
Pyridoneslactam tautomer dominates; POCl₃ → chloropyridine
Hantzsch2 β-ketoester + RCHO + NH₃ → 1,4-DHP → [O] → pyridine
Other syntheses1,5-dicarbonyl + NH₃/NH₂OH; Guareschi–Thorpe; Kröhnke; Bohlmann–Rahtz; [2+2+2]; Kondrat’eva
PyryliumNu at C2; + NH₃ → pyridine; + RNH₂ → pyridinium; + H₂S → thiopyrylium
Pyrones2-pyrone diene (−CO₂); 4-pyrone O-protonation

Key Takeaways

What’s Next