More than 50 partygoers at a Sydney music festival have been arrested after a massive police drugs operation.

Police targeted the Global Gathering festival at Sydney's Moore Park yesterday, arresting 52 people, 51 for drug offences.

Police patrolled the festival between midday and 10pm. They allegedly found a smorgasbord of drugs, including cannabis, ecstasy, amphetamines and LSD.