All in all, yes, Costa Rica is a very safe place, however, you should always use common sense and be mindful of your surroundings. For instance, avoid leaving your belongings and valuables unattended, don't go to the beach alone at night, and stay away from buying illegal drugs.