For the first time, to our knowledge, anionic and nonionic surfactants were analyzed in oil matrix by Ultra-High-Performance Liquid Chromatography hyphenated to High-Resolution Mass Spectrometry (UHPLC-HRMS). The feasibility of their analysis was studied using synthetic 2 mixtures of surfactants prepared in water (Quality controls), in a binary THF/Toluene 50/50 v/v (Surfactant+THF/Toluene) and in a binary THF/Toluene containing 1 and 10% of crude oil (Crude1% and Crude10%). These compositions were chosen in order to be as close as possible to petroleum related samples to be investigated in the future. Analyses were carried out by UHPLC methods using both reverse phase and anion-exchange mechanisms with a mixed mode column.Despite the complexity of the oil matrix and the presence of organic solvents used for dilution, the retention times of the surfactants were not affected whatever the concentration of crude oil present in the sample. Nevertheless, a significant matrix effect caused a loss of signal when the concentration of oil reached 10% in mass. For the analysis of samples with this crude oil concentration range, it would be advisable to dilute the sample.The present study was a first insight into the behavior of the HRMS hyphenated to LC for the analysis of surfactants in petroleum matrices. It should be of interest to complete this study by an investigation of the long-term impact of crude oil in a routine use.