Many studies in medicine involve conditions whereby subjects make transitions among a set of defined states over time. In such situations the durations of sojourns in specific states is frequently of interest. This article considers the modelling and analysis of sojourn times, beginning with semi-Markov models in which the durations of different sojourns are independent, and then considering extended models incorporating chronological time effects and random effects. Methodologic challenges for inference are discussed, and examples involving a relapse-remitting process and recurrent events are considered.