Jessie J is preparing to take a musical hiatus after undergoing surgery.

The pop superstar took to social media on Tuesday 23 June to announce that she would be stepping away from the microphone to aid her recovery from a mystery operation.

Sharing a snap of herself in a hospital bed, she wrote: "I don't often share personal stuff (especially about my health) anymore, I just get on with it.

"But I wanted to share with you before someone else might and it gets twisted and exaggerated into something different or worse."

The 27-year-old songstress, who was diagnosed with Wolff-Parkinson-White syndrome, a heart condition that led to her suffering a stroke aged 18, went on to reassure fans that she was "OK" and vowed that she would be back.

"Just know I am OK," she continued. "I had an operation yesterday so need to rest. I won't be saying what for. It's personal. I just wanted to explain to my fans why I may go awol for a minute."

She signed off by sending out a "virtual hug and kiss out to anyone in pain or suffering at the moment.

A video posted by Jessie J (@isthatjessiej) on

"There is always someone worse off than us and in moments like this I pray for you all. Hospitals have been my secret second home my whole life and they never get nice to be in. But they can inspire a great song. Trying to see the positive in everything."

The Former Voice coach's hospital visit comes just months after she was forced to pulled out of an Australian tour on doctors' orders. Medics raised concerns that some of the higher pitched vocals would put an unhealthy the strain put on her heart.

Jessie J is still expected to go ahead with her summer gigs which include Wireless Festival and the Henley Festival.