Deregulation of the Spanish electricity market in 1998 and the possible listing of electricity or weather derivative contracts have encouraged the study of the relationship between electricity demand and weather in Spain. In this paper, a transfer function intervention model is developed for forecasting daily electricity load from cooling and heating degree-days. The influence of weather and seasonality is proved, and is significant even when the autoregressive effects and the dynamic specification of the temperature are taken into account. The estimated general model shows a high predictive power. The results and information presented in this paper could be of interest for current users and potential traders in the deregulated Spanish electricity market. (C) 2002 Elsevier Science B.V. All rights reserved.