One-dimensional (1D) high-entropy compounds (HECs) with subnano diameters are highly attractive because longrange electron delocalization may occur along the high-entropy atomic chain, which results in extraordinary properties. Nevertheless, synthesizing such 1D HECs presents a substantial challenge, and the physicochemical attributes of these novel structures remain ambiguous. Herein, we developed a comelting−filling−freezing−modification (co-MFFM) method for synthesizing 1D high-entropy metal phosphide (HEP) by simultaneously encapsulating various metal cations within single-walled carbon nanotubes (SWCNTs) followed with a phosphorization process. The resulting 1D HEP nanowires confined within SWCNTs exhibit crucial features, including an ultrafine, highentropy, and amorphous structure, along with a core−shell arrangement. The SWCNT as a shell could donate π electrons to 1D HEP for enhanced electron delocalization and protect 1D HEP as an atomically single-layered protective covering, thus boosting high electrocatalytic activity and stability. Moreover, the co-MFFM method demonstrates scalability for mass production and displays universal applicability to the synthesis of various 1D HECs.