A total of 173,777 patients were included (63.5% TKA and 36.5% THA). Male gender increased the risk of multiple adverse events, including death (relative risk [RR] 1.1, P < .001), surgical site infection (RR 1.2, P < .001), sepsis (RR 1.4, P < .001), cardiac arrest (RR 1.8, P < .001), and return to the operating room (RR 1.3, P < .001). Men had decreased overall adverse events (RR 0.8, P < .001) secondary to a lower risk of urinary tract infection (RR 0.5, P < .001) and blood transfusion (RR 0.7, P < .001), which were prevalent adverse events. Men had an increased risk of 30-day readmission (RR 1.2, P < .001), slightly increased operative time (+6 minutes, P< .001), and slightly decreased length of stay (−0.2 days, P < .001).