In this paper, one-pot synthesis of 2,4,6-triarylpyridine by condensation of subsisted acetophenone (II), aromatic aldehydes (I), and ammonium acetate (III) in the presence of nanocrystalline MgAl2O4 as a new heterogeneous catalyst under solvent-free conditions is reported. Advantages of this method are the use of spatially-hindered aldehydes such as 2-methoxy-, 2-fluoro-, and 2-chlorobenzaldehydes, a new nanocatalyst with high surface area, shorter reaction time, easier workup, higher yield, and its environmental friendliness. The performance of this reaction under solvent free conditions using heterogeneous catalysts like MgAl2O4 could enhance its efficiency from an economic as well as green chemistry point of view.