While Barcelona is mostly safe, some areas can be less so at night. It's always a good idea to research and ask locals.