Upregulation of cyclooxygenase (COX-2) plays an important role in lung cancer pathogenesis. Celecoxib (CLX), a selective COX-2 inhibitor, may have beneficial effects in COVID-19-induced inflammatory storms. The current study aimed to develop carrier-free inhalable CLX microparticles by electrospraying as a dry powder formulation for inhalation (DPI). CLX microparticles were prepared through an electrospraying method using a suitable solvent mixture at two different drug concentrations. The obtained powders were characterized in terms of their morphology, solid state, dissolution behavior, and aerosolization performance. Electrosprayed particles obtained from the ethanol–acetone solvent mixture with a drug concentration of 3 % w/v exhibited the best in vitro aerosolization properties. The value of the fine particle fraction obtained for the engineered drug particles was 12-fold higher than that of the untreated CLX. When the concentration of CLX was increased, a remarkable reduction in FPF was obtained. The smallest median mass aerodynamic diameter was obtained from the electrosprayed CLX at a 3% concentration (2.82 µm) compared to 5% (3.25 µm) and untreated CLX (4.18 µm). DSC and FTIR experiments showed no change in drug crystallinity or structure of the prepared powders during the electrospraying process. The findings of this study suggest that electrospraying has potential applications in the preparation of DPI formulations.