In this paper, we derive the Laplace transforms of occupation times of intervals until last passage times for spectrally negative Lévy processes. Motivated by [2], the last times before an independent exponential variable are investigated here. By applying the dual argument, explicit formulas are obtained in terms of analytical identities first introduced by Loeffen et al. [13].