Producing clear and haze‐free images is crucial for many computer vision systems and algorithms. Therefore, single image dehazing is a vital area of research in this field. In the past, prior‐based methods have shown promising results. However, these methods tend to produce unwanted artifacts in their outputs since their priors cannot account for all possible scenarios. Conversely, learning‐based methods have emerged as a more natural and effective approach. In this paper, we proposed an attention enhanced net for single image dehazing, which incorporates a channel attention branch and a spatial attention branch to enable the network to focus on the most informative parts of the high-dimensional feature map, thereby improving the performance of the subsequent layers in our neural network.