A search is presented for physics beyond the standard model, based on measurements of dijet angular distributions in proton–proton collisions at s√=13TeV. The data collected with the CMS detector at the LHC correspond to an integrated luminosity of 35.9fb−1. The observed distributions, corrected to particle level, are found to be in agreement with predictions from perturbative quantum chromodynamics that include electroweak corrections. Constraints are placed on models containing quark contact interactions, extra spatial dimensions, quantum black holes, or dark matter, using the detector-level distributions. In a benchmark model where only left-handed quarks participate, contact interactions are excluded at the 95% confidence level up to a scale of 12.8 or 17.5TeV, for destructive or constructive interference, respectively. The most stringent lower limits to date are set on the ultraviolet cutoff in the Arkani–Hamed–Dimopoulos–Dvali model of extra dimensions. In the Giudice–Rattazzi–Wells convention, the cutoff scale is excluded up to 10.1TeV. The production of quantum black holes is excluded for masses below 5.9 and 8.2TeV, depending on the model. ... mehrFor the first time, lower limits between 2.0 and 4.6TeVare set on the mass of a dark matter mediator for (axial-)vector mediators, for the universal quark coupling gq=1.0.