Yes, a medicated anti-dandruff shampoo with ketoconazole and ciclopirox is good for folliculitis. For best results, use a shampoo specially designed to treat folliculitis.