Is it bad feng shui for your bed to line up with the door?
Published 2026-08-19
This is the one bedroom rule nearly every school states, Eight Mansions (八宅, Ba Zhai) included. But it is narrower than the usual wording suggests. The objection applies when two things are true together: the door is on the wall your headboard faces across the room, and the doorway overlaps the width of the bed. Break either condition and you have a different situation — and one of those different situations is the arrangement the same sources ask for.
The geometry, exactly
Flatten the room onto one line. Write down where the doorway starts and ends along its wall, and where the sides of the bed start and end along the wall opposite it. If those two ranges overlap at all, the bed is in line with the door. That is the whole test — the swing of the door does not enter into it, and neither does how far down the room the bed sits. Which means a bed can share an axis with the door and still not be in line with it: slide it sideways until the ranges clear each other and the objection is gone, without the door moving.
| Where the door is | Relative to the bed | How sources treat it |
|---|---|---|
| Wall the headboard faces | Doorway overlaps the bed’s width | The case objected to |
| Wall the headboard faces | Doorway clear of the bed’s width | The command position — what the rule steers you toward |
| A side wall | Not applicable | Milder, and about the corner and the door swing instead |
| The headboard wall itself | Bed across the doorway | A different problem: the bed blocks the door, and the door is behind your head |
What the tradition claims, and what it does not
The standard description is that qi enters through the door, runs the length of the room and arrives at the sleeping body. Much English-language writing adds that a body is carried from a room feet-first, and calls a bed pointing its foot at the door the coffin position. Both are descriptions of the arrangement — one an image, one an analogy. Neither is a recorded outcome, and no source states a way to check one. We do not claim an effect either; see method and assumptions for where we stop.
Being able to see the door is the opposite of the problem
The rule is regularly misread as “you should not be able to see the door from the bed.” It says the reverse. Both halves come together: the doorway in view from your pillow, and your body not in its path. A bed on the far wall, pushed to one side so the doorway is visible past the foot of it, satisfies both. That is the command position.
This rule is not compass work. Eight Mansions gives you a head direction from your birth year and nothing else; the door rules come from the room-shape side its sources carry alongside the compass. The three-door bagua schools (BTB, or Black Sect), which ignore the compass entirely, state the same door rule. It is one of the few points where the two agree.
What our generator actually checks
The bedroom layout generator works on a rectangular room with one door, puts the headboard flat against one of the four walls, and tests positions in 0.1 m steps along each wall. For every position it applies exactly these door rules:
- Door on the wall opposite the headboard and the ranges overlap: a finding, −50 points.
- Door on that same opposite wall but the ranges clear: +15, reported as the command position.
- Door on a side wall: no alignment penalty at all. It can lose 20 points for sitting in that corner and crowding the door swing, or gain 10 if the room is deep enough for the door to stay in view. Nothing else.
- Door in the headboard wall itself: −40, the bed blocks the doorway. No command-position credit, because the door is behind your head.
The overlap test is on or off. One centimeter of overlap costs the same 50 points as a bed centered dead in front of the doorway. A practitioner in the room would not treat those the same; the code does.
How heavily we weigh it, and whose opinion that is
Every position starts at 50. The head direction moves it by at most 30 in either direction. The 50 points for lining up with the door is the largest single number in the file — larger than the bonus for pointing at Sheng Chi (生氣), the direction Eight Mansions treats as the strongest of your four, and larger than the penalty for pointing at the worst.
In a 5.0 m by 3.5 m room with one 0.9 m door, a bed for a Kua 1 sleeper with the head pointing southeast — Sheng Chi, their best — but lined up with the door scores 42. In the same room, head pointing southwest, their worst of the eight, but out of the door’s path, scores 47. Our ranking prefers the worst direction to the alignment. And since anything under 65 is labeled “Compromised placement”, with one door in the room no in-line position is ever called workable: 42 is the ceiling.
That weighting is ours, not the tradition’s. Eight Mansions does not score placements, and no classical source says a door alignment costs more than a bad direction. We needed some order to sort candidate positions, so we made one up — which is why the tool lists the findings for a position one by one instead of handing back a number to trust.
When the room gives you no choice
The same geometry tells you when it is impossible. To clear the doorway you need a run of that wall at least as wide as the bed on one side of the door: a 1.6 m bed needs 1.6 m of uninterrupted wall left or right of it. On a 2.8 m wall with a 0.9 m door in the middle, the two runs are 0.95 m each, so every position overlaps and there is nothing to slide.
The tool does not refuse at that point. The only time it says the room cannot be done is when the bed does not physically fit against any wall. Otherwise it scores every position with the penalty applied and the top result is usually a different wall — a worse head direction, no alignment. If the in-line position still wins, because every other wall fails on a window or a bathroom or a beam, the −50 finding sits in the list for it. You are told which rule the room made you give up rather than having it dropped quietly.
What practitioners do from there, with no obvious winner among them:
- Move the headboard to a side wall and give up the head direction. What that costs depends on which of your four you are losing — which direction the bed should face covers how unevenly rooms serve the two groups.
- Put something solid between the door and the foot of the bed — a chest, a low bookcase, a folding screen. Sources treat this as interrupting the path. The bed is still on the same axis.
- Slide as far off center as the wall allows even when the ranges still overlap partly.
- Angle the bed away from the wall, which trades the solid wall behind the headboard for the rest.
Only the first is something the generator models. It has one door, no furniture, no screens and no angled beds, so a screen at the foot of your bed changes nothing in its findings. Whether it settles the matter is your call, not the tool’s.