Lactococcus lactis is a crucial food-grade cell factory for secreting valuable peptides and proteins primarily via the Secdependent pathway. YidC, a membrane insertase, facilitates protein insertion into the lipid membrane for the translocation. However, the mechanistic details of how YidC affects protein secretion in L. lactis remain elusive. This study investigates the effects of deleting yidC1/yidC2 on L. lactis phenotypes and protein secretion. Compared to the original strain, deleting yidC2 significantly decreased the relative biomass, electroporation efficiency, and F-ATP activity by 25%, 47%, and 33%, respectively, and weakened growth and stress resistance, whereas deleting yidC1 had a minimal impact. The absence of either yidC1 or yidC2 reduced target proteins secretion. Meanwhile, there is a considerable alteration in the transcription levels of genes involved in the secretion pathway, with secY transcription increasing over 135-fold. Our results provide a theoretical foundation for further improving target protein secretion and investigating the YidC function.