A couple were caught on camera allegedly having sex in a toilet during a flight from the UK to a Spanish party island.

The shocking footage, which went viral, was taken on board an easyJet flight from Luton to Ibiza on September 8 as other passengers seemingly cheered the pair on.

In the 30-second clip, a staff member is seen standing outside the toilet and appears unsure of what to do, the Mirror reports.

READ MORE: Two Love Island legends 'sign up to spin-off series' as Maya Jama lands in Fiji for filming

Eventually he opens the door where the amorous couple can be momentarily viewed in a compromising position. The male involved then quickly slams the door shut.

Throughout the awkward moment, loud cheers erupt from the rest of the holidaymakers on the plane. At one point, a woman is heard shouting: ""Oh my f***ing god," before asking if any footage had been taken.

Her friend answered: "I got ar*e and everything." The video was shared online by Aney Stokes on X (formerly Twitter) and has since amassed more than 3.6 million views, reports The Daily Star.

The moment a couple were caught having sex on the flight
The moment a couple were caught having sex on the flight

One user said: "Dirty. P*ss and s*** particles everywhere in a confined space lol." while another quipped: "Bog standard weekend for me that." Another replied: "Go On Lad." While a fourth person added: "The fella walking down the aisle after putting in the best 15 second performance of his life," a fourth joked.

EasyJet confirmed the incident took place onboard one of their flights and added that the police were also informed. A spokesperson for the airline said: "We can confirm that this flight from Luton to Ibiza on 8 September was met by police on arrival due to the behaviour of two passengers onboard."

At the time of writing it is not known if any arrests were made. Bedfordshire Police was contacted for comment.