There are several theories concerning the origins of yashi, including that they were mountain priest who switched to selling medicines to avoid poverty, or that they were named after a medicine seller called Yashiro.
野武士が困窮して薬売りに身を投じたという説や弥四郎という者が薬の行商の祖と言われる事など諸説ある。