A method for the simultaneous measurement of trace amounts of phenolic xenoestrogens, such as 2,4-dichlorophenol (2,4-DCP), 4- tert-butylphenol (BP), 4- tert-octylphenol (OP), 4-nonylphenol (NP), pentachlorophenol (PCP) and bisphenol A (BPA), in water samples was developed using stir bar sorptive extraction (SBSE) with in situ derivatization followed by thermal desorption (TD)–gas chromatography–mass spectrometry (GC–MS) analysis. The conditions for derivatization with acetic acid anhydride were investigated. A polydimethylsiloxane (PDMS)-coated stir bar and derivatization reagents were added to 10 ml of water sample and stirring was commenced for 10–180 min at room temperature (25 °C) in a headspace vial. Then, the extract was analyzed by TD–GC–MS. The optimum time for SBSE with in situ derivatization was 90 min. The detection limits of 2,4-DCP, BP, OP, NP, PCP and BPA were 2, 1, 0.5, 5, 2 and 2 pg ml −1, respectively. The method showed good linearity over the concentration ranges of 10, 5, 2, 20, 10 and 10–1000 pg ml −1 for 2,4-DCP, BP, OP, NP, PCP and BPA, respectively, and the correlation coefficients were higher than 0.99. The average recoveries of those compounds in river water samples were equal to or higher than 93.9% (R.S.D. <7.2%) with correction using the added surrogate standards. This simple, accurate, sensitive and selective method can be used in the determination of trace amounts of phenolic xenoestrogens in river water samples.