Optimization of hepatitis B virus (HBV) testing and linkage to treatment may help curtail the HBV disease burden in Africa. Therefore, a panel of 10 experts from Africa convened, reviewed the literature and developed 10 recommendations for optimizing the diagnosis and treatment initiation for HBV infection in Africa. In resource-constrained African settings, a single hepatitis B surface antigen assay may be considered as the primary test for HBV diagnosis. Pre-treatment assessments should include tests for complete blood count, liver/renal function, hepatitis B e-antigen (HBeAg), anti-HBe, HBV DNA, co-infection, and disease severity assessment. Non-invasive alternatives to liver biopsy include aspartate aminotransferase-to-platelet ratio index, fibrosis score-4, and transient elastography. Antiviral therapy should be initiated in HBV-infected, cirrhotic individuals with detectable HBV DNA, regardless of alanine transaminase levels or HBeAg status. This consensus document may be a useful guide to clinicians for optimizing the diagnosis and treatment initiation for HBV infection in Africa.