We report an experimental demonstration of the superprism effect in a photonic crystal slab at terahertz frequencies. For a 10% frequency variation around 0.28 THz, the refraction angle at the output facet of a wedge-shaped photonic crystal varies by about 15 degrees. A comparison with the predictions of a band structure calculation demonstrates that a three-dimensional treatment, accurately modeling the finite slab thickness and the metallic boundary conditions, is required for even a qualitative agreement with the experimental observations. (c) 2007 Optical Society of America.