The invention discloses a 24-hour intraocular pressure monitoring sensor based on fiber gratings. The 24-hour intraocular pressure monitoring sensor based on the fiber gratings comprises a soft corneal contact lens, an optical fiber and a plurality of fiber gratings, wherein the corneal contact lens is spherical crown-shaped and used for fitting with the eyeball of a patient in a shape matching mode when wearing; the optical fiber is embedded in the lens layer of the corneal contact lens, the body is arrayed in an Achimedean spiral mode around the center of the contact lens, and the tail end thereof is led out to serve as an interaction port; the fiber gratings are arranged on the optical fiber at intervals, when the eyeball is deformed due to intraocular pressure undulation, the fiber gratings bear the corresponding stress change, and corresponding feedback optical wave signals are output through the tail port of the optical fiber. The 24-hour intraocular pressure monitoring sensor based on the fiber gratings is capable of realizing real-time high-precision measurement for the pressure of multiple sites according to the reflection wavelength change, and meanwhile, the 24-hour intraocular pressure monitoring sensor based on the fiber gratings has advantages of high sensitivity, large dynamic range, good stability, comfortable use, small volume, light weight and the like.