The extensive utilization of conventional plastics has resulted in a concerning surge in waste. A potential solution lies in biodegradable polymers mostly derived from renewable sources. Cupriavidus necator DSM 545 is a microorganism capable, under stress conditions, of intracellularly accumulating Poly(3-hydroxybutyrate) (PHB), a bio-polyester. This study aimed to identify optimal conditions to maximize the intracellular accumulation of PHB and its global production using natural media obtained by processing lignocellulosic residues of cardoon, a low-cost feedstock. An intracellular PHB accumulation was observed in all of the tested media, indicating a metabolic stress induced by the lack of macronutrients. Increasing C/N ratios led to a significant decrease in cellular biomass and PHB production. Furthermore C. necator DSM 545 was incapable of consuming more than 25 g/L of supplied monosaccharides. Surprisingly, in the samples supplied with 60 % of the pentose-rich liquid fraction, complete consumption of xylose was observed. This result was also confirmed by subsequent tests using Medium 1 growth media containing xylose as the sole carbon source. Using a diluted medium with a C/N ratio of 5, a PHB production of 5.84 g/L and intracellular PHB accumulation of 77 % w/w were respectively achieved. Finally, comparative shelf-life tests conducted against conventional pre-packaging materials in PP suggested that PHB films performed similarly in preserve ready-to-eat products.