You may wish to use wall anchors for added security if your headboard is heavy.
How to mount a door headboard to the wall.
Do not screw the screws all the way into the wall.
Drill up at a 30 degree angle to penetrate through.
How to attach a headboard to a wall.
A purely decorative.
Attaching a headboard to the wall is the best way to secure it in our opinion.
Decide how high you want the headboard on the wall.
Position the bed where you want it in the room.
Place the headboard on the wall using props if needed.
Especially if you made your own headboard and it is extremely tall.
Drill holes 1 inch from the back of the shelves and on the top and bottom of the headboard.
Find the nearest wall studs using a basic stud finder available at any hardware or home improvement store.
How to hang a headboard made out of a door.
Move it away from the wall during the headboard installation so you have access to the wall.
The height depends upon what function the headboard serves.
Place the stud finder on the wall at the edge of the bed.
Attach it a few feet above the floor so when you pull the bed away from the wall you can vacuum under it.