With the superiority of famous energy density and abundant potassium reserves, potassium−selenium (K−Se) batteries exhibit prominent prospects instead of lithium-ion storage systems. Nonetheless, the performance of K−Se batteries is plagued on account of volume expansion, shuttle effects, and low selenium utilization. To overcome these obstacles, hierarchically porous carbon composites containing a W 2 N electrocatalyst are constructed rationally as the host for encapsulating Se. This porous carbon can enhance the electrode conductivity, and its rich pores can mitigate volume changes. Embedded W 2 N with a high conductivity has a strong chemisorption effect on selenium species and inhibits the shuttling of polyselenides with high efficiency. In addition, the W 2 N electrocatalyst has a bidirectional catalytic effect in K−Se batteries, which can facilitate the reaction kinetics of Se conversion. The Se−W 2 N/C cathode displays an exceptional performance with a reversible capacity of 578 mAh g −1 at 0.05 A g −1 . In addition, the Se−W 2 N−C cathode exhibits a considerable capacity of 345 mAh g −1 at 2 A g −1 and satisfactory cycle durability (286 mAh g −1 at 1 A g −1 over 500 cycles). This work opens up a feasible perspective in regard to the electrode material design for optimizing the reaction behavior and boosting K−Se battery performance.