We develop a switching regime version of the intensity model for credit risk pricing. The default event is specified by a Poisson process whose intensity is modeled by a switching Lévy process. This model presents several interesting features. Firstly, as Lévy processes encompass numerous jump processes, our model can duplicate sudden jumps observed in credit spreads. Also, due to the presence of jumps, probabilities do not vanish at very short maturities, contrary to models based on Brownian dynamics. Furthermore, as parameters of the Lévy process are modulated by a hidden Markov process, our approach is well suited to model changes of volatility trends in credit spreads, related to modifications of unobservable economic factors.