Martinez is generally a safe city. Like any place, there are certain areas and times of day that can be riskier, however the overall crime rate in Martinez is lower than the national average. People are friendly and are generally used to seeing tourists. Run-of-the-mill precautions that apply everywhere would be sufficient here. Walking alone at night should be avoided in any city, and the same goes for Martinez. But on the whole you can expect to feel safe, especially in the city center and during the day.