The interactions induced by RIP homotypic interaction motif (RHIM) are essential for the activation of inflammatory signaling and certain cell death pathways. In the present study, a RHIM-containing protein was identified from Pacific oyster Crassostrea gigas, which harbored a RHIM domain and a Death domain (designated CgRHIM-containing protein). The mRNA transcripts of CgRHIM-containing protein were constitutively expressed in all the examined tissues of oysters, with the highest expression level in mantle. The CgRHIM-containing protein was mainly distributed in the cytoplasm of oyster haemocytes. After high temperature stress, the expression levels of CgRel and CgBcl-2 increased significantly, and reached the peak level at 12 h, then decreased gradually. The transcripts of CgRHIM-containing protein, Cgcaspase-8 and Cgcaspase-3 in haemocytes up-regulated at 12 h after high temperature stress. Moreover, the protein abundance of CgRHIM-containing protein increased significantly, and the ubiquitination level of CgRHIM-containing protein in haemocytes showed an increasing trend at first and then decreased. After the expression of CgRHIM-containing protein was knocked down by siRNA, the mRNA expression levels of CgRel and CgBcl-2 decreased significantly at 6 h after high temperature stress, and those of CgFADD-like, Cgcaspase-8 and Cgcaspase-3, as well as the apoptosis rate of haemocytes also decreased significantly at 24 h. These results indicated that CgRHIM-containing protein might regulate haemocyte apoptosis in oysters upon high temperature stress via mediating the expression of Rel, Bcl-2 and caspase-8/3.