The invention discloses a device and method for measuring thermo-optic coefficient and thermal-expansion coefficient of medium. The device comprises a base, a light source assembly, and a fringe observation assembly, wherein, the base is provided with a support, a hollow sample stage made of metal materials, a heating device, and a temperature measuring device, the light source assembly and the fringe observation assembly are movably connected on the support, the sample is placed on the sample stage, the heating device comprises a power supply, a thermostatic controller, and an electric heater, the electric heater is disposed in the sample stage, and the temperature measuring device is respectively connected to the sample stage and the thermostatic controller. An angle desired can be set by rotating the first and the second screws, the movable light source assembly can cause the light emitted from the light source to illuminate the medium film, the movable fringe observation assembly is used to observe the whole interference fringe, and the heater is used to heating the sample, thus, the thermo-optic coefficient and the thermal-expansion coefficient of medium can be measured by observing the number of the interference fringes which pass the fixed position at different temperatures. In addition, the device has simple structure and the high measuring accuracy.