For people living in southwestern parts of the United States, there is no guaranteed way to prevent coccidioidomycosis from occurring, given that C. immitis is found in dirt and soil. However, HIV-positive people with compromised immune systems leaving in these areas should avoid activites involving prolonged exposure to dirt and soil, such as working on excavation sites or lingering in unfiltered areas during a dust storm.
Taking antifungal medications on a regular basis, in order to prevent coccidioidomycosis, is not generally recommended.
Coccidioidomycosis is more likely to occur in HIV-positive people with compromised immune systems. Thus, one way to help prevent it from occurring is to keep the immune system healthy, such as by using anti-HIV drugs, reducing stress, eating right, and getting plenty of rest.