To explore the role of uncoupling protein 2 (UCP2) during myocardial dysfunction in a canine model of endotoxin shock, 26 mongrel canines were randomly divided into the following four groups: A (control group; n = 6), B2 (shock after 2 h; n = 7), B4 (shock after 4 h; n = 7), and B6 (shock after 6 h; n = 6). Escherichia coli endotoxin was injected into the canines via the central vein, and hemodynamics were monitored. Energy metabolism, UCP2 mRNA and protein expression, and UCP2 localization were analyzed, and the correlation between energy metabolism changes, and UCP2 expression was determined. After the canine endotoxin shock model was successfully established, the expression of UCP2 mRNA and protein was found to increase, with later time points showing significant increases (P < 0.05). Immunofluorescence assays of UCP2 in heart tissue showed that UCP2 was localized in the cytoplasm, and its expression pattern was the same as that found in the mRNA and protein analyses. The energy metabolism results revealed that the ADP levels increased, but the ATP and phosphocreatine (PCr) levels and ATP/ADP and PCr/ATP ratios decreased in the model. In particular, the PCr/ATP ratio was significantly different from that of the control group 6 h after shock (P < 0.05). Furthermore, correlation analysis showed that the UCP2 protein and mRNA levels were negatively correlated with myocardial energy levels. In summary, decreased energy synthesis can occur in the myocardium during endotoxin shock, and UCP2 may play an important role in this process. The negative correlation between UCP2 expression and energy metabolism requires further study, as the results might contribute to the treatment of sepsis with heart failure.