A text message was sent out to Kalgoorlie residents just before 7.20pm warning of an incident in Boulder, in the town’s south.

It described an incident with an armed offender and told residents to lock themselves indoors and report any suspicious activity.

“WA Police are dealing with an incident involving an armed offender in Boulder. There is a risk associated with an armed offender,” it read.

WA's biggest courts and crime stories to your inbox

Sign-up to our weekly newsletter for free

“Please stay inside in a safe and secure area; close and lock all doors and windows.

“Report any suspicious activity to Police by calling 000.

“Should you need to go outside please take extreme caution.”

It came barely an hour after a seemingly separate public warning from Goldfields-Esperance police.

Authorities gave a public warning on Facebook at 6.16pm, warning officers were responding to an incident on Egan Street, which occurred on Tuesday afternoon.

The post asked the community to stay away from the area and await further advice.

Mile Street, Hannan Street, Throssell Street and Egan Street remained closed.

Get the latest news from thewest.com.au in your inbox.