The aim of this study was to investigate the effects of dietary β-hydroxy-β-methylbutyrate (HMB) on lipopolysaccharide (LPS)-induced muscle atrophy and to investigate the mechanisms involved. Sixty pigs (21 ± 2 days old, 5.86 ± 0.18 kg body weight) were used in a 2 × 3 factorial design and the main factors included diet (0, 0.60%, or 1.20% HMB) and immunological challenge (LPS or saline). After 15 d of treatment with LPS and/or HMB, growth performance, blood parameters, and muscle protein degradation rate were measured. The results showed that in LPS-injected pigs, 0.60% HMB supplementation increased the average daily gain and average daily feed intake and decreased the feed : gain ratio (P < 0.05), with a concurrent increase of lean percentage. Moreover, 0.60% HMB supplementation decreased the serum concentrations of blood urea nitrogen, IL-1β, and TNF-α and the rate of protein degradation as well as cell apoptosis in selected muscles (P < 0.05). In addition, dietary HMB supplementation (0.60%) regulated the expression of genes involved in mitochondrial biogenesis and increased the phosphorylation of Akt and Forkhead Box O3a (FoxO3a) in selected muscles, accompanied by decreased protein expression of muscle RING finger 1 and muscle atrophy F-box. These results indicate that HMB may exert protective effects against LPS-induced muscle atrophy by normalizing the Akt/FoxO3a axis that regulates ubiquitin proteolysis and by improving mitochondrial biogenesis.