In the presence of molybdenum oxide the dehydrative cyclization of N-acylserines, N-acylthreonines, and N-acylcysteines can be carried out under Dean-Stark conditions in toluene to give oxazolines and thiazolines. The ammonium salts (NH(4))(6)Mo(7)O(24).4H(2)O and (NH(4))(2)MoO(4) have excellent catalytic activities for the dehydrative cyclization of serine and threonine derivatives, and the acetylacetonate complex MoO(2)(acac)(2) has a remarkable catalytic activity for the dehydrative cyclization of cysteine derivatives. In addition, polyaniline-supported MoO(2)(acac)(2) can easily be recovered and reused.