Lena Dunham was rushed to hospital just hours after attending the Met Gala on Monday night.

The Girls star had posed on the red carpet in her custom Elizabeth Kennedy dress at the annual event at the Metropolitan Museum of Art but reportedly had to make a quick exit due to an unspecified ''medical issue''.

According to the New York Post newspaper's Page Six column, the 30-year-old actress - who has openly spoken about her battle with endometriosis - was released shortly afterwards following a ''series of tests''.

Dunham hasn't commented on her hospitalisation, but she did share some photos from the glamorous event on her Instagram account in the early hours of Tuesday morning, including one which was captioned: ''Dramatic exits #MetGala".

Last month, she opened up about her fifth surgery she underwent in order to relieve the chronic pain she experienced as a result of her battle with endometriosis.

"My surgery went off without a hitch. When I emerged, cotton-mouthed, Randy told me something I hadn’t expected to hear, maybe ever: There was no endometriosis left," she wrote in her newsletter Lenny Letter.

"Between my surgeries and hormonal intervention, I was disease-free. That doesn’t mean it can never return, but for now, once my sutures have been removed and my bruises have changed from blue to yellow to green to gone, I will be healthy."

Last year, Dunham slammed the Met gala as "the Metropolitan Museum of Getting Rejected by Athletes."