The 30-year-old suffered pain bowling in the Indian Premier League (IPL) and scans confirmed "early stage bone stress" in his fibula near the ankle, the team said on Wednesday.
"While laid off with this injury we have taken this opportunity to undertake arthroscopic surgery to remove bone spurs in his left ankle which have been causing him concern for some time and were possibility contributing to the cause of the bone stress," Cricket Australia sports science and sports medicine manager Alex Kountouris said in a media release.
Selectors named Victorian paceman Scott Boland as a replacement for Hastings on the June tour.
News that makes sense
Your trusted source for staying up-to-date with the world around you. Get free daily news updates and analysis, straight to your inbox.
(Reporting by Ian Ransom; Editing by John O'Brien)
