In many areas agriculture is exposed to weather related risks. Weather derivatives that get more and more in the focus of interest can reduce these risks. In this study we develop a temperature based weather derivative and analyse how it can reduce the weather-related energy cost risk in greenhouse production. We base this study on a temperature index whose stochastic characteristics are analysed. Finally we simulate the heating demand for energy of a horticultural firm