Beihai is generally a safe city for solo female travelers. It's a cosmopolitan city with low crime rates and locals are often friendly and willing to help. Public transportation is safe and reliable, including taxis, buses, and the subway. As with anywhere, it's advised to use common sense and take basic precautions - such as avoiding poorly lit, isolated areas at night, and keeping personal belongings secured.