Creating a pantry can cost you anywhere from around $1100 to $2900 with $2000 being the average cost. Wiring, walls and shelves are the main expenses in pantry building. You will be paying $20 to $40 per square foot and $450 per linear foot on the pricier side.