In this study a mild, efficient and environmentally friendly method has been developed for the synthesis of amides and esters in the presence of hydrotalcite in water at room temperature. Different types of amines and phenols have been used and in all cases the products were obtained in moderate to high yields after an easy work-up. This method follows the principles of green chemistry.