The epidemiology of hepatitis B virus (HBV) and hepatitis C virus (HCV) has been discussed in detail from different aspects around the world. Current epidemiological data has critical importance in the planning and carrying out of public health policies for the prevention of transmission and spread of these infections, and the treatment of chronic infections, and to reduce the burden and mortality associated with complications such as cirrhosis and liver cancer by national health authorities and international health institutions, especially the World Health Organization. Elimination of a social health problem is possible by first raising awareness, then determining the dimensions of the problem, and planning and implementing interventions for a solution. Somalia was in the position of a region where access to diagnosis and treatment for many life-threatening diseases was difficult, aside from the monitoring of public health criteria due to the unstable situations that has continued for more than 40 years. Until recently, basic health parameters and epidemiological predictions in Somalia were monitored through estimates based on data from neighboring countries or on data obtained from small groups from Somalia immigrants settled different parts of the world. However, this situation is changing rapidly. A tertiary education and research hospital established in the capital, Mogadishu, with the coordination of the Türkiye and Somalia governments, and which has become the largest health center in the country today; contributes to understanding the extent of the serious health problems faced by the country by pioneering specialized training and scientific studies, in addition to providing health care. Electronic health records have been kept regularly since 2015 in this hospital, where hundreds of thousands of patients receive treatment or undergo health checks every year and it has been the source of numerous retrospective epidemiological studies some of which have exceeded 100 thousand cases, in different age groups and sub-populations. These studies include human immunodeficiency virus (HIV) prevalence and complications, HCV prevalence and genotype distribution, prevalence and epidemiology of parasitic infections, incidence of tuberculosis and related complications, cancer incidence and distribution, causes of blindness, thyroid diseases, antibiotic resistance profiles, and the epidemiology of various organ-specific diseases. Dozens of studies using the hospital records were included in the scientific literature between 2020 and 2023. In this study, a four-year period between November 2015 and November 2019, HBV serological test results of more than 100,000 different patients are presented. HBsAg and anti-HBs seropositivity for all age groups was found to be 8.1% (9,405/115,946) and 32.7% (25,988/79,410), respectively. When the anti-HCV test results of HBsAg positive patients were examined, the rate of HCV co-infections was found to be 0.9% (82/9,405). HBsAg and anti-HBs seropositivity were significantly higher in males than females (p<0.001). HBV, HCV, and co-infection incidence tended to decrease. Conversely, vaccination rates (especially in children under one year of age) tended to increase. While the comprehensive data presented in this study provide us with important and new information about the prevalence and co-infection rates of viral hepatitis in the country, many topics including HBV genotypes, hepatitis D frequency, access to treatment rates, complication rates, and HBV vaccination rates are still waiting to be researched in Somalia. In the region where it is not possible to carry out field studies, epidemiological data provided by electronic health records have become a country's window to the world.