A hallway is the only room in a house where storage is subtracted from circulation. Every inch a cabinet projects comes out of the walkway, and the walkway has a floor beneath which the space stops being usable in any normal sense.

That floor is 36 inches. The International Residential Code, at R311.6, requires a hallway width of not less than 3 feet, measured between finished wall surfaces, and inspectors read that as the clear width a person walks through. A 36-inch hallway with a 12-inch cabinet is a 24-inch hallway, which is not a hallway. A 48-inch hallway with the same cabinet is a 36-inch hallway, which is.

So the design question is not how much storage you can fit. It is how much free width you have above 36 inches, and what to put in that margin instead of a cabinet.

The 36-inch floor, and the arithmetic above it

Hall clear width Storage depth available What it takes
36 in 0 in Nothing, unless you accept hooks and a 27 in route
42 in 6 in A 4 in shelf, and nothing deeper
48 in 12 in An 8 5/8 in tilt-out cabinet plus its door swing
54 in 18 in A 14 in cabinet, or a bench at the end
60 in 24 in A bench along the wall

The table assumes the storage is on one side only. Storage on both sides doubles the subtraction, which is why a 60-inch hall with cabinets on both walls walks like a 36-inch one.

Read the 48-inch row carefully, because it is the one most apartments fall into and the one where a cabinet actually works. Twelve inches of margin takes the 8 5/8-inch cabinet in the next section and leaves 3 inches for the door swing and the baseboard. It does not take a 14-inch shoe cabinet, however much better that cabinet is.

Hook projection is not the hook

A hook is the cheapest way to use a hallway wall, and the honest way to cost it is to measure the coat rather than the hardware.

A screw-mounted coat hook projects 2 to 3 inches from the wall. A wool overcoat hanging from it does not hang flat: the shoulders sit against the wall and the body of the coat swings out, so the deepest point is roughly 6 inches from the wall at hip level, and a puffer or a full-length coat is deeper still. Call the assembly 8 to 9 inches.

In a 36-inch hallway that leaves 27 inches of route, which is a single-file walk with a shoulder turned. In a 42-inch hallway it leaves 33 inches, which is workable for one person and awkward for two. In a 48-inch hallway it leaves 39 inches, which is the first arrangement that behaves like a normal corridor.

Two details make hooks cheaper than their projection suggests. The first is height: a coat hung at 66 to 72 inches projects at torso height, where people and bags pass, while a coat hung at 48 inches is below the swing of most carried items. The second is that hooks can go above something else. A row of hooks at 66 inches over an 8 5/8-inch cabinet adds hanging capacity without adding floor projection, as long as the cabinet’s top is not being used as a shelf.

For the fixing side of the same question, which is where coat walls actually fail, coat hook ratings sets out what gypsum, a stud and a door each carry.

A tape measure across a hallway floor from one wall to the other, with a shallow cabinet standing against one wall and a coat hanging from a hook above it.
Measuring floor to floor at the cabinet, rather than at the doorway, is what catches the baseboard and the skirting that turn a 48-inch hall into a 46-inch one.

The 8 5/8-inch cabinet that holds eight pairs

The tilt-out shoe cabinet is the only cabinet type that genuinely fits a corridor, because it stores shoes upright rather than flat. IKEA’s HEMNES shoe cabinet with four compartments measures 42 1/8 inches wide, 8 5/8 inches deep and 39 3/4 inches high, and holds about eight pairs.

The geometry that makes 8 5/8 inches work is the same one that makes tilt-out cabinets bad for boots. A shoe standing at 70 degrees from horizontal projects about 7 2/3 inches of depth for a size 11, which fits an 8 5/8-inch box with the compartment hardware behind it. The vertical cost is the other side of the trade: that shoe now needs about 12 inches of height, which is why four compartments take 39 3/4 inches rather than the 8 inches the same four pairs would need on two shelves of a 14-inch cabinet.

Two installation notes come from the same product. HEMNES cabinets have legs at the front only, so the box sits over the baseboard and against the wall instead of standing off it by the thickness of the trim, which is what makes the 8 5/8-inch figure real. And the cabinet must be fastened to the wall, because a tilt-out front pulled open shifts the center of gravity forward and a shallow cabinet on front legs will tip.

The two-compartment version is 11 13/16 inches deep and holds about 14 pairs, because each compartment takes two rows of shoes front to back at an angle. That is the largest capacity you can get under 12 inches of depth, and it still leaves 36 inches of route in a 48-inch hall.

A wall niche is 3.5 inches deep between studs

Recessing storage into the wall buys depth without spending floor, and the depth available is fixed by the framing. A 2x4 wall gives 3 1/2 inches between the faces of the studs, and studs at 16 inches on center leave 14 1/2 inches of clear width between them.

Three and a half inches is not enough for a shoe and is enough for a great deal else: keys and post, gloves and hats, a row of paperbacks, a phone charging shelf, a letter rack. Two or three stud bays give a recess about 30 1/2 inches or 46 1/2 inches wide, which is a coat-and-key wall that projects nothing at all.

The constraints are real. You cannot cut a stud without a header, so the niche is limited to the bays. Wiring and plumbing run through the same cavity in most houses, and a cable in the wrong place turns a 3 1/2-inch shelf into an electrician’s visit. Fire blocking at the top and bottom plates has to be reinstated. And the wall has to be one you own, which rules it out for most renters.

There is a shallower version with no demolition: a surface-mounted niche, or a shallow shelf unit 3 to 4 inches deep, which buys most of the visual effect for all of the floor projection.

The wall above the door and the two ends of the run

The most underused space in a narrow hallway is the wall above the door, and it is free because nothing walks there.

Above a 30 or 32-inch door there is about 16 inches of wall before the ceiling in a house with 8-foot ceilings, since a standard door is 80 inches tall. A shelf at 78 inches over the door takes baskets of out-of-season gloves, hats and scarves, and projects 10 to 12 inches into a zone that is already blocked by the door frame. A row of hooks at the same height works for bags.

The two ends of the run are the other free walls. A hallway that ends at a window or a dead end has a wall that no one walks past, and a 12-inch-deep cabinet there costs route only at the last 12 inches of the corridor, which is usually the place where the corridor was going nowhere.

Vertical storage is the third version of the same move. A 14-inch-wide, 72-inch-tall cabinet has the same footprint as a 14-inch-wide, 30-inch-tall one and more than twice the capacity, and in a hallway the limiting dimension is floor, not height. The trade is that the top third needs a step stool, which is a real cost in a corridor 36 inches wide.

Measure the pinch points, not the wall

The measurement that decides a hallway project is not the length of the wall. It is the width at the tightest point, and the tightest point is almost never the middle of the run.

Doors are the first pinch. A leaf 30 inches wide, swung into the hall, blocks the full width of a 36-inch corridor while it is open. Walk the route with the door open before choosing a wall, because a cabinet placed opposite a door that swings inward is a cabinet you cannot open while the door is open.

Radiators, return-air grilles, thermostats and the casing around each opening are the second. Door casing projects 1/2 to 3/4 inch and is 2 to 3 1/2 inches wide, so a cabinet pushed tight against a casing sits partly on it and leans. Baseboard is the third: a cabinet without front-only legs stands off the wall by the thickness of the baseboard, 1/2 to 3/4 inch, which turns an 8 5/8-inch cabinet into something closer to 9 1/4 inches of real projection.

The third is the route itself. Chalk the proposed footprint on the floor with painter’s tape, then walk it with a laundry basket and with a suitcase. A 36-inch route with tape on one side is a different experience from a 36-inch route without it, and the tape costs nothing to move.

Once the width is settled, the choice is between three systems that each spend the margin differently: hooks at 8 to 9 inches of real projection, a tilt-out cabinet at 8 5/8, or a recess at 3 1/2. The order of preference in a hall under 48 inches is recess, then cabinet, then hooks, because the first two keep the coat out of the walkway and the third does not. If the entryway has room for a seat as well, entryway benches with storage covers the clearance each bench mechanism needs, and the shoe-capacity arithmetic behind a shallow cabinet is in how deep a shoe cabinet should be.