Increased use of radiation in medicine, industry, and laboratories, requires safe conditions to be provided for its optimal use. One of the cases in which people are exposed to radiation, is during the detection of explosive materials by PGNAA method. Therefore, external dosimetry is necessary for workplaces where the method is used. In this study, Monte Carlo simulation program, MCNPX has been used to simulate gamma dose in the environment during the detection of explosive materials by PGNAA method. The simulated results were validated practically. The results indicate a good agreement between the simulated and measured data. The study demonstrated that MCNPX code can be used eectively for simulating gamma dose in various environments.