The hooker was injured in England's Six Nations match against Ireland last month and has not played since.
"I'm very disappointed that I will not be available for selection for Northampton Saints' remaining Premiership games, as well England's tour to South Africa," Hartley said in a statement.
"It has been recommended by specialists that I take a break this summer and while I find that decision hard to accept, it's important I listen to that advice."
England's three-test series in South Africa starts on June 9.