Objective (s): Gastric cancer (GC) is the most prevalent cancer in men and third for women. The aim of this study was to analyze the survival of GC patients and then the prediction of death in these patients using a neural network model.Methods: This was a historical cohort study with data selected from 232 registered gastric cancer patients who underwent surgery between 2002 and 2007 at a referral center for gastrointestinal cancers, in Tehran, Iran. Prognostic factors of survival using Kaplan-Meier and Cox proportional hazards models were estimated. To analyze the data using the neural network, the data were divided randomly into two groups, training and testing sets, and homogeneous survival times were tested using log rank test. To select the best network structure, the characteristics of network models modified and the best model was selected using ROC analysis. The analysis was performed using SPSS version 19.Results: The median survival time of GC patients was 25.1 months. One and three year survival times of GC patients were 0.769 (CI 95%: 0.711, 0.833) and 0.256 (CI 95%: 0.185, 0.373), respectively. The prediction error was 37.7% and the area under the ROC was 0.732 at final model. True prediction for censorship and death were 71.4% and 50%, respectively.Conclusion: Neural network is an appropriate approach for predicting the survival of GC patients and its predictions can be used to classify these patients.