We designed beds for sleep, but in reality we use them for quite a bit more. When not entirely still, the headboard can create a lot of noise with even a slight movement. If you find this annoying, Instructables user pcmofo has a great fix.

He found that the headboard issue stemmed from two problems: baseboard keeping it from sitting flush with the wall—the issue most of us face—and having a free-standing headboard—something a little more specific. He solved the problem by putting felt protectors on the back of the headboard. He found ones with screws so he could drill them in to the back of the bed and essentially extend the reach of the top of the headboard so, for all intents and purposes, it was flush with the wall. To solve the detached headboard he just attached it to the bed.