Singer Selena Gomez was all smiles in photos she shared of her getaway to Cabo San Lucas, Mexico, for a friend’s bachelorette party.

Gomez, 26, shared the slideshow with her fans on her Instagram on Monday. The singer captioned the photos saying her best friend was getting married “so we celebrated her!”

SELENA GOMEZ RETURNS TO SOCIAL MEDIA, OPENS UP ABOUT 'CHALLENGES' IN 2018

The “Hands to Myself” singer was clad in a white bikini as she posed on the beach with her friends and the bachelorette, Courtney Barry. The bride-to-be commented on the post.

“I love you,” Barry wrote.

Barry also shared photos of the vacation. In one snap, Gomez and the bachelorette are riding horses on the beach.

Gomez recently returned to social media after telling her fans in September that she would be taking a break. Late last year, the former Disney star was hospitalized and entered a treatment facility in October for anxiety and depression, E! News reported.

The singer returned to social media in January with a post wishing her fans a happy new year.

CLICK HERE TO GET THE FOX NEWS APP

"Last year was definitely a year of self-reflection, challenges and growth," she wrote. "It’s always those challenges which show you who you are and what you are capable of overcoming. Trust me, it’s not easy, but I am proud of the person I am becoming and look forward to the year ahead. Love you all."

Fox News’ Mariah Haas contributed to this report.