Foldable storage compartment having front and rear panels that are traversable closer to or further away from each other is disclosed. Left and right side collapsible panels may be attached to the front and rear panels. The shelves of the foldable storage compartment may be interlinked with each other by way of a vertical linkage rod and connected to the front panel with a front panel linkage so that traversal of the front and rear panels closer to or further away from each other will also collapse and erect the shelves simultaneously.