This study aimed to investigate the activation of error-prone DNA repair pathway in response to Helicobacter pylori infection. Relative changes in the expression levels of genes involved in the non-homologous end-joining pathway (NHEJ) in H. pylori-infected (Cases) and non-infected patients (Controls) with chronic gastritis were measured. A significant increase in the relative expression level of TP53, and significant decrease in the relative transcription of lncRNA LINP1 and XRCC5 were detected in the case group. The transcription of Lig4 and XRCC6 was increased in the case group, which was not statistically significant. The Spearman’s Correlation Coefficient analysis showed a significant positive-correlation between the transcriptional levels of LINP1 and XRCC4/XRCC5/Lig4, and between XRCC5 and TP53/Lig4 both in the case and control groups. Moreover, a significant positive correlation between LinP1 and XRCC6 in the case, and a significant positive correlation between XRCC4 and Lig4, and a negative correlation between TP53 and LinP1/XRCC4/XRCC5 in the control group was detected. Although a relative difference was detected in transcriptional levels of the NHEJ gene mediators, downregulation of LinP1 in H. pylori-infected patients proposed the activation of a negative feedback loop, which may interfere with the NHEJ activity at the early stages of gastritis.