N-Nnitrosodiphenylamine (NDPhA) is a typical kind of nonvolatile nitrosamine. Its electrochemical oxidation occurs usually at relative positive potentials (> 1.1 V) even at catalytic noble metal electrodes in aqueous solutions. The formation of oxide and evolution of oxygen at such high potentials makes the analysis of NDPhA on noble metal electrodes difficult. Accordingly, its electrochemical analysis is usually performed in anhydrous organic electrolytes. In this work, room temperature ionic] acting as electrolyte was introduced in this electrochemical analysis systems. It acts as supporting electrolyte itself, has good solubility of organic compounds, and allows a wide performance potential window of noble electrode, and in turn, highly electrocatalytic noble electrode of platinum or gold can be used as working electrodes. After the investigation of the electrocatalytic behavior of NDPhA at a gold electrode in this room temperature ionic liquid electrolyte, high sensitive determination of NDPhA was designed. It is demonstrated that the electrochemical response of NDPhA is determined by a surfacecontrolled process. Therefore, a sensor with high sensitivity was constructed by applying porous Au electrodes with highly electrocatalytic activity and large active surface area. The present approach on one hand broadens the application field of room temperature ionic liquids, and on the other hand provides a sensitive analytical method for environmental detection.