The main task of the contribution was the estimation of the possibility of using Fiber Bragg Gratings as a mean of measuring the deformation in standard carbon fiber samples at elevated temperatures. The article presents the results of experiments on the measurement of deformations in a carbon sample using Fiber Bragg Gratings on an optical fiber. Deformations were measured in the process of stretching the sample at different temperatures (range from 20 to 140 °C). It is shown that FBGs integrated into the sample material give more stable, reproducible readings, unlike to inlay on the outer surface. It has been established that the use of several FBGs with different sensitivity to temperature or deformation (created by mechanically decoupling the sensor from the sample) makes it possible to compensate the effect of temperature when measuring deformations. The quantitative results of measurements are provided.