Abstract A novel in situ N and low‐valence‐state Mo dual doping strategy was employed to significantly improve the conductivity, active‐site accessibility, and electrochemical stability of MoO 3 , drastically boosting its electrochemical properties. Consequently, our optimized N‐MoO 3− x nanowires exhibited exceptional performances as a bifunctional anode material for both fiber‐shaped asymmetric supercapacitors (ASCs) and microbial fuel cells (MFCs). The flexible fiber‐shaped ASC and MFC device based on the N‐MoO 3− x anode could deliver an unprecedentedly high energy density of 2.29 mWh cm −3 and a remarkable power density of 0.76 μW cm −1 , respectively. Such a bifunctional fiber‐shaped N‐MoO 3− x electrode opens the way to integrate the electricity generation and storage for self‐powered sources.