From Middle English expedient, from Old French expedient, from Latin expediens (stem expedient-), present participle of expedire (“to bring forward, to dispatch, to expedite; impers. to be profitable, serviceable, advantageous, expedient”), from ex (“out”) + pēs (“foot, hoof”).