Xianyang is relatively safe for solo female travelers. Like many places in China, Xianyang has implemented public policies aimed at ensuring safety. Petty crime such as pickpocketing can occur but is not overly common - and serious crimes are rare. However, being a foreigner can occasionally attract unwanted attention, both from locals and petty criminals. To ensure safety, it's advised to use common sense precautions such as avoiding isolated areas at night or while alone, not openly displaying valuables, and staying aware of one's surroundings. Please remember, cultural differences may sometimes make it feel like there's a lack of safety where there isn't, so it's important to understand and respect local customs.