Intestinal biopsy is a basic experimental method for studying pathological changes in the intestinal tract during human immunodeficiency virus (HIV) infection. In this study, jejunal resection and anastomosis were successfully performed in 12 Chinese rhesus macaques (Macaca mulatta). The sampled gut tissues were then examined by hematoxylin and eosin (H&E) staining, electron microscopy, flow cytometry, immunofluorescence detection, and RNA quality analysis to ensure suitability for histological, physiological, pathological, and immunological detection, as well as mechanistic analysis at the cellular and molecular level. Importantly, the surgery did not affect the ratio or number of immune cells in peripheral blood or the concentration of lipids, proteins, and vitamins in plasma, which are important indicators of nutritional status. Our results thus indicated that jejunal resection and anastomosis are feasible, and that immune homeostasis and intestinal barrier integrity are not altered by surgery. All macaques recovered well (except for one), with no postoperative complications. Therefore, this animal surgery may be applicable for longitudinal intestinal research related to diseases such as acquired immunodeficiency syndrome (AIDS).