A police officer was struck in the face at an out of control 17th birthday party in Maddington on Friday night.

Around 200 intoxicated teenagers were at the Vanda Place gathering where rocks and bricks were thrown at police officers when they attempted to move the crowd from the area just after 9pm.

A police officer was struck in the face. Credit:Paul Rovere

A WA police spokeswoman said youths were being charged an entry fee to the gathering and a number of juveniles were taken into custody.

"...a number of young juveniles were taken into custody in order to find responsible adults for them," she said.