A needle safety device is used to solve the problem that the needle of the butterfly needle is easily exposed when the conventional needle safety device is subjected to compression deformation. The system includes a first body having a first opening, a second opening, and a receiving space connecting the first opening and the second opening, the sleeve being between the first opening and the second opening, Two guiding slots are provided for connecting the receiving space, one end of the two guiding slots is connected to the first opening to form an open end, and the opposite end is a closed end; and two flaps are coupled to the The outer side wall of the sleeve has a first end and a second end, and the first ends of the two wings are connected to the sleeve body, and the second ends of the flaps respectively extend toward the two guiding grooves. The two wings have a shielding portion that spans the guiding groove.一種針頭安全裝置,用以解決習知針頭安全裝置受到擠壓變形時,蝴蝶針的針頭容易裸露的問題。係包含:一套體,具有相對的一第一開口、一第二開口及連通該第一開口及該第二開口的一收容空間,該套體於第一開口與該第二開口之間,係設有連通該收容空間的兩導引槽,該兩導引槽的一端連接該第一開口,以形成一開放端,相對的另一端係為一封閉端;及兩擋翼,結合於該套體的外側壁,分別具有一第一端及一第二端,該兩擋翼的第一端連接該套體,該擋翼的第二端係分別朝該兩導引槽的方向延伸,使該兩擋翼具有一遮擋部,該遮擋部跨越該導引槽。