Antifungal medications can be safe for shrimp when used correctly and in the recommended dosage. However, it’s important to note that some antifungal medications can be harmful to shrimp and other aquatic animals, especially if used improperly or in excessive amounts. Before using any antifungal medication in an aquarium with shrimp, it’s important to read the instructions carefully and consult with a veterinarian or aquatic specialist to ensure that the medication is safe for your shrimp and won’t harm the other inhabitants of the aquarium.