A simple solid phase extraction procedure for speciation of selenium(IV) and selenium(VI) in environmental samples has been proposed prior to graphite furnace atomic absorption spectrometry. The method is based on the solid phase extraction of the selenium(IV)-ammonium pyrrolidine dithiocarbamate (APDC) chelate on the Diaion HP-2MG. After reduction of Se(VI) by heating the samples in the microwave oven with 4 mol I-I HCl, the system was applied to the total selenium. Se(VI) was calculated as the difference between the total selenium content and Se(IV) content. The experimental parameters, pH, amounts of reagents, eluent type and sample volume were optimized. The recoveries of analytes were found greater than 95%. No appreciable matrix effects were observed. The adsorption capacity of sorbent was 5.20 mg g(-1) Se (IV). The detection limit of Se (IV) (3sigma, n = 11) is 0.010 mu g l(-1). The preconcentration factor for the presented system was 100. The proposed method was applied to the speciation of selenium(IV), selenium(VI) and determination of total selenium in natural waters and microwave digested soil, garlic, onion, rice, wheat and hazelnut samples harvested various locations in Turkey with satisfactory results. In order to verify the accuracy of the method, certified reference materials (NIST SRM 2711 Montana Soil, NIST SRM 1568a Rice Flour and NIST SRM 8418 Wheat Gluten) were analyzed and the results obtained were in good agreement with the certified values. The relative errors and relative standard deviations were below 6 and 10%, respectively. (c) 2006 Elsevier B.V. All rights reserved.