Disclosed herein are formulations of imatinib or a phenylaminopyrimidine derivative compound for aerosolization and use of such formulations for inhaled aerosol administration of imatinib or a phenylaminopyrimidine derivative compound for the prevention or treatment of various fibrotic, carcinogenic, vascular and viral infectious diseases, including diseases associated with the lung, heart, kidney, liver, eye, central nervous system and surgical sites. In some embodiments, formulations and delivery options described herein allow for efficacious local delivery of imatinib or a phenylaminopyrimidine derivative compound or salt thereof.