Three types of cells have been distinguished in the midgut epithelium of two centipedes, Lithobius forficatus and Scolopendra cingulata: digestive, secretory, and regenerative cells. According to the results of our previous studies, we decided to analyze the relationship between apoptosis and necrosis in their midgut epithelium and circadian rhythms. Ultrastructural analysis showed that these processes proceed in a continuous manner that is independent of the circadian rhythm in L. forficatus, while in S. cingulata necrosis is activated at midnight. Additionally, the description of apoptosis and necrosis showed no differences between males and females of both species analyzed. At the beginning of apoptosis, the cell cytoplasm becomes electron-dense, apparently in response to shrinkage of the cell. Organelles such as the mitochondria, cisterns of endoplasmic reticulum transform and degenerate. Nuclei gradually assume lobular shapes before the apoptotic cell is discharged into the midgut lumen. During necrosis, however, the cytoplasm of the cell becomes electron-lucent, and the number of organelles decreases. While the digestive cells of about 10 % of L. forficatus contain rickettsia-like pathogens, the corresponding cells in S. cingulata are free of rickettsia. As a result, we can state that apoptosis in L. forficatus is presumably responsible for protecting the organism against infections, while in S. cingulata apoptosis is not associated with the elimination of pathogens. Necrosis is attributed to mechanical damage, and the activation of this process coincides with proliferation of the midgut regenerative cells at midnight in S. cingulata.