Borrowed from Medieval Latin pilula, apparently first attested in the fourteenth century, in turn inherited from the Classical Latin, attested in the medical sense in Pliny. Note that Italian pillola and Spanish píldora are widely regarded as inheritances, not borrowings.