Tosylates and mesylates were directly converted into the corresponding nitroalkanes, by their treatment with tetrabutylammonium nitrite (TBAN) under mild conditions.