The higher efficiency of electro-fermentation in synthesizing medium-chain fatty acids (MCFAs) compared to traditional fermentation has been acknowledged. However, the functional mechanisms of electrode-biofilm enhancing MCFAs synthesis remain research gaps. To address this, this study proposed a continuous flow electrode-biofilm reactor for chain elongation (CE). After 225 days of operation, stable electrode-biofilms formed and notably improved caproate yield by more than 38 %. The electrode-biofilm was enriched with more CE microorganisms and electroactive bacteria compared to the suspended sludge microorganisms, including Caproicibacterium, Oscillibacter and Pseudoramibacter. Besides, the upregulated CE pathways were evaluated by metagenomic analysis, and the results indicated that the pathways such as acetyl-CoA and malonyl-[acp] formation, reverse beta-oxidation, and fatty acid biosynthesis pathway were all markedly enhanced in cathodic biofilm, more than anodic biofilm and suspended microorganisms. Moreover, microbial community regulated processes like bacterial chemotaxis, flagellar assembly and quorum sensing, crucial for electrode-biofilm formation. Electron transfer, energy metabolism, and microbial interactions were found to be prominently upregulated in the cathodic biofilm, surpassing levels observed in anodic biofilm and suspended sludge microorganisms, which further enhanced CE efficiency. In addition, the statistical analyses further highlighted key microbial functions and interactions within the cathodic biofilm. Oscillospiraceae_bacterium was identified to be the most active microbe, alongside pivotal roles played by Caproiciproducens_sp._NJN-50, Clostridiales_bacterium, Prevotella_sp. and Pseudoclavibacter_caeni. Eventually, the proposed microbial collaboration mechanisms of cathodic biofilm were ascertained. Overall, this study uncovered the biological effects of the electrode-biofilm on MCFAs electrosynthesis, thereby advancing biochemicals production and filling the knowledge gaps in CE electroactive biofilm reactors.