A new robust adaptive controller is developed for the control of the hepatitis B virus (HBV) infection inside the body. The non-linear HBV model has three state variables: uninfected cells, infected cells and free viruses. A control law is designed for the antiviral therapy such that the volume of infected cells and the volume of free viruses are decreased to their desired values which are zero. One control input represents the efficiency of drug therapy in inhibiting viral production and the other control input represents the efficiency of drug therapy in blocking new infection. The proposed controller ensures the stability and robust performance in the presence of parametric and non-parametric uncertainties (and/or bounded disturbances). The global stability and tracking convergence of the process are investigated by employing the Lyapunov theorem. The performance of the proposed controller is evaluated using simulations by considering different levels of uncertainties. Based on the obtained results, the proposed strategy can achieve its desired objectives with different cases of uncertainties.