Infections caused by hepatitis B, C and HIV viruses represent a serious health problem. The inmate population represents a reservoir with high prevalence of these kind of infections. The completion of a secondary prevention through early detection of infections in early stages, and tertiary prevention by treatment of diagnosed cases, constitutes one of the pillars of the approach to these diseases. This strategy is even more valuable in the inmate population because it can help eliminate a source of spread of these diseases in addition to relieving the burden of disease in this population. In this regard, one of the mandates of the recently adopted National Strategy Plan for the Hepatitis C in Spain emphasizes these strategies.