Silk fibroin (SF) from the cocoon of silkworm has exceptional mechanical properties and biocompatibility and is used as a biomaterial in a variety of fields. Sustainable, affordable, and scalable manufacturing of SF would enable its large-scale use. We report for the first time the high-level secretory production of recombinant SF peptides in engineered Pichia pastoris cell factories and the processing thereof to nanomaterials. Two SF peptides (BmSPR3 and BmSPR4) were synthesized and secreted by P. pastoris using signal peptides and appropriate spacing between hydrophilic sequences. By strain engineering to reduce protein degradation, increase glycyl-tRNA supply, and improve protein secretion, we created the optimized P. pastoris chassis PPGSP-8 to produce BmSPR3 and BmSPR4. The SF fed-batch fermentation titers of the resulting two P. pastoris cell factories were 11.39 and 9.48 g/L, respectively. Protein self-assembly was inhibited by adding Tween 80 to the medium. Recombinant SF peptides were processed to nanoparticles (NPs) and nanofibrils. The physicochemical properties of nanoparticles R3NPs and R4NPs from the recombinant SFs synthesized in P. pastoris cell factories were similar or superior to those of RSFNPs (Regenerated Silk Fibroin NanoParticles) originating from commercially available SF. Our work will facilitate the production by microbial fermentation of functional SF for use as a biomaterial.