We report the synthesis and in vitro activity of a series of novel pyrrolidinyl pyridones and pyrazinones as potent inhibitors of prolyl oligopeptidase (POP). Within this series, compound 39 was co-crystallized within the catalytic site of a human chimeric POP protein which provided a more detailed understanding of how these inhibitors interacted with the key residues within the catalytic pocket.