The present invention provides compositions comprising a prostacyclin or prostacyclin analog, or a pharmaceutically acceptable salt thereof for use in preventing or treating cystic fibrosis. The invention also provides the use of a kit comprising a prostacyclin or prostacyclin analog for treating or preventing a condition associated with cystic fibrosis in a subject.