A considerable amount of the food is wasted each year, creating an urgent global problem with negative economic and environmental effects. Livestock manure, a by-product of intensive animal farming, can contribute to environmental issues if not properly managed. While biochar, a product of pyrolysis, can speed up the composting process and improve compost quality, sawdust is frequently used in composting to balance the carbon-to-nitrogen ratio. This study aimed to investigate the effects of biochar on compost quality in co-composting food waste and swine manure and the influence of raw materials in obtaining good quality ecofriendly compost. Experimental manipulations were conducted both with feedstock materials present and absent. The findings revealed that a biochar concentration of 6% had a positive impact on the composting process. Furthermore, the presence or absence of feedstocks influenced the composting rate and the quality of the compost. Through the addition of biochar, moisture balance and porosity were improved, promoting the growth of beneficial microorganisms. Organic waste can be managed more sustainably and agricultural systems may be improved by keeping it out of landfills and composting it with biochar. According to this study, a proper balance of feedstock composition is equally important to the addition of biochar. The study contributes to the understanding of the composting process and the role of balancing feedstock components for the production of good quality compost.