Optimum conditions for the determination of carcinogenic 1-nitropyrene (NP) and 1-aminopyrene (AP) by differential pulse voltammetry with a boron-doped diamond film electrode were found.