The mechanisms by which Epstein-Barr virus (EBV) contributes to the development of gastric cancer are unclear. We investigated EBV-associated genomic and epigenomic variations in gastric cancer cells and tumors. We performed whole-genome, transcriptome, and epigenome sequence analyses of a gastric adenocarcinoma cell line (AGS cells), before and after EBV infection. We then looked for alterations in gastric tumor samples, with (n = 34) or without (n = 100) EBV infection, collected from patients at the Prince of Wales Hospital, Chinese University of Hong Kong (from 1998 through 2004), or the First Affiliated Hospital of Sun Yat-sen University, Guangzhou, China (from 1999 through 2006). Transcriptome analysis showed that infected cells expressed 9 EBV genes previously detected in EBV-associated gastric tumors and 71 EBV genes not previously reported in gastric tumors. Ten viral genes that had not been reported previously in gastric cancer but were expressed most highly in EBV-infected cells also were expressed in primary EBV-positive gastric tumors. Whole-genome sequence analysis identified 45 EBV-associated nonsynonymous mutations. These mutations, in genes such as AKT2, CCNA1, MAP3K4, and TGFBR1, were associated significantly with EBV-positive gastric tumors, compared with EBV-negative tumors. An activating mutation in AKT2 was associated with reduced survival times of patients with EBV-positive gastric cancer (P = .006); this mutation was found to dysregulate mitogen-activated protein kinase signaling. Integrated epigenome and transcriptome analyses identified 216 genes transcriptionally down-regulated by EBV-associated hypermethylation; methylation of ACSS1, FAM3B, IHH, and TRABD increased significantly in EBV-positive tumors. Overexpression of Indian hedgehog (IHH) and TraB domain containing (TRABD) increased proliferation and colony formation of gastric cancer cells, whereas knockdown of these genes reduced these activities. We found 5 signaling pathways (axon guidance, focal adhesion formation, interactions among cytokines and receptors, mitogen-activated protein kinase signaling, and actin cytoskeleton regulation) to be affected commonly by EBV-associated genomic and epigenomic alterations. By using genomic, transcriptome, and epigenomic comparisons of EBV infected vs noninfected gastric cancer cells and tumor samples, we identified alterations in genes, gene expression, and methylation that affect different signaling networks. These might be involved in EBV-associated gastric carcinogenesis.