I did not have a pantry but had an empty space. I considered building one but for the cost this worked perfect. I like that it’s not too deep so my items don’t get buried