The invention provides a backlight module and a display device. The backlight module comprises a substrate, a number of light-emitting diodes arranged on the substrate, and a number of subregions arranged in an array. At least one light-emitting diode is arranged in each subregion. The backlight module further comprises at least one grating structure arranged on the substrate, and an optical filmlocated on one side, which is away from the substrate, of the light-emitting diodes and the grating structure. The grating structure is arranged between two adjacent subregions, and the transmittanceof the grating structure is greater than zero. In a direction perpendicular to the light-emitting surface of the backlight module, the distance between the substrate and the optical film is H. The distance between one side, which is close to the substrate, of the grating structure and one side, which is away from the substrate, of the grating structure is h. h is less than H. According to the invention, the uniformity of the light emission of the backlight module can be improved, and the display effect of the display device is improved.