The integration of cognitive radio (CR) in Internet of Things (IoT) is an effective step into the smart technology world. The capability of CR can effectively solve spectrum-related issues for IoT applications, but this association is still a big challenge that has led to a new research dimension of CR-based IoT. To this extend, in this paper the authors propose a novel distributed spectrum management approach based on mobile edge computing (MEC) technology in cooperative environment that enables CRIoT devices to share the unutilized spectrum efficiently. The simulation results show that the proposed solution achieves good performance in terms of spectrum access/sharing and maintains a balance energy consumption of CRIoT users within lower latency.