Problem to be solved: to provide a bed swinging attachment and a bed oscillating device capable of rocking a bed with an inexpensive structure without replacing an existing bed.The bed swinging attachment 2 is provided with a support portion 11 attached to the leg portion 52 of the bed 50 to support the bed 50, and a driving portion 12 for swinging the bed 50 by reciprocally moving the support portion 11.The driving section 12 has a motor 13 and a ball screw mechanism 14 which is a conversion mechanism for converting the rotational motion of the motor 13 into reciprocating linear motion.One of the screw shaft 15 and the nut 16 of the ball screw mechanism 14 is a rotary member 18 which is rotated by the rotation of the motor 13, and the other is a reciprocating member 19 for reciprocating motion by the rotation of the rotary member 18.Diagram【課題】既存の寝台を交換することなく、安価な構成で寝台を揺動させることができる寝台揺動用アタッチメント、及び寝台揺動装置を提供する。【解決手段】寝台揺動用アタッチメント2は、ベッド50の脚部52に取り付けられてベッド50を支持する支持部11と、支持部11を往復直線運動させることでベッド50を揺動させる駆動部12とを備える。駆動部12は、モータ13と、モータ13の回転運動を往復直線運動に変換する変換機構であるボールねじ機構14とを有する。ボールねじ機構14のねじ軸15及びナット16のうち、一方がモータ13の回転運動により回転する回転部材18とされ、他方が回転部材18の回転により往復直線運動する往復運動部材19とされている。【選択図】図2