Lithium-ion batteries (LIBs) require advanced and practical anode materials, such as porous silicon (PSi), which can meet these expectations due to their rapid Li-ion diffusion rates and structural relaxation. Several studies have focused on the structural design of PSi or its composites to improve Li-ion diffusion; however, no systematic and quantitative evaluations of the impact of porosity on Li-ion diffusion and battery performance have been reported. Therefore, to understand the impact of porosity on Li-ion diffusion, we developed micro-sized porous silicon (m-PSi) particles with various porosities via metal-assisted chemical etching (MACE) method using different concentrations of AgNO3 (0.02–0.08 M). Among the as-prepared samples, m-PSi-0.06 (prepared using 0.06 M AgNO3) with ∼70 % porosity achieved a maximum Li-ion diffusion rate of 2.35 × 10−9 cm2 s−1. This led to a high-rate capability, enhanced Li-ion storage, and better cyclic retention of 61.4 % compared to the non-porous micro-sized Si (m-Si) (5.8 %) sample at a current density of 0.1 A g−1. Furthermore, the optimal porosity of m-PSi-0.06 resulted in an impressive rate capability of 760 mAh g−1 at a high current density of 4 A g−1 with a recovery rate of 80 %. The improved efficiency of m-PSi-0.06 is attributed to its optimized mesoporosity, which ensures sufficient space for Li-ion storage and shortens the effective transmission path to accelerate Li-ion diffusion. Moreover, the mesopores provide a greater number of active sites for the reversible adsorption of Li ions, thereby improving the capacitive behavior of the anode. In contrast, the highly nanoporous m-PSi-0.08, with a pore diameter of 1–3 nm, impeded Li-ion movement and restricted diffusion. These results reveal that a high nano porosity hinders Li-ion diffusion, whereas an optimal mesoporosity ensures swift diffusion in m-PSi anodes. These insights could guide the design of Si-based anode materials for advanced LIBs.