A method based on Headspace solid-phase microextraction (HS-SPME, with a 100 mum PDMS-fiber) in combination with gas-chromatography and pulsed flame-photometric detection (GC-PFPD) has been investigated for simultaneous determination of eight organotin compounds. Monobutyltin (MBT), dibutyltin (DBT), tributyltin (TBT), monophenyltin (MPhT), and the semi-volatile diphenyltin (DPhT), triphenyltin (TPhT), monooctyltin (MOcT), and dioctyltin (DOcT) were determined after derivatization with sodium tetraethylborate. The conditions used for the extraction and preconcentration step were optimised by experimental design methodology. Tripropyltin (TPrT) and diheptyltin (DHepT) were used as internal standards for quantification of volatile and semi-volatile organotin compounds, respectively. The analytical precision (RSD) for ten successive injections of a standard mixture containing all the organic tin compounds ranged between 2 and 11%. The limits of detection for all the organotin compounds were sub ng (Sn) L(-1) in water and close to ng (Sn) kg(-1) in sediments. The accuracy of the method was evaluated by analysis of two certified reference material (CRM) sediment samples. The HS-SPME-GC-PFPD was then applied to the analysis of three harbour sediment samples. The results showed that headspace SPME is an attractive tool for analysis of organotin compounds in solid environmental matrices.