We give a definition of Cox rings and Cox sheaves for varieties over nonclosed fields that is compatible with torsors under quasitori, including universal torsors. We study their existence and classification, we make the relation to torsors precise, and we present arithmetic applications.