The invention relates to the technical field of passive safety devices, in particular to a top-mounted gasbag. The gasbag comprises a gasbag body, a gas generator and a shell, wherein the upper middlepart of the gasbag body is provided with a separable part, the separable part divides the gasbag body into an upper gasbag cavity and a lower gasbag cavity, the two sides of the separable part are provided with gas guide parts, and the upper gasbag cavity and the lower gasbag cavity are communicated by the gas guide parts. Compared with the prior art, the gasbag has the advantages that a top-mounted gasbag structure is designed, the separable part is arranged at the upper middle part of the gasbag body, and when a driver moves towards the gasbag filled with gas and squeezes the gasbag, the portion, close to the head of the driver, of the gasbag is compressed more easily, so that the risk of neck injuries caused by excessive backward bending of the neck of the driver is reduced; moreover,the gasbag adopts a simple design for cutting and sewing pieces and is simple in structure, low in cost and easy to popularize.