Anorexia and weight loss are frequent complications of acute and chronic infections and result from induction of cytokines, prostaglandins, and other inflammatory mediators that are critical for pathogen elimination. Selective attenuation of the hypophagic response to infection and maintenance of the production of factors essential for infection control would be a useful addition to antimicrobial therapy in the treatment of human disease. Here, we evaluate the relative contribution of cyclooxygenase (COX)-1- and COX-2-derived prostaglandins to anorexia and weight loss precipitated by systemic immune activation by lipopolysaccharide (LPS). Using COX isoform-selective pharmacological inhibitors and gene knockout mice, we found that COX-2 inhibition during LPS-induced inflammation results in preserved food intake and maintenance of body weight, whereas COX-1 inhibition results in augmented and prolonged weight loss. Regulation of neuropeptide Y, corticotropin-releasing hormone, leptin, and interleukin-6 does not change as a function of COX-2 inhibition after LPS administration. Our data implicate COX-2 inhibition as a therapeutic target to maintain nutritional status while still allowing a normal cytokine response during infection.