French Open champion Halep was injured while training at last week's Wuhan Open, where she lost in the second round to Slovakia's Dominika Cibulkova.
Romanian Halep aggravated the problem during her China Open first-round match on Sunday against Ons Jabeur and was forced to retire after losing the first set.
Roland-Garros
Serena has 'excellent' chance of French Open glory - Wilander, plus Evert reaction
04/06/2021 AT 16:37
"I had an MRI on my back and found out I have a disc hernia," Halep said on Twitter.
"I will discuss with doctors in the next few days but hope to be back soon and will keep you updated."
Halep, who won her maiden Grand Slam trophy in Paris this year, became the first player to qualify for the season-ending WTA Finals in Singapore from October 21-28.
Roland-Garros
‘Fills me with sadness’ - Halep withdraws from French Open
21/05/2021 AT 10:14
ATP Rome
Injuries, upsets and champions rising - What did we learn from Italian Open?
16/05/2021 AT 23:14