The Claisen condensation involves the reaction of esters in basic medium forming 3-ketoesters

claisen-condensacion.gif
Mechanism:
 
Step 1. Formation of the ester enolate
formacion-enolato.gif
 
Step 2. Nucleophilic addition
 
ataque-nucelofilo.gif
 
 
Stage 3. Ethoxide removal
 
eliminacion.gif
 
 
The displacement of the equilibria is produced by the subtraction of the acid hydrogen in the final keto ester, forming an enolate that is protonated in the second stage.