The study aimed to determine whether the exposure to chronic stress and/or performance of gonadectomy might lead to disturbance in the expression of connexin (Cx) 37, 40 and 43 in the spinal cord (SC), as a potential explanation for sex differences in stress-related chronic pain conditions. After the rats were sham-operated or gonadectomized, three 10-day sessions of sham or chronic stress were applied. Immunohistochemistry and transmission electron microscopy (TEM) were used to examine Cx localization and expression in the SC. The gonadectomy resulted in an increase of Cx37 expression in the dorsal horn (DH) of the female rats, but chronic stress suppressed the effects of castration. In male rats, only the combined effects of castration and chronic stress increased Cx37 expression. The influence of chronic stress on the DH Cx40 expression was inversely evident after the castration: increased in the ovariectomized female rats, while decreased in the orchidectomized male rats. We did not find any effect of chronic stress and castration, alone or together, on Cx43 expression in the DH, but the percentage of Cx43 overlapping the astrocyte marker glial fibrillary acidic protein (gfap) increased in the male stressed group after the castration. In conclusion, the association of the chronic stress with sex hormone depletion results in disturbances of the SC Cx expression and might be a possible mechanism of disturbed pain perception after chronic stress exposure.