The energy consumption is as important in all the domains as difficult the prediction of the consumption is. The models of global energy consumption are most often nonlinear. Therefore the neural networks offer an invaluable assistance for this field. This paper presents a model for predicting the energy consumption in a building with the neural network. The application is designed in Matlab.