Opioid system dysregulation in response to stress is known to lead to psychiatric disorders including major depression. Among three different types of opioid receptors, the mu-type receptors (mORs) are highly expressed in the habenula complex, however, the action of mORs in this area and its interaction with stress exposure is largely unknown. Therefore, we investigated the roles of mORs in the habenula using male rats of an acute learned helplessness (aLH) model. First, we found that mOR activation decreased both excitatory and inhibitory synaptic transmission onto the lateral habenula (LHb). Intriguingly, this mOR-induced synaptic depression was reduced in an animal model of depression compared to that of controls. In naïve animals, we found an unexpected interaction between mORs and the endocannabinoid (eCB) signaling occurring in the LHb, which mediates presynaptic alteration occurring with mOR activation. However, we did not observe presynaptic alteration by mOR activation after stress exposure. Moreover, selective mOR activation in the habenula before, but not after, stress exposure effectively reduced helpless behaviors compared to aLH animals. Our observations are consistent with clinical reports suggesting the involvement of mOR signaling in depression, and additionally reveal a critical time window of mOR action in the habenula for ameliorating helplessness symptoms.