Prevention of hepatitis B is possible by vaccinating people; vaccination is also recommended for people in risk groups, along with people with chronic liver diseases, and people with HIV, STDs and diabetes.
B hepatiidi ennetamiseks on võimalik inimesi vaktsineerida; eelkõige on soovitatakse vaktsineerida riskirühma kuuluvaid inimesi ning lisaks kroonilisi maksahaigusi põdevaid, HIV-nakkusega, sugulisel teel levivaid haigusi ja diabeeti põdevaid isikuid.