Remove all of the food from the pantry.
Throw away any food that has been infested with roaches and any trash that might have been left in the pantry. Boxes and stacks of old papers are good hiding places for roaches.
Place all the unaffected food in air-tight containers to prevent the roaches from getting to the food.
Sweep the pantry thoroughly.
Scrub the pantry down with soap and water.
Run a line of caulk along the edges of the pantry where there are cracks. Roaches use these cracks to enter the pantry.
Place roach traps on the floor of the pantry and any place you have seen roaches.