In this work, a novel electrochemical sensor was developed for the detection of nitroaromatic explosive materials, based on a gold nanoparticle-modified glassy carbon (GC) electrode coated with poly(o-phenylenediamine–aniline film) (GC/P(o-PDA-co-ANI)-Aunano electrode). Nitroaromatic compounds were detected through their π-acceptor/donor interactions with o-phenylenediamine–aniline functionalities on the modified electrode surface. The enhanced sensitivities were achieved through π–π and charge-transfer (CT) interactions between the electron-deficient nitroaromatic compounds and σ-/π-donor amine/aniline groups linked to gold nanoparticles (Au-NPs), providing increased binding and preconcentration onto the modified GC-electrodes. Selective determination of nitroaromatic type explosives in the presence of nitramines was enabled by o-PDA and reusability of the electrode achieved by Au-NPs. Calibration curves of current intensity versus concentration were linear in the range of 2.5–40mgL−1 for 2,4,6-trinitrotoluene (TNT) with a detection limit (LOD) of 2.1mgL−1, 2–40mgL−1 for 2,4-dinitrotoluene (DNT) (LOD=1.28mgL−1), 5–100mgL−1 for tetryl (LOD=3.8mgL−1) with the use of the GC/P(o-PDA-co-ANI)-Aunano electrode. For sensor measurements, coefficients of variation of intra- and inter-assay measurements were 0.6% and 1.2%, respectively (N=5), confirming the high reproducibility of the proposed assay. Deconvolution of current contributions of synthetic (TNT+DNT) mixtures at peak potentials of constituents was performed by multiple linear regression analysis to provide high sensitivity for the determination of each constituent. Determination options for all possible mixture combinations of nitroaromatic explosives are presented in this work. The proposed methods were successfully applied to the analysis of nitroaromatics in military explosives, namely comp B, octol, and tetrytol. Method validation was performed against GC–MS on real post-blast residual samples containing both explosives.