Two compounds, analogues of cephalexin with 2- and 4-pyridone groups at C-3, were prepared. Biological evaluation found the compounds to exhibit activity against Gram-positive and Gram-negative organisms in vitro and in vivo. The compounds were only active in vivo on subcutaneous administration.