In conclusion, to the best of our knowledge, the present study is the first to identify that metformin exerts anticancer effects through the inhibition of the Shh signaling pathway in breast cancer. Here, SHH is linked to breast carcinoma.