While adding one can on top is usually fine, stacking three or more can lead to problems. To ensure food safety, avoid placing heavy items like glass jars atop canned goods.
If space is limited, explore shelving options like attaching wire racks to doors or using stackable containers to maximize storage instead of placing cans on top of each other.
With a bit of creativity, reorganization, and utilizing available space effectively, it's possible to safely store all your canned goods in even the smallest pantry.