A three-component reaction catalyzed by base was established, which mainly consisted of ynals, isocyanates, amines and alcohols. This strategy provides a wide range of substrates and represents a simple process for the preparation of different pyridine derivatives in good yields with high regioselectivities.