Time series prediction is an area of great interest to many people.Algorithms for time series prediction are widely used in many fields such as stock price, temperature, energy and weather forecast; in addtion, classical models as well as recurrent neural networks (RNNs) have been actively developed.After introducing the attention mechanism to neural network models, many new models with improved performance have been developed; in addition, models using attention twice have also recently been proposed, resulting in further performance improvements.In this paper, we consider time series prediction by introducing attention twice to an RNN model.The proposed model is a method that introduces H-attention and T-attention for output value and time step information to select useful information.We conduct experiments on stock price, temperature and energy data and confirm that the proposed model outperforms existing models.