Three German men accused of raping an 18-year-old German woman while on holiday have arrived at a Spanish court this morning.

The group, who were staying in Cala Ratjada, Mallorca, were arrested at the island's Palma airport on Thursday after trying to separately sneak through border security and board a flight back home.

A fourth member of the group was also arrested by the Guardia Civil but later released.

Two of the men reportedly raped the woman while at least one other filmed the attack on his mobile phone, the Majorca Daily Bulletin reports.

Three German men that are accused of raping an 18-year-old German girl this morning have been pictured arriving at court in Mallorca

They were on holiday on the island when they met the woman. Two of the men are said to have raped the woman while at least one other filmed the attack. (Pictured: One of the men arrives at court)

The three men have been pictured arriving at court. The first wore blue jeans and a grey t-shirt, while the second wore tracksuit trousers and a yellow jumper, and the third had on beige chinos and a blue shirt.

The Guardia Civil said in a statement that each has given a statement but they still have at least 10 other witnesses to question.

The victim was taken to hospital for a medical examination before police made the arrests.

After a conversation with the men the woman accompanied them back to the hotel they were staying in, Diario de Mallorca reports.