Chitin and chitosan are natural co-polymers, comprising units of 2-amino-2-desoxy-D-glycopyranose and 2-acetamide-2-desoxy-D-glycopyranose interconnected by glycosidic β-1,4 bonds in variable proportions, and present unique properties such as biodegradability, biocompatibility, biological activities and chemical applications. Recent advances in fermentation technologies suggest the production of these biopolymers from fungi cultivated in food industrial by-products (low-cost and ecofriendly alternative) such as corn steep liquor (CSL) and pitaya peel juice (PPJ), sources of carbon and nitrogen. This study aims to evaluate the use of CSL and PPJ for chitin and chitosan production by Syncephalastrum racemosum. This fungus was inoculated in culture medium with PPJ (35.9–64.1%; v/v) and CSL (3.18–8.82%; v/v), according to 22 central composite rotated design (CCRD 22), pH 5.6, 28 °C, 150 rpm, for 96 h. After the incubation period, the biomass was submitted to the biopolymers extraction process involved deproteinization (1M NaOH solution), followed by treatment with acetic acid 2% solution. The great chitin yield (187.26 mg/g) was provided by assay 5 (PPJ 50% w/v and CSL 3.18% v/v), while the higher chitosan production was achieved in assay 1 with the lower concentrations of CSL (4 % v/v) and PPJ (40% v/v). Probably, tested cultivation conditions might influence the activity of chitin deacetylase in S. racemosum, this enzyme acts causing deacetylation of chitin into chitosan in fungal cell wal. Furthermore, the different results obtained in each assay can be related to the adaptation of the fungus in a particular cultivation condition, showing the influence of culture medium composition on biopolymers productions. The results demonstrate that CSL positively influences the biopolymers production due to its high nitrogen (6.50%) and carbon (37.75%) contents. The study showed that PPJ and CSL are potential eco-friendly, low-cost and sustanaible substrates for chitin and chitosan production by S. racemosum.