Drugs were found in one in four cars inspected by police headed to an electronic music festival in the Yarra Valley over the weekend.

Two people were taken to hospital after suffering suspected overdoses at the three-day Wild Horses festival, while police processed more than 60 people for drug-related offences.

The Wild Horses music festival in Marysville is restricted to 1000 attendees. Credit:Wild Horses website

About 1000 revellers attended the event, which took place between Friday and Sunday in Marysville, about 100 kilometres north-east of Melbourne.

The two suspected overdoses occurred on Saturday and Sunday morning.