Recently, the autoencoder (AE) based method plays a critical role in the hyperspectral anomaly detection domain. However, due to the strong generalised capacity of AE, the abnormal samples are usually reconstructed well along with the normal background samples. Thus, in order to separate anomalies from the background by calculating reconstruction errors, it can be greatly beneficial to reduce the AE capability for abnormal sample reconstruction while maintaining the background reconstruction performance. A memory‐augmented autoencoder for hyperspectral anomaly detection (MAENet) is proposed to address this challenging problem. Specifically, the proposed MAENet mainly consists of an encoder, a memory module, and a decoder. First, the encoder transforms the original hyperspectral data into the low‐dimensional latent representation. Then, the latent representation is utilised to retrieve the most relevant matrix items in the memory matrix, and the retrieved matrix items will be used to replace the latent representation from the encoder. Finally, the decoder is used to reconstruct the input hyperspectral data using the retrieved memory items. With this strategy, the background can still be reconstructed well while the abnormal samples cannot. Experiments conducted on five real hyperspectral anomaly data sets demonstrate the superiority of the proposed method.