Nucleic acids (NAs) were recently shown to be digested by pepsin in vitro; however, NAs digestion in human gastric juice in vivo is more complicated because of the complex gastric environment and ingestion of other food components. The purpose of this study was to investigate the digestibility of NAs in real human gastric juices after ingestion of other food components. As a result, DNA digestion was not affected when carbohydrates, proteins, and metal elements were ingested within the recommended dietary intake levels. Separately, protein exerted an inhibitory effect on DNA digestion when the mass ratio of protein:DNA was greater than 40:1. DNA exists in the nucleoprotein, which is closer to the state of DNA in real food, and was digested efficiently in human gastric juice. Meanwhile, DNA digestion was rarely affected even when the concentrations of monovalent ion (Na+) and divalent ions (Mg2+) were as high as 500 and 100 mM, respectively, and high concentration of Mg2+ ranged from 20 to 100 mM accelerated the digestion. In particular, short-stranded DNA (<100 nt) and miRNAs (19 ~ 25 nt) were not obviously degraded in human gastric juice. In conclusion, dietary NAs were digested efficiently and were not affected by other food components in human gastric juice, which may facilitate further digestion and utilization of DNA in the intestinal tract.