Mariah Carey has undergone weight-loss surgery after the superstar became self-conscious about her curves because of cruel online commenters, sources claim.

Page Six has exclusively learned that the diva underwent gastric sleeve surgery last month, performed by a top surgeon in Beverly Hills, Calif., after her weight reportedly skyrocketed.

The procedure involves removing part of the stomach so that the patient feels fuller more quickly. It can be done via a small incision, meaning recovery time is fast and scarring is minimal.

A source told us of Carey, “Mariah has always been proud of her curves, but this summer, as her Caesars Palace residency came to a close, and then she went on tour with Lionel Richie, she noticed it became harder to dance, and she was getting a lot more criticism online from body shamers.”

The source added that the superstar had been indulging in cocktails and dinners with her boyfriend Bryan Tanaka, and continued, “Mariah underwent the procedure about a month ago, and she is already seeing some good results, and she feels a lot better.”

Her rep Nicole Perna declined multiple requests for comment.

Carey previously lost 70 pounds after the birth of her twins in 2011.

She explained she did it with a strict diet and exercise plan, but added, “I never weighed myself. People will think I’m a liar but it’s true . . . I’m a big-boned girl, I’m tall, and so I always weigh more.”

Instead of stepping on the scale, she said, “I would tend to go, ‘Does this size dress fit me that I wore three years ago?’ . . . I would go by what it looked like, how I felt.”

On Saturday, we revealed that Carey had ended her relationship with manager Stella Bulochnikov.

They confirmed in a joint statement, “After working together for almost three years, Mariah Carey and Stella Bulochnikov have determined that it is in their mutual best interest to part ways on day-to-day management,” adding that they will remain partners on a number of upcoming music and film projects.

Former backup dancer Tanaka has taken over as the star’s day-to-day manager.

This article originally appeared on Page Six.