Medical images are extremely valuable and sensitive data because of their significance in research, diagnosis, and treatment. However, the transmission of medical images over an unsecured network can lead to security issues such as modification, removal, copying, and unauthorized access. For this reason, the protection of medical information is of great importance. This paper proposes a novel reversible fragile digital watermarking method for tamper localization and authenticity and integrity protection in medical images. In the proposed method, the host image is firstly divided into 8×" role="presentation" >8 non-overlapped blocks. Then the image is transformed to the frequency domain by applying a Discrete Wavelet Transform, and the watermark information is embedded. Finally, the image is converted from the frequency domain to the spatial domain using an inverse Discrete Wavelet Transform. During this transformation, an intelligent optimization technique is used to correct the rounding errors and obtain the watermarked image with the highest level of imperceptibility. The experimental results demonstrate that the proposed method offers a watermarked image with high imperceptibility, extracts the host image lossless during the watermark extraction phase, and performs tamper localization with high precision.