In the digital era, identity documents such as Identity Cards and Family Cards play a crucial role in administration and public services. The process of scanning these documents often results in images with noise that can interfere with data accuracy and identification. This research aims to improve the quality of scanned images by using the median filtering method to reduce salt and pepper noise. Median Filtering was chosen for its ability to preserve edges and details in images, which is crucial for identity documents such as Identity Cards and Family Cards. In this study, the system developed to enhance scanned images was implemented and tested. Evaluation results show that the Median Filtering method is effective in removing noise without damaging the edges and fine details of the images. The evaluation indicates that this system is effective in producing images that meet the quality standards required for official administration and identification. This research is expected to contribute to the development of digital image enhancement technology for identity documents, thus improving accuracy and reliability in public services.