Chemistry doubt, NEET and JEE

Which is more basic, pyridine or pyrrole?

Answer: Pyridine, by a huge margin. The conjugate acid of pyridine has pKa​ about 5.2; that of pyrrole about -3.8.

By Sunil Kumar. Updated 26 November 2026.

Why

In pyridine the nitrogen lone pair sits in an sp2 orbital in the plane of the ring. It is not part of the aromatic π sextet, so it is free to take a proton.

In pyrrole the nitrogen lone pair is one of the six π electrons that make the ring aromatic. Using it to bind H+ would destroy aromaticity, so pyrrole is almost not basic at all, and when it is protonated, it is protonated on carbon, not nitrogen.

Exam tip

Basicity order often asked: piperidine (sp3 N, about 11.1) > pyridine (5.2) > aniline (4.6) > pyrrole (about -3.8), as pKa of the conjugate acids.

Previous year questions on this

Practise the same idea

More doubts like this

10 questions on this chapter, with solutions