Integration of vinasse biogas in the energy matrix of Ribeirão Preto, State of São Paulo Vinasse is the main byproduct of ethanol production from sugarcane. Distilleries produce between 7 and 15 liters of vinasse per liter of sugarcane ethanol. Brazil produced 33 million m³ of ethanol in the 2018/2019 harvest and, as a consequence, approximately 400 million m³ of vinasse. This distilleries' effluent has significant amounts of organic matter (COD and BOD) and it's currently used in natura (without treatment) in the fertirrigation of sugarcane fields. Therefore, vinasse is a potential source of Greenhouse Gases (GHG) emissions besides other impacts on soil and water bodies. In that scenario, the anaerobic biodigestion technology of vinasse emerges as a possible solution, since it reduces the polluting potencial of this organic residue and enables biogas production. The choice of biogas end uses impacts the economic viability and environmental performance of biodigestion technology. Thus, the purpose of this work was to assess possibilities of integration of vinasse biogas in the energy matrix of Ribeirão Preto, a region with an important bioenergy production in the State of São Paulo. By means of a multicriteria analysis, using environmental and economic indicators, this work analises the best final use of the biogas produced. To this end, this work compared five technological routes of production and vinasse biogas uses: 1. Co-combustion of biogas with bagasse for cogeneration of electricity and thermal energy intended to vinasse concentration; 2. Electric power generation with Otto motor cycle; 3. Vehicular use in the mill's fleet; 4. Biomethane injection into the natural gas network; and 5. Replacement of fuels in the local energy matrix. From the results obtained, it was concluded that, under the conditions of the Ribeirão Preto mills, the most favorable option, economically and technically, is the replacement of diesel by biomethane in the transport fleet of sugarcane and the sale of the surplus as vehicular natural gas (VNG) in urban centers of the municipalities of the region. Regarding to environmental issues, The replacement of diesel is also the most advantageous option, both by reducing atmospheric emissions with global impacts (GHG) and by reducing emissions of pollutants with local impacts (NOx, SOx and MPs. This last advantage is maximized when the consumption of biomethane as VNG takes place in urban centers and especially in cities with degraded air quality, such as Ribeirão Preto, which is saturated with MP and O3.