The present invention relates to processes for the preparation of thietane derivatives of the formula (IA) and thietane derivatives of the formula (IB) wherein R R A A A A B and n are as defined in the claims. The invention also relates to intermediates useful in the processes as well as the compounds of formula (IA) and (IB) and their use as pesticides.