Objective: Viral hepatitis, particularly hepatitis B virus and hepatitis C virus, is the leading cause of global liver-related morbidity and mortality. Concomitant infections of hepatitis B virus, hepatitis C virus, and tuberculosis are risks of hepatotoxicity and death due to antituberculosis therapy. Hepatitis and human immunodeficiency virus coinfection poses challenges in treating hepatotoxic patients and leads to mortality during antituberculosis treatment. Thus, this study aimed to determine the prevalence of hepatitis B virus and hepatitis C virus infections, and associated factors among human immunodeficiency virus-positive and human immunodeficiency virus-negative tuberculosis patients attending public health facilities, Northeast Ethiopia. Methods: A comparative cross-sectional study was conducted among 229 tuberculosis patients from January 1 to April 30, 2021 in public health facilities’ tuberculosis treatment centers. Study participants were selected using a consecutive sampling technique. Data on sociodemographic and other risk factors were collected using an interviewer-based pretested questionnaire by trained data collectors. Anti-hepatitis C virus and hepatitis B surface antigen were determined in serum using enzyme-linked immunosorbent assay. Data were entered and analyzed using SPSS version 22. Logistic regression analysis was computed, and then variables with a p value <0.05 were considered as statistically significant. Result: The overall hepatitis virus infection among human immunodeficiency virus-positive and human immunodeficiency virus-negative tuberculosis patients was 14.03% and 8.14%, respectively. The prevalence of hepatitis B virus infection in human immunodeficiency virus positives and human immunodeficiency virus negatives was 10.5% and 6.4% and hepatitis C virus infection in human immunodeficiency virus positives and human immunodeficiency virus negatives was 3.5% and 1.75%, respectively. Hepatitis B virus and hepatitis C virus coinfections were not observed. Older age, history of problematic alcohol use, history of blood transfusion, ear–noise piercing, and history of multiple heterosexual partners were predictors for the hepatitis virus infection. Conclusion: Hepatitis virus infection increases morbidity and mortality of tuberculosis patients. Therefore, screening tuberculosis patients for hepatitis virus infection is necessary to reduce the risk of antituberculosis complications.