Midigama is generally considered safe for solo female travelers. The locals are known to be friendly and helpful, and crime rates are relatively low. Since it's a popular surfing spot, there's usually a number of international travelers around, which can also add to the sense of security. However, as with any travel, it is important to keep personal belongings secure and be aware of your surroundings, especially at night.