In this study, compositional analysis of the products obtained by thermal degradation of sugar cane bagasse at various pyrolysis temperatures (300, 350, 400, 450, 500, 550, 600, 650, 700, 750 and 800 °C) and heating rate (5, 10, 20 and 50 °C/min) was studied. Sugar cane bagasse was pyrolyzed in a stainless steel tubular reactor. The aim of this work was to experimentally investigate how the temperature and heating rate affects liquid and char product yields via pyrolysis and to determine optimal condition to have a better yield of these products. Liquid product (bio-oil) obtained under the most suitable conditions were characterized by elemental analysis, FT-IR, C-NMR and HNMR. In addition, column chromatography was employed to determine the aliphatic fraction (Hexane Eluate); gas chromatography and FT-IR were achieved on aliphatic fractions. For char product (bio-char), the elemental chemical composition and yield of the char were determined. The results of our work showed that the amount of liquid product (bio-oil) from pyrolysis of sugar cane bagasse increases with increasing the final temperature and decreases with increasing the heating rate. The highest yield of liquid product is obtained from the samples at 550 °C and at the heating rate of 5°C/min, the maximal average yield achieved almost 32.80 wt%. The yield of char generally decreases with increasing the temperature, the char yield passes from 39.7 wt% to 21 wt% at the heating rate of 5°C/min and from 32 wt% to 17.2 wt% at the heating rate of 50 °C/min at the same range of temperature (300–800 °C). The analysis of bio-oil showed the presence of an aliphatic character and that it is possible to obtain liquid products similar to petroleum from sugar cane bagasse waste. The solid products (bio-char) obtained in the presence of nitrogen (N2) contain a very important percentage of carbon and high higher heating values (HHV).