Awareness of death has been shown to influence human cognition and behavior. Yet, how mortality threat impacts our daily social behavior remains elusive. To address this issue, we developed a dyadic experimental model and recruited 86 adults (43 dyads) to complete two computer-based tasks (i.e., competitive and cooperative button-pressing). We manipulated dyads’ awareness of death (mortality threat vs. neutral control, MT vs. NC) and simultaneously measured their neurophysiological activity using electroencephalography (EEG) during the task. Several fundamental observations were made. First, the MT group showed significantly attenuated competition and slightly promoted cooperation. Second, compared to NC, MT significantly decreased gamma-band inter-brain synchronization (IBS) in the competitive context, which was associated with increased subjective fear of death within dyads. Notably, those effects were context-specific: we did not observe comparable results in the cooperative context. Finally, a machine-learning approach was successfully used to discriminate between the MT and NC groups based on accumulated IBS. Together, these findings indicate that mortality threat to some extent mitigates interpersonal competition, and such mitigation might be associated with changes of gamma-band IBS.