A series of carboxamide and cyano functionalized pyridone derivatives 4a-q have been synthesized via one-pot synthesis of various aldehydes 1a-q, acetoacetanilide 2, and cyanoacetamide 3. The reaction was simple and afforded pyridone derivatives in good yield, 89 to 93%. The novel pyridone derivatives were achieved by Hantzch one-pot synthesis. Moreover, the synthesized compounds were screened against Gram-positive and Gram-negative bacteria and fungi for their activity. Among them, compound 4c shows highest inhibition at 4.25 mm against Staphylococcus aureus and 3.75 mm against Escherichia coli Grampositive and Gram-negative bacteria, respectively.