Gayle confirmed his decision to have the operation after playing for the Jamaica Tallawahs against the Trinidad & Tobago Red Steel in the Caribbean Premier League on Thursday.
The 35-year-old had issues with his back during the World Cup, missing their clash with the United Arab Emirates and needing an injection to play in their quarter-final defeat at the hands of co-hosts New Zealand.
He said: “I have a charity game on the 2nd of August, but after that I will be out of cricket for two to three months. I am going to do a surgery on my back.
“So I need some time for recovery. Maybe December, before I actually get back in cricket as well. You have got to wish me luck with that surgery and then I will be back strong. Who knows, we will see what happens.”
The surgery rules him out of West Indies’ Tri-Series against Pakistan and Zimbabwe, a schedule for which has yet to be confirmed.
Gayle’s next cricket could come just before Christmas with the Melbourne Renegades in Australia’s Big Bash League.