Chemistry doubt, NEET and JEE

Which is more basic, pyridine or piperidine?

Answer: Piperidine. The order is piperidine > pyridine > pyrrole. The conjugate acid of piperidine has pKa​ about 11.1 and that of pyridine about 5.2; pyrrole is hardly basic at all.

By Sunil Kumar. Updated 26 November 2026.

Why

Piperidine is a saturated secondary amine. Its nitrogen is sp3 and the lone pair is in an sp3 orbital with only 25% s character, so the pair is held loosely and is easily given to a proton.

In pyridine the nitrogen is sp2. The lone pair is in an sp2 orbital in the plane of the ring. It is not part of the aromatic sextet, so it is available, but with 33% s character it is held closer to the nucleus. Pyridine is therefore a weaker base.

In pyrrole the lone pair on nitrogen is part of the aromatic sextet. Using it to hold a proton would destroy the aromaticity, so pyrrole is a very weak base, and its N-H is in fact weakly acidic.

CompoundHybridisation of NLone pairpKa​ of conjugate acid
Piperidinesp3Localised, free11.1
Imidazolesp2 (the N without H)Not in the sextet7.0
Pyridinesp2Not in the sextet5.2
Anilinebetween sp2 and sp3Delocalised into the ring4.6
Pyrrolesp2Part of the sextetbelow 1

Previous year questions on this

Practise the same idea

More doubts like this

10 questions on this chapter, with solutions