A method for packaging a bed includes disassembling a headboard into a first headboard, a second headboard, a third headboard, and a fourth headboard; placing one of the first headboard and the second headboard with a back thereof facing upward; placing one of the first headboard and the second headboard with a back thereof facing upward to allow an opening of a first accommodating groove or a second accommodating groove on the back thereof to face upward; placing the third headboard and the fourth headboard side by side with a back facing upward into the accommodating groove, allowing openings of a third accommodating groove and a fourth accommodating groove to face upward; placing stacked slats into the third accommodating groove and the fourth accommodating groove, and placing a first transverse keel, a second transverse keel, and support legs into the third accommodating groove and the fourth accommodating groove.