Not every wall in a bedroom is equal. One may be a plain partition with nothing in it, while another carries the cables for outlets, switches, a hallway light and the kitchen on the other side. The headboard belongs against the quiet one.
Electrical wiring runs through your walls, and wherever wires pass, electric and magnetic fields radiate. Your bed against a wire-heavy wall means you sleep closer to the low-level fields around that wiring.
Choosing the new position
The goal is distance between the pillow and the wires, and a small shift counts. Slide the bed off the wire-heavy wall first, then look for a position where the headboard faces a wall with few outlets and no switches.
Fields from household sources weaken quickly with distance, and typical bedroom levels are already low: in a representative sample of French dwellings, only 5% had indoor magnetic field levels above 0.120 uT.
Check the cords too. A lamp or charger plugged in at the head of the bed puts its own cord next to your head, so route those away from the pillow.
Read the full guide: EMF Tip #51: Move Your Bed Away From Walls With Heavy Wiring
