SummaryNew cognitive radio (CR) systems require high throughput and bandwidth. Hence, CR users need to detect wide frequency bands of the radio spectrum to exploit unused frequency channels. This paper proposes a new wideband spectrum sensing (WBSS) detection approach based on machine learning (ML) for scanning subchannels. The originality of the proposed approach is to detect spectrum opportunities using a narrowband spectrum sensing (NBSS) method‐based support vector machine (SVM) classification and two features: energy and goodness of fit (GoF). The simulation results show that the proposed WBSS approach‐based ML presents a higher probability of detection than the WBSS approach‐based conventional detectors, even at low signal‐to‐noise ratio (SNR). Finally, the software defined radio (SDR) implementation validates the proposed WBSS approach for real detection scenarios.