Generally, Panama City is considered safe for tourists, as long as you keep your stay to tourist areas and well-policed areas. However, like any major city, it's advisable to take standard precautions, especially at night.