A pocket door must have enough space to slide into the wall. A standard 32-inch-wide door needs 66 inches of linear wall space—32 inches for the door in the opening and the rest to house the door. Existing walls must be deeper than four inches, as a standard pocket door is two inches deep.