Madonna said she is on the "road to recovery" as she issued a thank you message for the "positive energy, prayers and words of healing and encouragement".
The singer, 64, was forced to postpone several upcoming tour dates after spending several days in intensive care last month. The US pop superstar developed a "serious bacterial infection", her management said in a statement.
In her first Instagram post since the news broke, she wrote: "Thank you for your positive energy, Prayers and words of healing and encouragement. I have felt your love. I'm on the road to recovery and incredibly grateful for all the blessings in my life.