Understanding collective behaviour is an important aspect of managing the pandemic response. Here the authors show in a large global study that participants that reported identifying more strongly with their nation reported greater engagement in public health behaviours and support for public health policies in the context of the pandemic.