The present disclosure provides pharmaceutical compositions of niclosamide that may be administered either orally or by inhalation. These compositions may allow the achievement of a therapeutically effective dose of niclosamide to the lungs or the gastrointestinal tract. These compositions may be used to treat one or more diseases or disorders such as a viral infection or cancer.