A driver has been taken into custody after picking up a girl outside of her school in Warnbro.
The nine-year-old was walking to school around 8.45am on Friday when police say she was picked up in an unknown vehicle.
"A number of police resources were immediately deployed to the area to locate the child," a WA Police spokesperson said.
"The child was located outside a supermarket in Port Kennedy area a short time later."
A man in his 30s, believed to be the driver of the vehicle, is in custody and assisting police with inquiries.

Pop-up ice skating rink glides back into Mandurah for winter school holidays
Federal opposition leader Angus Taylor sits down with local business owners in Mandurah
Police search for missing man last seen leaving Rockingham Hospital
West Aussies urged to be on high alert after surge in winter house fires
New $3.4 million boardwalk to be constructed at Lake Clifton thrombolites
City of Mandurah rolls out new tactile bin lids, accessibility stickers to support residents with low vision
Driver dies in hospital after Australind crash
Welfare concerns for woman with dementia last seen in Cooloongup
Charges laid over fatal West Coolup crash
