A police officer was allegedly assaulted at an out-of-control party in the Pilbara town of Wickham, part of the City of Karratha, on Thursday.

Police said officers responded to a noise complaint about 10.30pm on at a home on Spencer Street, where a birthday party was being held.

On arrival, the officers found 15 adults and told them to stop the noise but the hosts failed to heed the warning.

Police said the officers were confronted with a "heavily intoxicated and aggressive" group, "some armed with bats and lumps of wood".

It's alleged a 50-year-old woman who lives at the house assaulted an officer, "attempting to punch her and taking her to ground causing bruising and soreness to her elbow, shoulder and neck requiring medical treatment."