Accurate electricity price prediction is key to the orderly operation of the electricity market. However, the uncertain, stochastic and fluctuant characteristics of electricity pricees make prediction difficult. With the aim of solving this issue, this investigation proposed a multi-stage intelligent model integrating the Beveridge-Nelson decomposition (B-N-D) model, the least square support vector machine (LSSVM), and a nature-inspired optimization model named the whale optimization algorithm (WOA). Firstly, the B-N-D model was utilized to decompose the hourly electricity price time series into determinacy component, periodic trend, and stochastic item. Secondly, the WOA-LSSVM model was proposed to forecast the future hourly data of three components respectively, of which the optimal parameters of LSSVM were determined by using WOA. Finally, the future hourly electricity price data were computed by multiplying the forecasted data of those terms. To verify the validity of the proposed electricity price prediction model in this paper, five comparison approaches based on the B-N-D approach were selected, which are auto-regressive integrated moving average (ARIMA), single LSSVM, LSSVM optimized by the fruit-fly optimization algorithm (FOA), LSSVM optimized by particle swarm optimization (PSO) models, and WOA-LSSVM without B-N-D. By comparatively analyzing the error criteria values of the above models through testing on the objective data of the Pennsylvania-New Jersey-Maryland (PJM) electricity market collected from 11 , we conclude that the constructed intelligent model in this paper can greatly enhance the prediction precision of electricity prices.