IMPORTANCEAlthough critical to patient safety, health care-related allergic reactions are challenging to identify and monitor. OBJECTIVE To develop a deep learning model to identify allergic reactions in the free-text narrative of hospital safety reports and evaluate its generalizability, efficiency, productivity, and interpretability.