# Why is pyrimidine less basic than pyridine?

From Wikipedia's article on pyrimidine:

Because of the decreased basicity compared to pyridine, electrophilic substitution of pyrimidine is less facile.

But why is pyrimidine less basic than pyridine? Pyrimidine has two $$\mathrm{sp^2}$$-hybridised lone pairs available for protonation, compared with pyridine's one.

It is not the number of lone pairs that in any way explains basicity. Take a random sugar and it will have ten times the number of lone pairs (albeit on oxygen, not on nitrogen) without being significantly basic.

The problem is electronics. Nitrogen, being a rather electronegative atom, is able to draw the π electrons towards it well — to the extent that pyridine derivatives are termed extremely electron poor and thus very slow in electrophilic substitution reactions.

Going from pyridine to pyrimidine we need to double that. Thus, there is a perceived severe shortage of electrons in that ring since both nitrogens are trying to draw them towards themselves.

Now assume you protonate that species. We now have two nitrogens of which one is positively charged. Immediately, that positively charged nitrogen multiplies its electron-withdrawing force. Equally immediately, the other nitrogen feels electron density leaving its vicinity. The whole system is much less favourable than the pyridine system with only a single nitrogen.

Rephrasing that argument: Basicity is increased when electron-donating neighbours increase the electron density (that equals a partial negative charge) on an atom. In pyrimidine’s case, we have an electron-withdrawing neighbour that reduces the electron density (giving a partial positive charge) and making protonation (i.e. more positive charge) less favourable.

• One more thing worth noting, the lone pairs on nitrogen atoms cannot be used to increase the electron density of the ring, as no resonance structure will accept the lone pair on any of the nitrogens. Apr 28, 2016 at 10:16
• Come to think of it, there are certain compounds in which several lone pairs cooperate nicely to enhance basicity (guanidine comes to mind). Not the case here, though. Apr 28, 2016 at 10:50
• @IvanNeretin Or proton sponge, a.k.a. 1,8-bis(dimethylamino)naphthalene as another prototypical example.
– Jan
Apr 28, 2016 at 11:19
• As Ivan mentioned, guanidine is a very strong base. When is this reasoning applicable? Maybe this is how chemistry is and I should probably just memorise it up. Nov 18, 2019 at 15:34
• @user600016 The conjugate acid is a highly symmetric structure. The lone pairs and the double bond resonate in what Martin has called Y-aromaticity. Overall, it’s a good structure for a protonated species, so it is protonated easily.
– Jan
Nov 18, 2019 at 16:47

In pyridine, the hybridisation of nitrogen atom is $$\mathrm{sp}^2$$. The electron pair on nitrohen lies outside the ring on an $$\mathrm{sp}^2$$ hybrid orbital and is available for protonation, making pyridine a basic heterocycle.

The $$\mathrm pK_\mathrm{a}$$ of the conjugate acid of pyridine is $$5.25$$

In pyrimidine, the nitrogen atoms are equivalent and $$\mathrm{sp}^2$$ hybridized. Both electron pairs lie outside the aromatic ring on $$\mathrm{sp}^2$$ hybrid orbitals. Both N are slightly basic. Pyrimidine is less basic than pyridine because of the inductive, electron-withdrawing effect of the second N atom.

The $$\mathrm pK_\mathrm{a}$$ of the conjugate acid of pyrimidine is $$1.3$$