The extremely high sampling rate is a challenge for ultra-wideband (UWB) communication. In this paper, we study the compressed sensing (CS) based impulse radio UWB (IR-UWB) signal detection and propose an IR-UWB signal detection algorithm based on compressive sampling matching pursuit (CoSaMP). The proposed algorithm relies on the fact that UWB received signal is sparse in the time domain. The new algorithm can significantly reduce the sampling rate required by the detection and provides a better performance in case of the low signal-to-noise ratio when comparing with the existing matching pursuit (MP) based detection algorithm. Simulation results demonstrate the effectiveness of the proposed algorithm.