Chemistry‹›⌂ 0:00 studied

Module 16 · 10 min read · Free chapter

Five-membered heterocycles: pyrrole, furan, thiophene and indole (with pyridine for contrast)

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: rings with a guest atom

A heterocycle is a ring that contains at least one atom other than carbon, usually N, O or S. Heterocycles are everywhere in life. The bases of DNA are pyrimidines and purines, chlorophyll and haem are built from four pyrrole rings, and the amino acid tryptophan contains an indole ring.

This chapter looks at three five-membered rings, pyrrole (N), furan (O) and thiophene (S), plus indole, which is pyrrole fused to benzene. We also compare them with pyridine, a six-membered nitrogen ring, because the contrast explains a great deal.

Ring numbering starts at the heteroatom as position 1. In five-membered rings, the carbons next to the heteroatom are C-2 and C-5 (the α positions), and the other two are C-3 and C-4 (the β positions).

Why these rings are aromatic

In pyrrole, each of the four carbons is sp² and gives one electron to a p orbital. The nitrogen is also sp², and its lone pair sits in the remaining p orbital, parallel to the others. Five p orbitals now hold six π electrons, which satisfies Hückel's 4n + 2 rule. Furan and thiophene are built the same way; O and S each have a second lone pair that lies in the ring plane and is not part of the π system.

Degree of aromaticity. The heteroatom's lone pair must be shared for aromaticity, and an electronegative atom shares it less willingly. Oxygen is the most electronegative, so furan is the least aromatic. Sulphur is the least electronegative and its 3p orbitals still overlap reasonably, so thiophene is the most aromatic of the three. The order is:

benzene>thiophene>pyrrole>furan\text{benzene} > \text{thiophene} > \text{pyrrole} > \text{furan}

Basicity: pyrrole against pyridine. In pyrrole, the nitrogen lone pair is part of the sextet. Protonating it would destroy aromaticity, so pyrrole is an extremely weak base; strong acid protonates it at carbon, not nitrogen, and then it polymerises. In pyridine, the nitrogen lone pair lies in an sp² orbital in the ring plane, outside the π system, so pyridine is a normal base with a pyridinium pKa of about 5.2.

The N–H of pyrrole is weakly acidic (pKa about 17), because the pyrrolyl anion keeps its aromatic sextet. Strong bases such as NaH or Grignard reagents remove this proton.

Electrophilic substitution: very fast, needs gentle reagents

In pyrrole, furan and thiophene, six π electrons are spread over only five atoms, so each carbon is richer in electrons than a benzene carbon. These rings are called π-excessive. They react with electrophiles much faster than benzene does, in the order:

pyrrole>furan>thiophene>benzene\text{pyrrole} > \text{furan} > \text{thiophene} > \text{benzene}

Pyrrole is the most reactive, because nitrogen is the best of the three at donating its lone pair to stabilise the cation. It reacts with electrophiles almost as readily as phenol or aniline.

This high reactivity creates a practical problem. The usual benzene conditions, such as mixed acid for nitration or AlCl₃ for Friedel–Crafts, polymerise pyrrole and furan into tars. Chemists therefore use gentle reagents:

Reaction Reagent used for pyrrole or furan Product position
Nitration Acetyl nitrate (HNO₃ in acetic anhydride) at low temperature 2-nitro
Sulphonation Pyridine–SO₃ complex 2-sulphonic acid
Halogenation Dilute halogen or NBS; pyrrole easily gives the tetrahalo product 2, then all positions
Formylation Vilsmeier–Haack: POCl₃ and DMF 2-carbaldehyde
Acylation Acetic anhydride, alone or with a mild Lewis acid such as BF₃ 2-acetyl

Thiophene is more robust and tolerates conditions closer to those used for benzene. It can even be sulphonated with concentrated sulphuric acid, which is how thiophene impurities are removed from coal-tar benzene.

Where the electrophile goes: C-2 for pyrrole, C-3 for indole

Pyrrole, furan and thiophene: C-2. Draw the cation formed when E⁺ adds at C-2. The positive charge can sit on C-3, on C-5 and on the heteroatom, giving three resonance forms. Attack at C-3 gives a cation with only two forms, because the charge cannot reach C-5 without passing through the sp³ carbon. More resonance forms mean a more stable intermediate and a lower barrier, so C-2 (α) substitution wins. If both C-2 and C-5 are blocked, substitution goes to C-3.

Indole: C-3. Indole reverses this preference. When E⁺ attacks C-3, the positive charge lands on C-2 and is stabilised directly by the nitrogen lone pair, while the benzene ring stays fully aromatic. Attack at C-2 puts the charge on C-3, and nitrogen can only help by disturbing the benzene sextet. So indole reacts at C-3, the β position.

Why it matters. Tryptophan, serotonin and the plant hormone indole-3-acetic acid all carry their side chains at C-3 of indole. Gramine is made from indole by a Mannich reaction at C-3.

Other reactions: when aromaticity is weak

Because furan has the least aromatic character, it often behaves like a diene. With maleic anhydride it undergoes a Diels–Alder reaction to give an oxygen-bridged bicyclic adduct. The reaction is reversible, and the exo adduct is the thermodynamic product. Pyrrole and thiophene are much poorer dienes.

Furan is also sensitive to acid. Aqueous acid opens the ring to give a 1,4-dicarbonyl compound, the reverse of the Paal–Knorr synthesis.

Porphyrins. Pyrrole condenses with aldehydes under acid catalysis. Four pyrrole units joined by four one-carbon bridges give a large macrocycle called a porphyrin, which has an 18π aromatic pathway. Haem, chlorophyll and vitamin B₁₂ are built on this framework.

Metalation. The pyrrolyl anion, formed with strong bases, reacts with alkyl halides at nitrogen when the metal is sodium or potassium. With a Grignard reagent the magnesium salt tends to react at carbon. This is an example of an ambident nucleophile.

Pyridine for contrast: a π-deficient ring

Pyridine has the same six π electrons as benzene, but the electronegative nitrogen pulls electron density out of the ring. Pyridine is therefore π-deficient, and its chemistry is the mirror image of pyrrole's.

Electrophilic substitution is slow. Pyridine is about a million times less reactive than benzene towards SEAr. In acidic media it is protonated to the pyridinium ion, which is even less reactive. Nitration needs very harsh conditions, around 300 °C, and goes to C-3, because attack at C-2 or C-4 would put a positive charge on nitrogen.

Nucleophilic substitution is easy. Nucleophiles attack pyridine at C-2 and C-4, where the negative charge in the intermediate can rest on nitrogen. In the Chichibabin reaction, sodium amide converts pyridine into 2-aminopyridine with loss of hydride. 2- and 4-Chloropyridines undergo SNAr readily, like nitro-activated aryl halides.

Pyridine N-oxide trick. Oxidising pyridine to its N-oxide activates C-4 towards electrophiles, because the oxygen can donate electrons back into the ring. After substitution, the oxygen is removed with PCl₃.

Making the rings: Paal–Knorr and Fischer

Paal–Knorr synthesis. A 1,4-dicarbonyl compound can be closed into all three five-membered heterocycles. Heating with an acid such as P₂O₅ or H₂SO₄ gives a furan. Heating with ammonia or a primary amine gives a pyrrole (or an N-substituted pyrrole). Heating with P₄S₁₀ or Lawesson's reagent gives a thiophene. For example, hexane-2,5-dione gives 2,5-dimethylfuran, 2,5-dimethylpyrrole or 2,5-dimethylthiophene.

Knorr pyrrole synthesis. An α-aminoketone condenses with a β-ketoester to give a substituted pyrrole. Because α-aminoketones self-condense easily, they are usually made in situ by reducing an α-oximinoketone with zinc and acetic acid.

Fischer indole synthesis. Phenylhydrazine and a ketone form a phenylhydrazone. Heated with an acid catalyst such as ZnCl₂ or polyphosphoric acid, the hydrazone tautomerises to an ene-hydrazine, which undergoes a [3,3]-sigmatropic rearrangement. Cyclisation and loss of NH₃ then give the indole.

Isotope labelling shows that the nitrogen attached to the benzene ring stays in the indole, while the other nitrogen (N-2 of the hydrazine) is lost as ammonia. The full mechanism is treated with the other named reactions in the rearrangements module.

Why it matters. These ring syntheses are high-scoring short answers. Remember one reagent for each ring in Paal–Knorr, and the [3,3] shift as the key step in Fischer.

Mains lens: heterocycles in medicine and materials

1. Drugs. More than half of all marketed drugs contain at least one heterocycle. Atorvastatin carries a pyrrole ring, ranitidine a furan ring and clopidogrel a thiophene ring. Indole is the core of sumatriptan for migraine and of indomethacin, a painkiller.

2. Bio-based chemicals. Furfural is made by acid treatment of agricultural waste such as rice husk, corn cobs and bagasse, all plentiful in India. It is the starting point for furan, furfuryl alcohol resins and the solvent tetrahydrofuran. 5-Hydroxymethylfurfural from sugars is a candidate replacement for petroleum-based plastics such as PET.

3. Conducting polymers. Polypyrrole and polythiophene conduct electricity when partially oxidised ("doped"). They are used in sensors, antistatic coatings and organic solar cells.

4. Structure–reactivity summary. A strong Mains answer links each property to one idea: where the heteroatom's lone pair sits. In pyrrole it is part of the sextet, giving a weak base and a reactive ring. In pyridine it is outside, giving a basic nitrogen and an electron-poor ring.

Mains practice: five questions, five angles

These are practice questions written by us, not past papers. The UPSC questions on this topic are shown in the previous year questions panel.

Angle Question Key points to cover
Explain (15 marks) Explain the aromaticity of pyrrole, furan and thiophene, and account for the order of their aromatic character. Draw the orbital picture with a 6π sextet. Relate the order thiophene > pyrrole > furan to electronegativity, and add the Diels–Alder behaviour of furan.
Mechanism (10 marks) Why does pyrrole undergo electrophilic substitution at C-2, whereas indole reacts at C-3? Count three against two resonance forms for pyrrole. For indole, show that C-3 attack keeps the benzene ring intact.
Compare (15 marks) Compare pyrrole and pyridine with respect to basicity, electrophilic substitution and nucleophilic substitution. Contrast the lone pair inside the sextet with the lone pair outside it. Contrast π-excessive with π-deficient rings, C-2 with C-3 SEAr, and include Chichibabin.
Practical (10 marks) Why can pyrrole and furan not be nitrated with mixed acid? Give suitable reagents for their nitration, sulphonation and formylation. Explain acid-catalysed polymerisation. Give acetyl nitrate, the pyridine–SO₃ complex and the Vilsmeier–Haack reagents.
Synthesis (10 marks) How can hexane-2,5-dione be converted into a furan, a pyrrole and a thiophene? Outline the Fischer indole synthesis. Give Paal–Knorr with acid, NH₃ and P₄S₁₀. For Fischer, show the phenylhydrazone, ene-hydrazine, [3,3] shift and loss of NH₃.

How to use this table: for every heterocycle question, first say where the heteroatom's lone pair is; then every other property follows from it.

Quick revision

  • Pyrrole, furan and thiophene are aromatic 6π rings, with the heteroatom's lone pair in the sextet.
  • Aromaticity follows benzene > thiophene > pyrrole > furan.
  • SEAr reactivity follows pyrrole > furan > thiophene > benzene, so gentle reagents are needed.
  • Pyrrole, furan and thiophene substitute at C-2, while indole substitutes at C-3.
  • Pyrrole is a very weak base and a weak N–H acid with pKa about 17.
  • Pyridine is basic (pKa about 5.2), slow in SEAr (C-3) and fast in nucleophilic substitution (C-2 and C-4).
  • Furan acts as a diene in Diels–Alder reactions, and pyrrole builds porphyrins.
  • Paal–Knorr uses a 1,4-diketone with acid (furan), NH₃ (pyrrole) or P₄S₁₀ (thiophene).
  • Fischer indole synthesis goes through an arylhydrazone, a [3,3] shift and loss of NH₃.

Mains answer practice

Write your answer first, then open the points a good answer should cover.

  1. Explain the aromaticity of pyrrole, furan and thiophene using orbital diagrams. Account for the order of their aromatic character and explain why furan readily undergoes Diels–Alder reactions.

    Show answer points
    • Show sp² ring atoms, four carbon p electrons plus the heteroatom lone pair = 6π (Hückel, n = 1).
    • Note the second lone pair of O and S lies in the ring plane.
    • Relate thiophene > pyrrole > furan to electronegativity of S < N < O and how readily the lone pair is shared.
    • Explain furan's low resonance energy making it diene-like; give the maleic anhydride adduct.
  2. Why does pyrrole undergo electrophilic substitution at C-2 while indole reacts at C-3? Illustrate with resonance structures of the intermediates.

    Show answer points
    • Draw C-2 attack on pyrrole: three resonance forms including the iminium form.
    • Draw C-3 attack: only two forms.
    • For indole, show C-3 attack gives an iminium cation with the benzene ring intact.
    • Show C-2 attack on indole needs to disturb the benzene sextet; give tryptophan/gramine as C-3 examples.
  3. Compare pyrrole and pyridine with respect to (a) basicity, (b) electrophilic substitution and (c) nucleophilic substitution. Explain each difference.

    Show answer points
    • (a) Pyrrole's lone pair is in the sextet: very weak base, protonates at C; pyridine's sp² lone pair is outside: pKa about 5.2.
    • (b) Pyrrole is π-excessive, fast SEAr at C-2; pyridine is π-deficient, slow SEAr at C-3 under harsh conditions.
    • (c) Pyrrole resists nucleophiles; pyridine reacts at C-2/C-4 (Chichibabin with NaNH₂, SNAr of 2-chloropyridine).
    • Mention pyridine N-oxide for activating C-4 towards electrophiles.
  4. Pyrrole and furan cannot be nitrated or sulphonated under the conditions used for benzene. Explain, and give suitable reagents for their nitration, sulphonation, formylation and acetylation.

    Show answer points
    • Explain very high reactivity and acid-catalysed polymerisation (C-protonation then attack by another ring).
    • Nitration: acetyl nitrate at low temperature.
    • Sulphonation: pyridine–SO₃ complex.
    • Formylation: Vilsmeier–Haack (POCl₃/DMF); acetylation: acetic anhydride, with or without BF₃.
  5. Starting from hexane-2,5-dione, how would you prepare 2,5-dimethylfuran, 1,2,5-trimethylpyrrole and 2,5-dimethylthiophene? Give the mechanism for the furan.

    Show answer points
    • Furan: acid (P₂O₅ or H₂SO₄) — protonate one C=O, enol of the other attacks, hemiacetal then dehydration.
    • Pyrrole: methylamine (Paal–Knorr), via hemiaminal and dehydration.
    • Thiophene: P₄S₁₀ or Lawesson's reagent.
    • Note the reverse reaction: acid hydrolysis of furans gives 1,4-diketones.
  6. Outline the mechanism of the Fischer indole synthesis from phenylhydrazine and butan-2-one. Which nitrogen is lost as ammonia, and how is this known?

    Show answer points
    • Form the phenylhydrazone; acid-catalysed tautomerism to the ene-hydrazine.
    • Show the [3,3]-sigmatropic rearrangement forming the new C–C bond.
    • Show rearomatisation, cyclisation to the aminal and loss of NH₃ to give 2,3-dimethylindole.
    • State that ¹⁵N labelling shows the nitrogen attached to the aryl ring stays in the indole, while the terminal nitrogen (N-2) is lost as NH₃.

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

More in this module: Substitution and elimination reactions

Official sources

Facts in this chapter were checked against these official sources.

  1. IGNOU MCH-017 Organic Chemistry-II, Block 2 (heterocyclic compounds)
  2. LibreTexts Organic Chemistry: aromatic heterocycles (pyrrole, furan, thiophene, pyridine, indole)
  3. NPTEL Heterocyclic chemistry (IIT): five-membered heterocycles and indoles