The best way to prevent catching leprosy is to avoid direct and prolonged contact with untreated patients (especially for young children). Other ways to reduce the risk of getting leprosy include practicing personal hygiene, and maintaining a healthy lifestyle through eating healthy food, having enough rest and exercise, and keeping a clean environment.
If someone becomes a close contact of an individual with leprosy, that person may be given an antibiotic called rifampicin, which has been shown to help prevent the development of leprosy.
While the BCG vaccine (which is primarily used against tuberculosis) may offer protection against leprosy, its efficacy is not consistent, making it not a cost-effective preventive measure.