This article describe a sensitive, specific, accurate, and precise method for the analysis of N-nitrosodimethylamine (NDMA) in pharmaceutical products using full evaporation static headspace gas chromatography with nitrogen phosphorous detection. It has the potential to serve as a universal method for testing all semi-volatile nitrosamines across different drug products.